Workaround for ICS 4.0.4 GT-P5113 CWM Recovery image on Stock ROM - Galaxy Tab 2 10.1" Android Development

As everyone knows Stock ROM ICS 4.0.4 prevents a custom recovery from persisting after a reboot, it just returns to stock, ive experienced this using ODIN, however I think i found a workaround using mobile odin pro, the basic version should work too....
what i did was flash the cwm recovery using mobile odin pro rather than ODIN on the computer, and cwm didnt remove itself after a reboot, i did however update to the newest 4.0.4 Stock ICS the UEBLH3 version recently, not sure if this works in the prior versions but its worth testing

disable reboot , and rreboot to recovery directly fom download-mode !
that was problem on 5100 ! hope it helps

I do know that sometimes there's a script under /system/etc called install-recovery.sh that runs and reflashes stock recovery before Android is fully loaded. If you delete this or just make it 0 bytes, it won't run and volia, no more stock ROM eating your custom recovery!
That's what was on my Iconia Tab - it kept eating my TWRP2 that I installed on it.

Related

custom rom doesnt flash on samsung vibrant

i have samsung vibrant with 2.2 stock rom updated via kies. after update i rooted it with superoneclick. and i got superuser app on. then i downloaded rom manager and installed clockwork recovery, in rom manager it says what version is installed and everything but everytime i go to recover it shows me stock samsung recovery mod. so clockwork isn't actually installed. and when i try to flash custom rom via rom manager it goes to samsung recovery mod does somethings and just reboots to normal rom that im running. can anyone tell me what's missing or what am i doing wrong?
Same here
I'm having the same issue. I have SU in apps and Rom Manager has SU permissions. Thanks in advance for any helpful advice.
found a fix. lemme know if you need any help. the step with 3e whatever was weird but just follow the link and download. after doing the shell thing in superuser (don't reboot) run the 3e thing you just downloaded... should be a dos type user interface.
http://forum.xda-developers.com/showthread.php?t=925400
Can't go back to stock Samsung Vibrant ROM!!
“I'm in a similar situation... I've been trying to go back to stock ROM by flashing several new stock kernel images, but i need to find a fool proof way to flash back to stock. The newer stock kernel images are not allowing me to mount the necessary files - I'm not able to find the older stock kernel images without any of the mounting issues.
"E: Can't mount/dev/block/ST110
(Invalid Argument)"
"E: copy_dbdata_media: Can't mount DBDATA: copy default media content failed."
Any one has an answer/solution to this? THANKS”
Did you try installing busybox.. then try installing amon-ra's recovery in rom manager or at boot screen.. the screen where you can select fastboot or recovery and stuff
Sent from my PC36100 using XDA Premium App
I have been using Odin 1.7 to flash the stock images. None of the newer stock kernel images have been working for us, hitting us with mounting issues. Now we cannot even get past the standard bootloader and do not have the luxury of a custom recovery. We need an old but reliable stock kernel without mounting issues so we can at least get past the bootloader.

[Q] How to update GTP3113??

I am on stock(P3113 rooted+cwm)...I am getting an OTA for 4.0.4 but for that i'll need to go back to stock recovery...Should i :
1) Flash stock rom n then take the OTA
2) Flash 4.0.4 through odin [ http://samsung-updates.com/device/?id=GT-P3113 ]
3) Flash stock recovery n then take the ODA.
I would like to go with option 3 cuz it will require the min. amount of downloading....But for that i need stock recovery...So what should i do n is there any other way??
On my 5113 the only thing that worked for me was to flash with Kies and then reroot. It was well worth it though.
There doesn't seem to be an easy way to get just the recovery and I think (not sure) that only Odin can unlock that partition anyway. There are some stock images in Odin format and I have been meaning to pick through them to see if I can find the stock recovery image, but since no one has posted such, I am guessing you can't.
wd5gnr said:
On my 5113 the only thing that worked for me was to flash with Kies and then reroot. It was well worth it though.
There doesn't seem to be an easy way to get just the recovery and I think (not sure) that only Odin can unlock that partition anyway. There are some stock images in Odin format and I have been meaning to pick through them to see if I can find the stock recovery image, but since no one has posted such, I am guessing you can't.
Click to expand...
Click to collapse
But the problem is that i can't update vie kies...It keeps on disconnecting, so OTA is my only option n for that i need to get rid of CWM.
I am curious too, I rooted using this method, and have CWM installed.
http://forum.xda-developers.com/showpost.php?p=25480291&postcount=137
I guess I can just flash the stock image and loose root, upgrade, then reroot. Hopefully, someone will drop a stock, rooted and deodexed 4..0.4 rom for the P3113.
Also, I have not used Kies before, so I guess I don't even know how to flash the stock image for this tablet. Can anyone help with that?
fillyo said:
I am curious too, I rooted using this method, and have CWM installed.
http://forum.xda-developers.com/showpost.php?p=25480291&postcount=137
I guess I can just flash the stock image and loose root, upgrade, then reroot. Hopefully, someone will drop a stock, rooted and deodexed 4..0.4 rom for the P3113.
Also, I have not used Kies before, so I guess I don't even know how to flash the stock image for this tablet. Can anyone help with that?
Click to expand...
Click to collapse
To flash stock you'll have to use the stock rom n flash using odin,,, But i was hoping that there is way around it...
I've updated today my rooted P3113 to 4.0.4
This is the only way to upgrade rooted P3113 (with CWM), because the samsung official upgrade scenario doesnt works on CWM
1. Backup with Titanium
2. Wipe/factory reset with CWM
3. Download and unzip stock 4.0.4 firmware from here, then flash it with odin (PDA button)
4. Configure your device (now it's clean stock apps and stock recovery)
5. Restore your apps with Titanium
6. Install CWM and root - If you wish so (just as you installed on 4.0.3)
barmalei7 said:
I've updated today my rooted P3113 to 4.0.4
This is the only way to upgrade rooted P3113 (with CWM), because the samsung official upgrade scenario doesnt works on CWM
Click to expand...
Click to collapse
I would imagine this is just like the 5113. If you use Keis instead of the OTA update it works. Apparently Keis uses the USB instead of the recovery. However, a lot of people are having trouble getting Keis to stay connected. But I used it with no problems. Just reflashed CWM and rerooted as you say, but did not have to reflash to stock.
Just updated manually from 4.0.3 + Rooted + CWM 5.5.0.4 (GT3113)
Sorry too young to post links
Went very simple (10 minutes)
Returned to Stock Recovery: h://theunlockr.com/2012/06/02/get-samsung-galaxy-tab-2-7-gtp3113-back-stock
REBOOTED
Applied Update (not 4.0.4, not sure what it was)
Downloaded 4.0.4 from Samsung directly: h://samsung-updates.com/device/?id=GT-P3113
Unzipped to Desktop
Updated to 4.0.4 using ODIN (PDA)
REBOOTED
System applied update on startup
Asked me to select language, date, Goodle backup, etc
It loaded all existing Apps, Wi-Fi, etc automatically no TiRestore needed
Up and running, seems faster- smoother, new keyboard (old keyboard was good, this one is as good better for big fingers?)
:laugh:
Back to CWM & Root
h://forum.xda-developers.com/showthread.php?t=1722304
I downloaded the file from the Samsung site, launched Odin and updated. It kept all my apps and settings since I did not wipe. Flashed recovery, then rerooted, did not take long. If it gets yucky, I will do a factory reset.
Very helpful!
Very helpful guide.
On a semi-related note, I really like 4.0.4 it's certainly an improvement over the last and seems to have cured the stupid interface lag.
Ok flashed mine using mobile odin...no need to wipe data..
JacRyan said:
Just updated manually from 4.0.3 + Rooted + CWM 5.5.0.4 (GT3113)
Sorry too young to post links
Went very simple (10 minutes)
Returned to Stock Recovery: h://theunlockr.com/2012/06/02/get-samsung-galaxy-tab-2-7-gtp3113-back-stock
REBOOTED
Applied Update (not 4.0.4, not sure what it was)
Downloaded 4.0.4 from Samsung directly: h://samsung-updates.com/device/?id=GT-P3113
Unzipped to Desktop
Updated to 4.0.4 using ODIN (PDA)
REBOOTED
System applied update on startup
Asked me to select language, date, Goodle backup, etc
It loaded all existing Apps, Wi-Fi, etc automatically no TiRestore needed
Up and running, seems faster- smoother, new keyboard (old keyboard was good, this one is as good better for big fingers?)
:laugh:
Back to CWM & Root
h://forum.xda-developers.com/showthread.php?t=1722304
Click to expand...
Click to collapse
Your steps are so easy. I wish I could follow you on this, but I can't figure out how to revert back to stock recovery only. The theunlockr.com link shows how to completely revert the entire firmware. How do you revert recovery ONLY?
Hasn't someone made a .zip file that can be flashed with CWM? Why is it different than flashing a 3rd party rom?

[Q] P6800 ROM Questions

Recently I hard-bricked my Tab whilst installing a Rom on it (Brick Bug). Now I have a replacement, and it's about time I replaced the HC with something else.
I plan to use the 'Singha ROM ICS P6800DXLP7' ROM and ' Dedraks' GT-P6800' kernel. I'm guessing installation for both is via CWM, but that is how I bricked my tab last time. How can I work around this as to not brick it again? Odin? Which do I install first? Any guidance would really be appreciated!
Thanks
Which cwm you using that cause it to brick?
Share some detail procedure...wipe on stock rom, custom rom, kernel...etc which end with brick?
For now I believe safe atm..
- From stock ICS
- Root with this method: http://forum.xda-developers.com/showthread.php?t=1849235
- Install cwm using Mobile Odin
- Boot to cwm recovery
- Flash custom rom and custom kernel
- Reboot recovery NOT reboot system.
- Full wipe and fix permission
- Reboot system to home screen
That what I always do
Here's what works for me
first, d/l CWM to SD card.
then power down.
reboot into download mode ,PC Odin is my install of choice for the roms...
then power down again after the new rom installs and re-boots
re-boot into recovery and choose install zip from SD and choose CWM (which is a temporary install)
dont wipe anything, just choose to install zip and then choose your new kernel.
After kernel (a safe one) installs, then re-boot system.
Ive never bricked this tab or my GN7000 Note
good luck
correct me if im wrong, but as long as you do not factory reset in stock ics recovery you are okay. Right?
Some Note GT 7000 guys reported that they bricked their phablets by copping large files (being on ICS). If this doesn't affect our P6800s, then you are not wrong.
I had installed LQ2 without wiping anything. But had many Screen Offs and Shut Downs, so I considered to risk the clean install.
Did it with Mobile Odin Pro, but first
Ensured that I already have CWM 6.0.0.1
Flashed Dedraks Kernel.
In Mobile Odin chosen "open file..." and then the particular md5 file,
BUT EXCLUDED:
1. Kernel
2. Recovery
Then I selected "wipe" and "clean", crossed my fingers and everything went OK.
Not quite everything, because I lost root, although I am pretty sure that I did not unselect "everroot'.
It was not a big issue. Installed again "root.zip" via CWM recovery.
Its about a week since then and I have nothing to complain.
...
Thanks for the responses guys.
Does this sound safe?:
Flash LQ2 via PC Odin
Root from universal recovery
Flash CWM 6.0.11 via PC Odin
Flash Dedraks Kernel via CWM
Then root again if needed.
Thanks
rumpypumpy said:
Thanks for the responses guys.
Does this sound safe?:
Flash LQ2 via PC Odin
Root from universal recovery
Flash CWM 6.0.11 via PC Odin
Flash Dedraks Kernel via CWM
Then root again if needed.
Thanks
Click to expand...
Click to collapse
Yeah, with these steps you should be safe.
Happy flashing

[Q] Backup stock recovery for Samsung Galaxy Tab 2 7.0 (US Wifi+IR) P3113

I have a Samsung Galaxy Tab 2 7.0 (US Wifi+IR) P3113 [ROM Build Number: IMM76D.P3113UEBLH2] which is still 100% stock. I plan on installing a custom rom, but first I want to make a complete backup of everything.
I know I need to use a custom recovery (I plan on using ClockworkMod) and flash the custom rom. I don't have any problems with that part.
I also have all of my data already backed up. I plan on doing a full factory reset before installing anything anyway.
My main issue is that I want to backup the original stock ROM and all other partitions/images before making any permanent changes.
Since the device doesn't support fastboot I can't just "fastboot boot cwm-recovery.img" to do a temporary boot to backup the stock rom and recovery. All the instructions I've seen indicate I must first flash a new recovery image then boot the device from that. This would cause me to not have a backup of the stock recovery image.
I didn't see any backup options in Heimdall or ODIN either. No luck with Check Fus either.
Is there a way to backup the stock recovery image without flashing anything to the device first?
I have looked at sammobile at the P3113 firmwares, but I can't be sure those apply to my version (US WiFi + *IR blaster*) or would have the stock recovery image. Samsung Kies doesn't seem to have any updates or downloadable firmware for my tablet (it still has the ROM it came with out of the box) that I could extract the stock recovery for my P3113 (US WiFi+IR) from either.
I'd like a backup of everything so I could revert to 100% stock if needed. I also want to be sure I have the original recovery image and not some other version from a "stock rom" downloaded from the Internet.
rbeede said:
I have a Samsung Galaxy Tab 2 7.0 (US Wifi+IR) P3113 [ROM Build Number: IMM76D.P3113UEBLH2] which is still 100% stock. I plan on installing a custom rom, but first I want to make a complete backup of everything.
I know I need to use a custom recovery (I plan on using ClockworkMod) and flash the custom rom. I don't have any problems with that part.
I also have all of my data already backed up. I plan on doing a full factory reset before installing anything anyway.
My main issue is that I want to backup the original stock ROM and all other partitions/images before making any permanent changes.
Since the device doesn't support fastboot I can't just "fastboot boot cwm-recovery.img" to do a temporary boot to backup the stock rom and recovery. All the instructions I've seen indicate I must first flash a new recovery image then boot the device from that. This would cause me to not have a backup of the stock recovery image.
I didn't see any backup options in Heimdall or ODIN either. No luck with Check Fus either.
Is there a way to backup the stock recovery image without flashing anything to the device first?
I have looked at sammobile at the P3113 firmwares, but I can't be sure those apply to my version (US WiFi + *IR blaster*) or would have the stock recovery image. Samsung Kies doesn't seem to have any updates or downloadable firmware for my tablet (it still has the ROM it came with out of the box) that I could extract the stock recovery for my P3113 (US WiFi+IR) from either.
I'd like a backup of everything so I could revert to 100% stock if needed. I also want to be sure I have the original recovery image and not some other version from a "stock rom" downloaded from the Internet.
Click to expand...
Click to collapse
Excellent way of articulating the issues and questions rbeede.
This is exactly what I have been trying to do too. I have searched the forums and google and haven't been able to figure out how to do this either. I was actually fixing to post the same questions myself and thought I should do one last search before I did, which lead me to this thread
I have the same tab and build (P3113 - ROM Build Number: IMM76D.P3113UEBLH2). As an android newbie I have been reading/researching for hours a day since Christmas and there is still a lot I don't understand. This is the first step I would like to take though and I intend on doing a full factory reset before installing anything too.
Can anyone help us with this please?
A. Want to backup the original stock ROM and all other partitions/images before making any permanent changes. Would like a backup of everything so I can revert to 100% stock.
B. For the same reasons as the OP, I also want to be sure I have the original recovery image and not some other version from a "stock rom" downloaded from the Internet.
I am happy to show proper appreciation for anyone who can help and once I get things sorted out and figured out I am willing to help others too. Thank you in advance
Backup
Howdy
You should find and download the stock rom for your device on the net. I myself do not recommend you to install custom rom as it can brick ur device.
For the backup:-
1. For the backup of your apps download this app (App Backup and Restore) from the play store. It can backup ur apps and then can also restore them back but also dont forget to take the backup of this app itself.
2. Connect your tablet/phone to your pc/laptop and then copy all the files in your SD card and Device and store them to seperate folders on your pc/laptop.
3. Now the backup of all your files is created.
According to my information you cannot backup your current rom you will have to download the stock rom from the net which you need and then fla**** in case of a mishappening or incase you wish to revert back.
Best of luck Happy flashing and a happy new year.
Sent from my GT-P3100 using xda app-developers app
@kunalthakur - There isn't an official Samsung download source that one can use. Most of the other downloads I've seen have had the recovery.img modified to enable the backup in the first place. We want a trustworthy (verified no malicious software added) stock OEM rom/recovery with no modifications.
I have had some initial success getting the Samsung Kies software to attempt to download the current official ROM from official Samsung servers. I guess Samsung wants people to only download via Kies instead of offering it on their website to reduce the load on their servers and prevent end-users from flashing the wrong ROM because they didn't know what they were doing.
I will update if I have success getting a clean download.
If u are successful in flashing the original rom then notify me too as i dnt know of any such method. Oh by the way here is a site where you can download original roms.
downloadandroidrom.com
And by original I dont mean official.
Sent from my GT-P3100
That site didn't have a ROM for the US (Wifi+IR) GT-P3113
I did however notice that an official ROM update has just become available in Samsung Kies.
Version ending in LK7 (update from LH2).
I'm going to try to save a copy of the download for backup purposes.
rbeede said:
That site didn't have a ROM for the US (Wifi+IR) GT-P3113
I did however notice that an official ROM update has just become available in Samsung Kies.
Version ending in LK7 (update from LH2).
I'm going to try to save a copy of the download for backup purposes.
Click to expand...
Click to collapse
I did not say that it had a rom for every device
Sent from my GT-P3100
Hello,
I'm using Galaxy Note 10.1 (N8013, UEALI3).
As our hardware and software are almost identical, I'll assume things will be the same for you and me.
How to create a full backup of your device, without touching anything?
There must be a way, but I also couldn't find it.
So, I found a way that just works as we expect.
To create a full stock device backup, with all images and partitions, without rooting, you'll have to....
Flash CWM! No, please, wait, let me finish...
When you flash a custom Recovery, it is actually not something permanent.
Once you boot your stock rom with stock kernel, your custom recovery is overwritten with the default one.
So, you can flash your CWM, and reboot your device immediately to it.
If you let your stock ROM boots, you are going back to stock recovery.
EXCEPTION:
- When you boot to CWM, choose "Reboot", you'll be given the following option: "ROM may flash stock recovery on boot. Fix? This can not be undone.". If you choose "Yes", you'll never get to stock again, even while booting stock rom.
So, flashing a custom recovery is actually very similar to "fastboot boot recovery recovery.img", as no permanent damages are made.
Finally, that's what you'll have to do:
1) Use Oding to Flash CWM. DO NOT Restart your device from ODIN.
2) Force turn off your device (press power button for > 8 seconds)
3) Boot to recovery (power button + volume up)
4) Make a full backup! In this backup, you'll have the CWM recovery.
5) Reboot your device.
6) Boot normally, and copy your backup from SDCard to your computer.
How to restore the stock I just saved?
1) Flash CWM again if needed.
1.1) If you want to get rid of the binary count, you'll have to make CWM permanent.. for a while.
1.2) Boot into CWM, go to Reboot Device, and choose "Yes - Make it permanent".
1.3) Boot your rooted ROM, download and execute TriangleAway.
1.4) Ok, your download count is zero.​2) Now, go back to CWM and restore your backup.
3) This time, you have your stock rom + stock kernel, but still have the CWM recovery.
4) Boot your stock rom
5) Now, you have your stock rom + stock kernel + stock recovery.
I know this is not what you REALLY wanted (extract stock images, including stock recovery image), I wanted that to..
But this just works.
Let me know if I was able to help you.
Good luck!
So this is basically not possible then?

[Q] Do I consider my gt-8013 now a gt-8000 after gnabo v6

I hope this question is not redundant,but I want to know if I should consider my tablet as an 8013 which it was,or as an 8000 with the gnabo rom v6,when I go to certain websites its identified as gt-8000, others see it as gt-8013, I installed initially with cwm recovery and rom was installed only, Cwm would not install KK kernal or su zip or anything else so I uninstalled Cwm and installed Twrp with 8013 zip, I then finished flashing rest of rom package then wifi fix later, all is ok except what I can see of sd card= all files were empty except the downloaded file folder, When I use flashify it doesnt show boot image and when I touch recovery it asks if I want to d/l TWRP when I already have TWRP and working? 1. Should I use twrp for 8013 or8000 2.Should I be concerned about all files being empty? Also when going to KK4.43, are you limited as to access to sd card? Thanks to any and all for any help offered. By the way,I do really like the rom,very nice!!! JW
I'm wondering this myself.
If the leaked firmware is flashed does it permanently change the device? And secondly if I flash from Hyperdrive 4.1.2 to Gnabo V6 is it possible to restore the Hyperdrive rom?
Thanks for any help

Categories

Resources