[CWM][LB][STOCK] ClockWorkMod 6.0.3.0 for Xperia T/TL/TX/V v7 - Linux/OsX script - Sony Xperia T, TL, TX, V

CLOCKWORKMOD FOR XPERIA T/TL/TX/V v7 - Linux/OsX bash shell script
I converted in bash this. All credits go to davidmarco.
This is for:
Rooted phones
Locked bootloader
Stock firmwares T/TL/TX/V (JB)
What is working:
Backup
Restore
External SD
Flash zip files
Mount/Unmount partitions
And so on, so apparently all (further testing and feedback will be appreciated)
Note: You must install adb tool on your system (Ubuntu based distro: sudo apt-get install android-tools-adb)
Installing:
Installing CWM for the first time is as simple as:
Download CWM v7 installer and unzip
Enable USB debugging and connect phone to your computer
Run install.sh
Entering CWM:
Disconnect usb cable and power off the phone
Power on the phone
When SONY logo appears:
On Xperia T/TX/TV press repeatedly (not holding) volume-down button until the phone vibrates
On Xperia V running JB try one of these:
Press repeatedly (not holding) power button until the phone vibrates
Tap repeatedly the screen
Wait a few seconds and you will be on CWM
Navigating CWM:
Volume+ for up
Volume- for down
Power button for enter/ok
Unable to enter recovery?
Make sure you have granted superuser permissions to adb shell. Sometimes this occurs when running install.bat for the first time, sometimes not. Best way is open a windows command prompt, enter "adb shell" and then enter "su". Your super user application will ask you for grant permissions, accept and retry running install.sh.
Keep in mind that at the moment installing CWM will broke OTA updates, even if you unroot and/or remove CWM.
CWM4XperiaTV_v7i_JB_shell.zip

What if i flashed back into stock , will the OTA updates not function too ?
or the OTA update will not work when we install CWM ?
thanks for the answer

sony_84 said:
What if i flashed back into stock , will the OTA updates not function too ?
or the OTA update will not work when we install CWM ?
thanks for the answer
Click to expand...
Click to collapse
If you install CWM OTA updates do not work. If you install stock rom with flashtool , CWM is gone and OTA updates works

Related

[Q] How to delete install-recovery.sh in milestone?

I found the following warning in a Rooting guide for Milestone:
If you applied an OTA update before, there is a script run at every system boot that checks and re-flashes the recovery when its checksum doesn't match. In such case, you have to avoid booting to android after the vulnerable recovery flash. Boot directly to recovery when RSD Lite restarts the phone (hold camera button) and from there remove the /system/etc/install-recovery.sh file.
rm -f /system/etc/install-recovery.sh
Could someone provide me detailed information on how to access the recovery and delete the install-recovery.sh file? Also does this reflashing occur on all Milestone which has received any OTA update?
Over 30 views, and still not a single reply. Come on guys, I know you are better than that...
uptheironsrafi said:
I found the following warning in a Rooting guide for Milestone:
If you applied an OTA update before, there is a script run at every system boot that checks and re-flashes the recovery when its checksum doesn't match. In such case, you have to avoid booting to android after the vulnerable recovery flash. Boot directly to recovery when RSD Lite restarts the phone (hold camera button) and from there remove the /system/etc/install-recovery.sh file.
rm -f /system/etc/install-recovery.sh
Could someone provide me detailed information on how to access the recovery and delete the install-recovery.sh file? Also does this reflashing occur on all Milestone which has received any OTA update?
Click to expand...
Click to collapse
First copy AOR to the root of sdcard.
Flash the VR. When the phone reboots and before it shows the M logo, press and hold the "x" key for a few seconds till the M logo is seen, then release. It should show you the triangle with exclamation mark. Press up volume button + camera button. It will show you recovery menu. Choose second option " apply sdcard update ".
After AOR menu is shown, choose console and type the command.
Done.
i first update my Milestone to the official 2.2.1.
Then copied the AOR 3.3 to sd card.
Then flash VR. then directly start to the recovery and flash the AOR.
After a while AOR starts and i type rm -f /system/etc/install-recovery.sh in the console and then "exit"
But i have to flash the AOR every time, because the stock recovery starts when i press camera button while startin (bootloade 90.74)
In the froyo menu, select Install Open Recovery at boot
After you select that, it will load AOR automatically if you hold the camera button (or X for 90.78 bootloader)
If you wipe caches, then you lose that so you would just Install OR at boot again
I flashed vulnerable recovery, flashed AOR and rooted my phone, and deleted the install-recovery.sh using the console command. I also selected the Install open recovery at root from the Froyo menu. However, my phone returns to the previous recovery menu every time i enter the recovery, and I have to flash AOR all over again.
Is there anyway to prevent this?
I'm having the exact same problem. Still looking for a solution. When I used root explorer to try and find install-recovery.sh BEFORE i started the whole process of trying to install VR, i couldn't find it (I previously used SuperOneClick to root after doing the official 2.2.1 update from Telus/Motorola). I suspect the file has been renamed and moved with this new 2.2.1 update.
This'll fix it but good http://forum.xda-developers.com/showthread.php?t=796679&page=26
zeppelinrox said:
This'll fix it but good http://forum.xda-developers.com/showthread.php?t=796679&page=26
Click to expand...
Click to collapse
Like someone said in that thread, I love you right now!

Boot loop problem

Hello,
I tried installing a custom ROM on my 7310 and it had issues. I have tried installing the original ICS from the sammyfirmware site using ODIN. Now I have a boot loop. I think I need to repartition, but when I click the repartition checkbox in ODIN I get an error.
Do I need to repartition? If so, how do I do it? If not, how do I fix this error?
Thanks.
A few questions:
spazlon said:
I tried installing a custom ROM on my 7310 and it had issues.
Click to expand...
Click to collapse
What did you try to flash and how did you try doing it (CWM, ODIN, ...)?
What 'issues'?
I have tried installing the original ICS from the sammyfirmware site using ODIN. Now I have a boot loop.
Click to expand...
Click to collapse
How far into the boot sequence does it get?
Are you able to get into recovery?
If so, what recovery do you have (Stock vs CWM)?
Have you tried seeing what is causing the boot-loop using adb?
Do I need to repartition? If so, how do I do it? If not, how do I fix this error?
Click to expand...
Click to collapse
This is an action of last resort. Exhaust all other avenues first.
boscorama said:
What did you try to flash and how did you try doing it (CWM, ODIN, ...)?
What 'issues'?
Click to expand...
Click to collapse
I used CWM to flash AOSP 4.1.2. It seemed to work fine for a day or two, but then it needed charging (as normal). I let it charge over night and in the morning it had less battery. I figured the charger or cable were flaky so I tried another set on another outlet and same thing. Then it finally ran out of battery. I let it charge again over night and when I tried to turn it on it was really slow. The boot animation was only 1 frame every couple seconds. It would eventually boot all the way up, but it was still REALLY slow. So I went into CWM and reflashed the same ROM. Then I got a boot loop of the boot animation. I couldn't get into CWM any more, so then I went into download mode and flashed the official firmware and flashed it with ODIN.
boscorama said:
How far into the boot sequence does it get?
Click to expand...
Click to collapse
Now when I turn it on it just says, "Firmware upgrade encountered an issue. Please select recovery mode in Kies & try again."
I can flash again with ODIN and it will get to the Samsung boot animation and just pulse SAMSUNG.
boscorama said:
Are you able to get into recovery?
If so, what recovery do you have (Stock vs CWM)?
Click to expand...
Click to collapse
If I hold power and volume down I can get into download mode or Samsung recovery, not CWM, and power with volume up doesn't do anything.
boscorama said:
Have you tried seeing what is causing the boot-loop using adb?
Click to expand...
Click to collapse
I don't know anything about adb and I'm not sure what I would be looking for. Is there a tutorial I can follow somewhere?
Thanks for any help!
This worked for me with similar problem
Hi Spazlon,
Sorry I'm not allowed to post links yet as I am also very fresh. But I've underlined the addresses so you should be able to find them
I just spent the best of 2 days trying to solve a similar issue - my 8.9 P7300 kept running in boot loop. It had been running ICS stable for several weeks, then suddenly started to loop boot for no good reason. Anyway - you need two programs installed on your computer as well as USB drivers for your tablet. The two programs are Odin and SDK developer package. Odin3 v 1,87 and 1.85 are found here: filecrop.com/Odin-1.87 - try some of the links, one of them should work without having to type a password. The SDK is found here: developer.android.com/sdk You can find more about how to use the developer package on that site as well, but I installed as support for Android 2.1 through to 4.1
Also install the USB driver files for your tablet on your PC. For example from here: xpdrivers.com/usb/_1_24.cfm?gclid=CL2iDs7MCFWF7cAodxFYANQ
You also need the following recovery files which you can find by searching the developer forum for galaxy tab 8.9:
ClockworkMod_Recovery_v5.5.0.4.tar
P73xx_Stock_Recovery.tar
Clockwork_Recovery_6.0.0.8_GT-P7300.zip
and finally a ROM of your choice, for example the ICS rom cm-9-20121028-NIGHTLY-p5.zip that I just used. You can find the latest official ICS ROM's here get.cm/?device=p5
Now - hold down the volume down button on one of the boot cycles. You should now get into a menu with two choices - Download and Recovery. Default is "Download" - if you press volume down you switch between the two choices. Press volume up to select the choice you want.
First you want to select the "Download" option. Then connect your tablet to your PC. The drivers should now install and your tablet should read that you are connected.
Now start Odin3. Click the PDA button and select your P73xx_Stock_Recovery.tar file. Then press Start.
Once finished the tablet will reboot, and you now need to once again get into the recovery menu. Now select the recovery option, not the download menu. You get into the stock recovery menu where you navigate with the volume buttons and select choices with the power button. Do a full factory reset and wipe the cache. WARNING - you will loose ALL your data, but it'either that or stick to a bricked tablet so.... You will also loose your root access,m which is why the next step is needed.
Now that everything is wiped clean you can use Odin again in "download mode" to install ClockworkMod_Recovery_v5.5.0.4.tar with the same procedure as before. You now have root access.
Reboot again and once again into the recovery mode (not download mode). Once you get into the CWM recovery menu you are ready for the final step, which is to install your new operating system.
Go to your SDK installation folder and find the folder named "platform-tools".
First you want to copy two files into this folder (provided you want to install Cynaogen Mod 9):
Clockwork_Recovery_6.0.0.8_GT-P7300.zip
and
Your ROM file of choice
Press shift and right-click in that folder and select "Open command window here". In the command prompt write
adb shell
Note - I had some problems here which was caused by lack of permissions. On your tablet in the CWM menu there should be a choice under the advanced menu for fixing permissions. Use that and you should be able to get into the terminal shell afterwards with the adb shell command
Now write the following command sequence:
• mount /data (don't worry if you get an error message - it means the folder is already mounted)
• cd /data
• mkdir media (if you get an error message saying the folder already exists, that's also OK!)
• exit
• adb push Clockwork_Recovery_6.0.0.8_GT-P7300.zip /data/media
Now you may have to wait a little while until your command prompt is back confirming that the file was uploaded.
Now on your tablet go to the menu point "install zip from sdcard" and find your CWM file that you just uploaded and run that.
Reboot once again into the "recovery mode" - we are now nearly finished.
Run the above push command again from the computer terminal window, this time to upload the ROM file you want to install. (the command is adb push [filename].zip /data/media)
Now on your CWM recovery menu once again run the zip file you just uploaded from the "install zip from sdcard" menu
When completed and you now reboot you should have a completely fresh android installation. Hope this helps.
Remember to mark this thread with solved if it works!
Thanks to kallt_kaffe and all the others who helped me through their various posts (hope that coffee isn't getting too cold again), as well as the following web sites that indirectly helped me resolve this issue googleymind.com/2011/11/guide-so-you-think-you-bricked-your.html#.UJUNN8XAd8G and galaxytabhacks.com/galaxy-tab-10-1-hacks/how-to-root-galaxy-tab-10-1-the-easy-way/
Good luck.
Thanks! I'll give this a try when I get home. I'll let you know how it works out.
Don't ever try to 'repartion unless you really know what you're doing. You're soft bricked. Repartion and you'll hard brick.
I'd go back and get hc from sammobile and flash that with Odin. Ics has had some problems.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
jd1639 said:
Don't ever try to 'repartion unless you really know what you're doing. You're soft bricked. Repartion and you'll hard brick.
I'd go back and get hc from sammobile and flash that with Odin. Ics has had some problems.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
Agreed - my procedure avoids manual repartitioning - I tried lots of other procedures but none worked. I think my data partition had become corrupt because I kept getting error messages. My first try was to recover with my cwm recovery file I made originally but I kept getting back to the boot loop .
spazlon said:
Hello,
I tried installing a custom ROM on my 7310 and it had issues. I have tried installing the original ICS from the sammyfirmware site using ODIN. Now I have a boot loop. I think I need to repartition, but when I click the repartition checkbox in ODIN I get an error.
Do I need to repartition? If so, how do I do it? If not, how do I fix this error?
Thanks.
Click to expand...
Click to collapse
I always got something like that ...
After bootloop just go to recrovery mode then factory riset ... its 100% WORK
Sent from my GT-P7300 using xda premium
I followed the steps outlined by mobjunky and was able to get an official Honeycomb ROM installed, boot the official and copy my custom ROM and CWM 6.0.0.8 on it. Then install CWM 5.4.0.4 followed by 6.0.0.8.
Now my problem is that any custom ROM I put on there just does a boot screen loop. I tried CM10 and the latest AOSP. To install the ROMs I just booted into CWM, installed the ROM from zip, then installed the gapps. I've tried with and without formatting the cache, user data, and Dalkiv, same results.
What am I doing wrong? I have loaded tons of ROMs on this before without any issues, then all of a sudden I can't get anything except official loaded.
spazlon said:
I followed the steps outlined by mobjunky and was able to get an official Honeycomb ROM installed, boot the official and copy my custom ROM and CWM 6.0.0.8 on it. Then install CWM 5.4.0.4 followed by 6.0.0.8.
Now my problem is that any custom ROM I put on there just does a boot screen loop. I tried CM10 and the latest AOSP. To install the ROMs I just booted into CWM, installed the ROM from zip, then installed the gapps. I've tried with and without formatting the cache, user data, and Dalkiv, same results.
What am I doing wrong? I have loaded tons of ROMs on this before without any issues, then all of a sudden I can't get anything except official loaded.
Click to expand...
Click to collapse
Sorry - being a newbie myself I'm at a loss. It worked a charm for me.
spazlon said:
I followed the steps outlined by mobjunky and was able to get an official Honeycomb ROM installed, boot the official and copy my custom ROM and CWM 6.0.0.8 on it. Then install CWM 5.4.0.4 followed by 6.0.0.8.
Now my problem is that any custom ROM I put on there just does a boot screen loop. I tried CM10 and the latest AOSP. To install the ROMs I just booted into CWM, installed the ROM from zip, then installed the gapps. I've tried with and without formatting the cache, user data, and Dalkiv, same results.
What am I doing wrong? I have loaded tons of ROMs on this before without any issues, then all of a sudden I can't get anything except official loaded.
Click to expand...
Click to collapse
did a format /system before installing the custom roms? This is an important step.
prince93 said:
did a format /system before installing the custom roms? This is an important step.
Click to expand...
Click to collapse
This fixed it. Never had to do it with any of my other devices. CM10 loaded quickly after that. Loving how fast JB is!
Thanks!
Sent from my GT-P7310 using Tapatalk HD
It worked
mobjunky said:
Hi Spazlon,
Sorry I'm not allowed to post links yet as I am also very fresh. But I've underlined the addresses so you should be able to find them
I just spent the best of 2 days trying to solve a similar issue - my 8.9 P7300 kept running in boot loop. It had been running ICS stable for several weeks, then suddenly started to loop boot for no good reason. Anyway - you need two programs installed on your computer as well as USB drivers for your tablet. The two programs are Odin and SDK developer package. Odin3 v 1,87 and 1.85 are found here: filecrop.com/Odin-1.87 - try some of the links, one of them should work without having to type a password. The SDK is found here: developer.android.com/sdk You can find more about how to use the developer package on that site as well, but I installed as support for Android 2.1 through to 4.1
Also install the USB driver files for your tablet on your PC. For example from here: xpdrivers.com/usb/_1_24.cfm?gclid=CL2iDs7MCFWF7cAodxFYANQ
You also need the following recovery files which you can find by searching the developer forum for galaxy tab 8.9:
ClockworkMod_Recovery_v5.5.0.4.tar
P73xx_Stock_Recovery.tar
Clockwork_Recovery_6.0.0.8_GT-P7300.zip
and finally a ROM of your choice, for example the ICS rom cm-9-20121028-NIGHTLY-p5.zip that I just used. You can find the latest official ICS ROM's here get.cm/?device=p5
Now - hold down the volume down button on one of the boot cycles. You should now get into a menu with two choices - Download and Recovery. Default is "Download" - if you press volume down you switch between the two choices. Press volume up to select the choice you want.
First you want to select the "Download" option. Then connect your tablet to your PC. The drivers should now install and your tablet should read that you are connected.
Now start Odin3. Click the PDA button and select your P73xx_Stock_Recovery.tar file. Then press Start.
Once finished the tablet will reboot, and you now need to once again get into the recovery menu. Now select the recovery option, not the download menu. You get into the stock recovery menu where you navigate with the volume buttons and select choices with the power button. Do a full factory reset and wipe the cache. WARNING - you will loose ALL your data, but it'either that or stick to a bricked tablet so.... You will also loose your root access,m which is why the next step is needed.
Now that everything is wiped clean you can use Odin again in "download mode" to install ClockworkMod_Recovery_v5.5.0.4.tar with the same procedure as before. You now have root access.
Reboot again and once again into the recovery mode (not download mode). Once you get into the CWM recovery menu you are ready for the final step, which is to install your new operating system.
Go to your SDK installation folder and find the folder named "platform-tools".
First you want to copy two files into this folder (provided you want to install Cynaogen Mod 9):
Clockwork_Recovery_6.0.0.8_GT-P7300.zip
and
Your ROM file of choice
Press shift and right-click in that folder and select "Open command window here". In the command prompt write
adb shell
Note - I had some problems here which was caused by lack of permissions. On your tablet in the CWM menu there should be a choice under the advanced menu for fixing permissions. Use that and you should be able to get into the terminal shell afterwards with the adb shell command
Now write the following command sequence:
• mount /data (don't worry if you get an error message - it means the folder is already mounted)
• cd /data
• mkdir media (if you get an error message saying the folder already exists, that's also OK!)
• exit
• adb push Clockwork_Recovery_6.0.0.8_GT-P7300.zip /data/media
Now you may have to wait a little while until your command prompt is back confirming that the file was uploaded.
Now on your tablet go to the menu point "install zip from sdcard" and find your CWM file that you just uploaded and run that.
Reboot once again into the "recovery mode" - we are now nearly finished.
Run the above push command again from the computer terminal window, this time to upload the ROM file you want to install. (the command is adb push [filename].zip /data/media)
Now on your CWM recovery menu once again run the zip file you just uploaded from the "install zip from sdcard" menu
When completed and you now reboot you should have a completely fresh android installation. Hope this helps.
Remember to mark this thread with solved if it works!
Thanks to kallt_kaffe and all the others who helped me through their various posts (hope that coffee isn't getting too cold again), as well as the following web sites that indirectly helped me resolve this issue googleymind.com/2011/11/guide-so-you-think-you-bricked-your.html#.UJUNN8XAd8G and galaxytabhacks.com/galaxy-tab-10-1-hacks/how-to-root-galaxy-tab-10-1-the-easy-way/
Good luck.
Click to expand...
Click to collapse
WOw! This fixed my Tablet! thank you ever so much!!
mjramos15 said:
WOw! This fixed my Tablet! thank you ever so much!!
Click to expand...
Click to collapse
mobjunky said:
Hi Spazlon,
Sorry I'm not allowed to post links yet as I am also very fresh. But I've underlined the addresses so you should be able to find them
I just spent the best of 2 days trying to solve a similar issue - my 8.9 P7300 kept running in boot loop. It had been running ICS stable for several weeks, then suddenly started to loop boot for no good reason. Anyway - you need two programs installed on your computer as well as USB drivers for your tablet. The two programs are Odin and SDK developer package. Odin3 v 1,87 and 1.85 are found here: filecrop.com/Odin-1.87 - try some of the links, one of them should work without having to type a password. The SDK is found here: developer.android.com/sdk You can find more about how to use the developer package on that site as well, but I installed as support for Android 2.1 through to 4.1
Also install the USB driver files for your tablet on your PC. For example from here: xpdrivers.com/usb/_1_24.cfm?gclid=CL2iDs7MCFWF7cAodxFYANQ
You also need the following recovery files which you can find by searching the developer forum for galaxy tab 8.9:
ClockworkMod_Recovery_v5.5.0.4.tar
P73xx_Stock_Recovery.tar
Clockwork_Recovery_6.0.0.8_GT-P7300.zip
and finally a ROM of your choice, for example the ICS rom cm-9-20121028-NIGHTLY-p5.zip that I just used. You can find the latest official ICS ROM's here get.cm/?device=p5
Now - hold down the volume down button on one of the boot cycles. You should now get into a menu with two choices - Download and Recovery. Default is "Download" - if you press volume down you switch between the two choices. Press volume up to select the choice you want.
First you want to select the "Download" option. Then connect your tablet to your PC. The drivers should now install and your tablet should read that you are connected.
Now start Odin3. Click the PDA button and select your P73xx_Stock_Recovery.tar file. Then press Start.
Once finished the tablet will reboot, and you now need to once again get into the recovery menu. Now select the recovery option, not the download menu. You get into the stock recovery menu where you navigate with the volume buttons and select choices with the power button. Do a full factory reset and wipe the cache. WARNING - you will loose ALL your data, but it'either that or stick to a bricked tablet so.... You will also loose your root access,m which is why the next step is needed.
Now that everything is wiped clean you can use Odin again in "download mode" to install ClockworkMod_Recovery_v5.5.0.4.tar with the same procedure as before. You now have root access.
Reboot again and once again into the recovery mode (not download mode). Once you get into the CWM recovery menu you are ready for the final step, which is to install your new operating system.
Go to your SDK installation folder and find the folder named "platform-tools".
First you want to copy two files into this folder (provided you want to install Cynaogen Mod 9):
Clockwork_Recovery_6.0.0.8_GT-P7300.zip
and
Your ROM file of choice
Press shift and right-click in that folder and select "Open command window here". In the command prompt write
adb shell
Note - I had some problems here which was caused by lack of permissions. On your tablet in the CWM menu there should be a choice under the advanced menu for fixing permissions. Use that and you should be able to get into the terminal shell afterwards with the adb shell command
Now write the following command sequence:
• mount /data (don't worry if you get an error message - it means the folder is already mounted)
• cd /data
• mkdir media (if you get an error message saying the folder already exists, that's also OK!)
• exit
• adb push Clockwork_Recovery_6.0.0.8_GT-P7300.zip /data/media
Now you may have to wait a little while until your command prompt is back confirming that the file was uploaded.
Now on your tablet go to the menu point "install zip from sdcard" and find your CWM file that you just uploaded and run that.
Reboot once again into the "recovery mode" - we are now nearly finished.
Run the above push command again from the computer terminal window, this time to upload the ROM file you want to install. (the command is adb push [filename].zip /data/media)
Now on your CWM recovery menu once again run the zip file you just uploaded from the "install zip from sdcard" menu
When completed and you now reboot you should have a completely fresh android installation. Hope this helps.
Remember to mark this thread with solved if it works!
Thanks to kallt_kaffe and all the others who helped me through their various posts (hope that coffee isn't getting too cold again), as well as the following web sites that indirectly helped me resolve this issue googleymind.com/2011/11/guide-so-you-think-you-bricked-your.html#.UJUNN8XAd8G and galaxytabhacks.com/galaxy-tab-10-1-hacks/how-to-root-galaxy-tab-10-1-the-easy-way/
Good luck.
Click to expand...
Click to collapse
Gee thanks. This saved my tab. I'd almost given up on it and then voila.

S5830 wont boot after I fiddled with the software

Hi,
I have a S5830 which was running CWM - not sure exactly what version but worked perfectly, and had CFW CyanogenMod (I think 7.2.0 if I remember correctly)
I did something stupid, I had a few bugs which were annoying me so thought I'd go back to OFW, I downloaded a couple from Tsar3000 which I tried flashing through Odin but It would just go for ages and not seem to progress. I can get in download mode but I dont know toe process to take to now get me back on official fw with original recovery. I have downloaded the stock recovery image zip file from this website but when ever I try and flash anything Odin just seems to not progress. I can no longer boot into recovery mode.
What shall I do from here please?
Thanks
Seems weird, are you sure you did flash it correctly?
How to flash with odin.
Flashing the newest firmware:
1) Turn off your phone
2) Remove your SIM Card and SD Card
3) Extract previously downloaded firmware
4) Open ODIN 4.38 on your PC
5) Select from extracted archive: OPS-OPS, Boot-APBOOT, Phone-MODEM, PDA-CODE, CSC-CSC (leave EFS and One Package empty)
6) Connect your phone via USB into PC
7) When the screen is turned on hold POWER+VOLUME DOWN+HOME and wait until the phone enters the Download Mode
8) If ODIN detected and recognised your phone should light up the first square to the left side
9) Press "Start" button and wait, the process should take ~5 minutes
10) If all goes well your phone should reboot automatically
11) Square should change the color to blue and display "PASS" it means that flashing process was successful and we have the newest firmware
12) Disconnect your phone
13) Turn off your phone
14) Insert your SIM Card and SD Card again
15) Turn on your phone
16) Now you have the newest firmware!
If you did try, pushing CWM with Odin.
Flash Custom Recovery:
1) Push recovery-clockwork-5.0.2.6-galaxyace.img to your device using Android Debugging Brige push recovery-clockwork-5.0.2.3-galaxyace.img /tmp/" command
2) Turn off your phone
3) Press POWER+HOME BUTTON
4) Login to your device over "adb shell"
5) Mount /system using "mount /dev/block/stl12 /system" command
6) Flash CWM recovery using "flash_image recoveryonly /tmp/recovery-clockwork-5.0.2.3-galaxyace.img" command
7) Umount /system using "umount /system" command
8) Reboot your device using "reboot recovery" command to test your new CWM recovery
9) Reboot your device[/QUOTE]
Then flash Stock Recovery, from CWM. - Download it Here. Use the version appropriate to your Android version.
reply
Hi,
Thanks for the reply. I tried everything you said except flashing the custom recovery with the method you said. The download link you provided for the recovery unfortunatly doesn't work So I downloaded from another link on the forum, but when I try and push the file ADB just doesnt find the device. Note: I can only get in download mode.
Do you know another way I can do this?
Thanks for your help
reply
Hi,
I tried what I did th efirst time, Odin + Ops + Custom Recovery - One package etc and its worked this time, only difference is did it on another PC, Still 7 x64. Dont kno whats different but phone now boots again so i can start from the beginning.
Thanks

[SOLVED] Rooting the OTA updated UVMA1 build

See several posts below for the steps that worked for me
I'm posting this here because my post in the Q&A forums has received zero replies.
I feel like I've tried everything. I installed the UVMA1 over-the-air update and have lost and am unable to regain root. I seriously need a solution to this.
Has anyone been able to root the most updated SGH-T879 with the UVMA1 build?
Re: [Q] Rooting the OTA updated UVMA1 build
You have to do following steps
1.download CWM recovery. tar
2.download odin flashable CWM touch recovery.tar
3.go to download mode
4.flash the UVAM1.tar file through odin
5.flash the CWM recovery.tar through odin
6.flash the CWM touch recovery.tar through odin
7.go to recovery mode flash the super user
8.reboot
You should be okay...
I hope that it helping you to Root the phone.
Let me know if you did.
Good luck..
Sent from my SGH-T879 using xda premium
Flash the CWM recovery tar through Odin.
https://www.onlinefilefolder.com/3sYujqhSWDjt5I
After CWM has been installed, flash superusers through recovery.
https://www.onlinefilefolder.com/3sRc8Cz8TcpOLC
To change recovery to TWRP (which most people seem to prefer now days) flash TWRP zip through CWM recovery. I like this method better than trying to install TWRP through Goomanager, I always have trouble with that for some reason.
Paste below address into your browser
goo.im/devs/OpenRecovery/sgh-t879/openrecovery-twrp-2.3.1.1-sgh-879.zip
Now your phone is rooted and you have TWRP.
Re: [Q] Rooting the OTA updated UVMA1 build
I did as same as it.
But. I couldn't go to recovery
That is why important that make it sure flashing CWM touch recovery.tar through odin.
Maybe just my phone?.
Thank you.
Sent from my SGH-T879 using xda premium
I got my phone to root, but have been unable to change the recovery so I can switch to 4.2.2.
I will clean this up as time permits.
Success!
Through trial and error, on Ubuntu and Windows, I have managed to successfully root the UVMA1 build. I did not screenshot the process so I'll be going from memory. On the other hand I will post a stock backup of the ROM for everyone to use as needed.
This did not work on Ubuntu, had to use Windows.
You will need:
Android Tools SDK
CWM
most recent ODIN
Superuser zip
Steps:
download Android Tools SDK.
Extract to your C: on your windows machine
Open command prompt and navigate to the Platform-Tools directory
enable debugging mode on your Note (Settings > Developer Options > USB Debugging
Leaving your phone on, connect via USB to your computer
wait while the Samsung drivers load
On command prompt type "adb reboot-bootloader" or "adb reboot bootloader" and wait (might need to try both)
Your phone should reboot into downloader mode
Open the newest version of ODIN
In Odin, nothing significant will change, I only saw a blue box in the first square top left
Click on 'Bootloader' button and select the tar.md5 file from Tomin's Goodies thread (link to come later)
In Odin, click on Start
Odin will scroll some text in the little window (bottom left) and then stop. I waited about five minutes. Nothing changed.
Disconnect your phone, pull the battery, press the power button (to dissipate magic electrons), put the battery back in and turn the phone on
Your phone should show a screen saying there is an issue with the Firmware and to use Samsung Kies to fix it. IGNORE THIS, don't do anything
Reconnect phone to PC via USB
wait about 30 seconds for the computer
In Odin, press Start again.
Odin should do something differently than the first time, you should see the top left window go green and 'Reset Ok' in the bottom left window.
Your phone will reboot. If it loads to Android then go to the command prompt window on your PC and type 'adb reboot recovery'
wait about a minute. CWM should load on your phone.
Now is the time to install Superuser zip through CWM.
Additionally, clear dalvik and other caches, reset permissions and backup your rom to external SD card now.
If anyone tries this, please document the process with screenshots so we can create a more comprehensive tutorial.

How to Root + install Custom Android ?

Hey guys I have an Xperia ZR and it's been having issues since Lolipop even down grading didn't fix the issue ( it keeps rebooting while using it ) so I want to install a custom android that is running Android 5.1.1 like CM 12 or anything that is better.
I already unlocked boot loader
I have the Latest Android update from 5.1.1
My Questions are
1.How do I Get Custom Recovery and Install Custom Android Room + Keernal
2.How do I Root the Phone ?
3.What is the Best Custom Android Running 5.1.1 ( and best Kerenal because I feel like the stock kernal is bad )
4.Is there like a Custom Android that will have also stamina mode ?
Please help so I can start using the phone again
Here Are Steps
Steps For Rooting Xperia ZR C5503 OR C5502
..................................................................................................................................................................................................................................................................................................................................
downgrade your device to KitKat OS...........
Before moving forward, please make sure that you’ve read the pre requisites and ensure that you are set to go ahead.
Download the latest firmware Android 4.4.4 KitKat 10.5.A.0.283 FTF file.
For Xperia ZR C5502 [Generic/Unbranded]
Copy the file and paste in Flashtool>Firmwares folder.
Open Flashtool.exe now.
Hit the small lightening button on the top left corner and select Flashmode.
Select the FTF firmware file that you placed in the Firmware folder.
From the right side, select what do you want to wipe. Data, cache and apps log, all wipes are recommended, perhaps you may select if you don’t want.
Click on OK, and it will start preparing the firmware for flashing. This may take a little while to load.
As soon as the firmware is loaded, it will prompt you to attach the phone by turning it off and keeping the back key press.
For Xperia ZR, Volume Down key will do the job of back key, just turn off your phone, keep the Volume Down key pressed and plug in the data cable.
As soon as the phone is detected in Flashmode, the firmware will start flashing, Do not leave the Volume Down key until the process is complete.
As soon as you see “Flashing ended or Finished Flashing” leave the Volume Down key, plug the cable out and reboot.
That’s All! Congrats! You’ve installed latest Android 4.4.4 kitkat on your Xperia ZR.
---------- Post added at 09:55 AM ---------- Previous post was at 09:54 AM ----------
Download the latest One Click Root Tool and extract it.
From the extracted files, execute the Run.bat file now.
A command prompt will open up requiring you to connect your device to your PC now.
Having the USB debugging enabled, connect your device.
Follow the on-screen instructions unless your phone is rooted.
Once rooted, disconnect your phone and turn it off.
.....................................................................................................................................................................................................................................................................
---------- Post added at 09:57 AM ---------- Previous post was at 09:55 AM ----------
Now phone is rooted, USB Debugging must be enabled.
Download latest installer for Xperia ZR from here. (Z-lockeddualrecovery2.8.xx-RELEASE.installer.zip)
Connect phone to PC using OEM date cable and run install.bat.
It will install the custom recovery.
Now work here is done. Lets move on to next step.
..........................................................................................................................................................................................................................................................................
---------- Post added at 09:58 AM ---------- Previous post was at 09:57 AM ----------
Custom recovery was installed in the first step.
The pre-rooted firmware was created and copied to phone in next step.
Now you have to turn off phone.
Turn it on again and press volume up or down to enter either TWRP or CWM recovery.
Now for TWRP recovery, tap Install > scroll all the way to bottom and select the copied pre-rooted firmware.zip file.
After selecting the file, swipe finger from left to right on the bottom to flash.
Once flashed, reboot your device and you will have pre-rooted 10.7.A.0.222 Lollipop firmware.
For CWM, select Install Zip > Choose Zip from SD card > locate pre-rooted firmware.zip file > select yes to flash.
Once flashed, reboot your phone and you will have 10.7.A.0.222 rooted Lollipop firmware.
Now verify root access using an app like Root Checker.
That’s all.:good::good::good::good::good:
thanks for the reply !
there is no root method on lolipop ?
so you want me to download a pre-rooted stock rom.
is it better than custom android like CM12?
MrSalue said:
thanks for the reply !
there is no root method on lolipop ?
so you want me to download a pre-rooted stock rom.
is it better than custom android like CM12?
Click to expand...
Click to collapse
Download any of the custom ROM's available ie CM 12.1, Resurrection Remix etc... Then search and download ADB/fastboot tool.. (it's the fastboot tool you'll be using)
Extract the ADB/fastboot tool to your C drive on your comp.
Open the downloaded ROM zip and extract the boot.img to the ADB/fastboot folder in C (try to find a boot.img that contains TWRP recovery.. The CM recovery is not good)
Place the ROM zip to your ext/int SD-card in your phone
Back up your data using nand-droid/Titanium etc
Search and find Gapps (flashable zip) for LP 5.1.1 and place in ext/int sd-card
Search and find Supersu (flashable zip.. most custom ROM's are kind of half rooted and need the supersu app to be installed) and place in your ext/int Sd-card
Power off your phone
Hold the VOL-UP button and connect your phone to your pc while holding the VOL-UP button.. You'll see first a red LED and then it turns to blue... you're now in fastboot mode
in the folder containing ADB/fastboot and your boot.img, place the cursor on an empty spot, press shift+right-click and in the pop-up, select "open command window here"
In the black screen, type "fastboot flash boot boot.img" and press enter.. (it will take less than 2 seconds to complete)
then type "fastboot reboot" and press enter... your phone will now reboot.
when you see the sony splash screen the LED will change color to green or pink... press VOL-UP on your phone while the LED is green/pink... hold the button and you'll see recovery come up..
In recovery, wipe cache, data, system and dalvik...
go back to main menu and press install.. navigate to where you have the ROM, Gapps and supersu and install all..
once done, reboot your phone.. (the first boot will take some time)
thats it, you're done.. You'll now have a rooted phone with recovery installed.
hagar006 said:
Download any of the custom ROM's available ie CM 12.1, Resurrection Remix etc... Then search and download ADB/fastboot tool.. (it's the fastboot tool you'll be using)
Extract the ADB/fastboot tool to your C drive on your comp.
Open the downloaded ROM zip and extract the boot.img to the ADB/fastboot folder in C (try to find a boot.img that contains TWRP recovery.. The CM recovery is not good)
Place the ROM zip to your ext/int SD-card in your phone
Back up your data using nand-droid/Titanium etc
Search and find Gapps (flashable zip) for LP 5.1.1 and place in ext/int sd-card
Search and find Supersu (flashable zip.. most custom ROM's are kind of half rooted and need the supersu app to be installed) and place in your ext/int Sd-card
Power off your phone
Hold the VOL-UP button and connect your phone to your pc while holding the VOL-UP button.. You'll see first a red LED and then it turns to blue... you're now in fastboot mode
in the folder containing ADB/fastboot and your boot.img, place the cursor on an empty spot, press shift+right-click and in the pop-up, select "open command window here"
In the black screen, type "fastboot flash boot boot.img" and press enter.. (it will take less than 2 seconds to complete)
then type "fastboot reboot" and press enter... your phone will now reboot.
when you see the sony splash screen the LED will change color to green or pink... press VOL-UP on your phone while the LED is green/pink... hold the button and you'll see recovery come up..
In recovery, wipe cache, data, system and dalvik...
go back to main menu and press install.. navigate to where you have the ROM, Gapps and supersu and install all..
once done, reboot your phone.. (the first boot will take some time)
thats it, you're done.. You'll now have a rooted phone with recovery installed.
Click to expand...
Click to collapse
Thank you for the reply ! did all the steps (( downloaded this room )
but I had an error , Error #70 while flashinf Gapps, I downloaded it from here :
http://opengapps.org/
ARM
5.1
Stock
tried it to times didnt work with same error right now the device is working with the rom ! but gapps didn't install how can I do it ?
Also a question regarding that room the menu app in it is weird x.x!! not like stock android or sony XDit's like letters how can I know it
downloaded the Open Gapps Mini 5.1 and it worked

Categories

Resources