[Q&A] [Recovery][CWM][TWRP][UB]Flashable Recovery For Xperia ZR - Sony Xperia ZR

Q&A for [Recovery][CWM][TWRP][UB]Flashable Recovery For Xperia ZR
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [Recovery][CWM][TWRP][UB]Flashable Recovery For Xperia ZR. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!

NOOB here.. all the threads says just flash the recovery TWRP using recovery mode.
the thing is how do I get into recovery mode on my Xperia ZR in the first place.. rebooting using power and volume down button opens SAFE mode..
please help..
also, TWRP Manager doesn't list Xperia ZR C5502 in the device list. (It has Xperia Z C5502 though)..
can i flash TWRP for Xperia Z(yuga) on my Xperia ZR(DOGO)??
please help.. thanks in advance...

psawardekar said:
NOOB here.. all the threads says just flash the recovery TWRP using recovery mode.
the thing is how do I get into recovery mode on my Xperia ZR in the first place.. rebooting using power and volume down button opens SAFE mode..
please help..
also, TWRP Manager doesn't list Xperia ZR C5502 in the device list. (It has Xperia Z C5502 though)..
can i flash TWRP for Xperia Z(yuga) on my Xperia ZR(DOGO)??
please help.. thanks in advance...
Click to expand...
Click to collapse
If you have no recovery installed, there is no recovery mode bro.. DON"T use power button but go to general section and choose a pre-rooted ROM for your phone and recovery will/should be pre-installed.. after having recovery installed, to get to recovery, reboot phone and at the sony screen a green/pink led will show and you push VOL-UP and that will get you to recovery..

hagar006 said:
go to general section and choose a pre-rooted ROM for your phone and recovery will/should be pre-installed..
Click to expand...
Click to collapse
Okaaay... so in short, you mean to install a custom rom in the first place.. (wipe off everything :crying: )
where do i get this pre-rooted ROM?? could't find it anywhere in XDA.. and it wont require custom recovery to flash it??
basically, the thing is; Im running stock sony Lollipop 10.6.A.0.454 firmware on Xperia ZR. rooted using kingroot.
and Im missing Xposed frameworks badly.. :crying: :crying: earlier the installation was simple with kitkat. however with lollipop, xposed needs to be flashed since its a alpha release.
thats the only reason i need a recovery. I have the TWRP recovery.img for my phone but flashing it is a problem. cant use Flashify also. doesnt work.(gives error: Partition not found)
can you suggest any other simple way to tackle this? using fastboot or ADB?

Place the recovery.img to your phone internal storage and use adb or emulator commands to install to your Fota:
Su
dd if=/sdcard/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
Go to play store and get android terminal emulator (free) and run the above commands.. Press enter after su and grant root rights and then do the rest of the command and press enter again.. Of all goes well, you'll have recovery..
Sent from my Xperia Z using XDA Forums Pro

hagar006 said:
Place the recovery.img to your phone internal storage and use adb or emulator commands to install to your Fota:
Su
dd if=/sdcard/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
Go to play store and get android terminal emulator (free) and run the above commands.. Press enter after su and grant root rights and then do the rest of the command and press enter again.. Of all goes well, you'll have recovery..
Sent from my Xperia Z using XDA Forums Pro
Click to expand...
Click to collapse
Didn't work
Was typing in Terminal Emulator, Xperia ZR C5502, stock Android 5.0.2, rooted, locked bootloader

Brembol said:
Didn't work
Was typing in Terminal Emulator, Xperia ZR C5502, stock Android 5.0.2, rooted, locked bootloader
Click to expand...
Click to collapse
Try dual recovery for stock by xenius9.. Should be in his CM12 thread in general section.. Or dual recovery by NUT.. comes with installer or flashable zip.. Look in the cross device section and you will find
Sent from my ZR

hagar006 said:
Try dual recovery for stock by xenius9.. Should be in his CM12 thread in general section.. Or dual recovery by NUT.. comes with installer or flashable zip.. Look in the cross device section and you will find
Sent from my ZR
Click to expand...
Click to collapse
The problem is that I have neither computer (broken), nor recovery. Is there any other way to install recovery (CWM or TWRP) without computer?

Brembol said:
The problem is that I have neither computer (broken), nor recovery. Is there any other way to install recovery (CWM or TWRP) without computer?
Click to expand...
Click to collapse
Yes but the problem is your locked boot loader.. If un locked the emulator would do the job.. But locked, you need to get dual recovery from NUT (with computer for the installer).. But to unlock your boot loader you need computer so you can lock again.. Or a already working recovery.. Sorry mate, I know of no other way..
I've been thinking a little.. Take a look at nut's dual recovery installer and see of there is a way to download to your phone and install using emulator.. Should work.. I think
Sent from my ZR

Haven't found any instruction, which I can understand and tells how to install recovery without PC in [NUT]'s thread. I think it's easier to wait and install using computer. Still thanks for help and sorry for your time

Brembol said:
Haven't found any instruction, which I can understand and tells how to install recovery without PC in [NUT]'s thread. I think it's easier to wait and install using computer. Still thanks for help and sorry for your time
Click to expand...
Click to collapse
If you have root ... download from playstore:
Terminal Emulator
Root Browser
Download the windows recovery installer from here http://forum.xda-developers.com/showthread.php?p=46216491
Steps:
1. unzip the windows installer
2. with root browser :
- go to folder
/data/local/tmp/
-create a new folder called recovery
So you have this path: /data/local/tmp/recovery
- from the unziped windows installer put the following files into the folder you created:
-> ric , charger , chargemon.sh , dualrecovery.sh , busybox , recovery.twrp.cpio.lzma , recovery.cwm.cpio.lzma , supersu.sh
If you have all those files in the folder... Klick on them (in root browser) and change permissions of all those files to rwxrwxr-x
Then go to terminal emulator and type:
su -c /system/bin/ls -la /data/local/tmp/recovery/chargemon
And after that:
su -c /data/local/tmp/recovery/supersu.sh
And then:
su reboot recovery
Then you should have a recovery installed without pc
Sent from my Xperia T using XDA Free mobile app

SdtBarbarossa said:
If you have root ... download from playstore:
Terminal Emulator
Root Browser
Download the windows recovery installer from here http://forum.xda-developers.com/showthread.php?p=46216491
Steps:
1. unzip the windows installer
2. with root browser :
- go to folder
/data/local/tmp/
-create a new folder called recovery
So you have this path: /data/local/tmp/recovery
- from the unziped windows installer put the following files into the folder you created:
-> ric , charger , chargemon.sh , dualrecovery.sh , busybox , recovery.twrp.cpio.lzma , recovery.cwm.cpio.lzma , supersu.sh
If you have all those files in the folder... Klick on them (in root browser) and change permissions of all those files to rwxrwxr-x
Then go to terminal emulator and type:
su -c /system/bin/ls -la /data/local/tmp/recovery/chargemon
And after that:
su -c /data/local/tmp/recovery/supersu.sh
And then:
su reboot recovery
Then you should have a recovery installed without pc
Sent from my Xperia T using XDA Free mobile app
Click to expand...
Click to collapse
Didn't work
After su -c ... /supersu.sh phone rebooted and worked normally. When "Sony" screen appears, LED doesn't work

Brembol said:
Didn't work
After su -c ... /supersu.sh phone rebooted and worked normally. When "Sony" screen appears, LED doesn't work
Click to expand...
Click to collapse
have you set the rights completely?
is your root working properly?
have you any log from terminal rmulator for me?
Sent from my C2105 using XDA Free mobile app

SdtBarbarossa said:
have you set the rights completely?
is your root working properly?
have you any log from terminal rmulator for me?
Sent from my C2105 using XDA Free mobile app
Click to expand...
Click to collapse
I have set the permissions, root works properly.
In "su -c ... chargemon" I wrote "chargemon.sh" instead of "chargemon", because Terminal Emulator said that there was no such directory.
After "su -c ... /supersu.sh" Terminal Emulator said something about checking recovery...
Sorry, can't say what writes Terminal Emulator after "su -c ... supersu.sh". Phone reboots too fast :banghead:

Brembol said:
I have set the permissions, root works properly.
In "su -c ... chargemon" I wrote "chargemon.sh" instead of "chargemon", because Terminal Emulator said that there was no such directory.
After "su -c ... /supersu.sh" Terminal Emulator said something about checking recovery...
Sorry, can't say what writes Terminal Emulator after "su -c ... supersu.sh". Phone reboots too fast :banghead:
Click to expand...
Click to collapse
Hm... If you want install teamviewer from playstore and i will look into it
Sent from my Xperia T using XDA Free mobile app

New to root
Hi, I'm quite new to root. Can you tell me how to flash custom recovery???

Android4Lyfeee said:
Hi, I'm quite new to root. Can you tell me how to flash custom recovery???
Click to expand...
Click to collapse
It's not really that complicated but it depends on if you have locked bootloader and already rooted or not, what firmware are you on.. If your bootloader is locked, go to cross device section and download TA backup so you can back up your keys for locking your bootloader again..if you have unlocked bootloader, things are simpler.. Let me know and I'll give you a step by step tutorial..
Sent from my ZR

hagar006 said:
It's not really that complicated but it depends on if you have locked bootloader and already rooted or not, what firmware are you on.. If your bootloader is locked, go to cross device section and download TA backup so you can back up your keys for locking your bootloader again..if you have unlocked bootloader, things are simpler.. Let me know and I'll give you a step by step tutorial..
Sent from my ZR
Click to expand...
Click to collapse
My bootloader is locked, but I am rooted. I'm also running Android 5.0.2 Lollipop right now.
Sent from my C5502 using Tapatalk

Android4Lyfeee said:
My bootloader is locked, but I am rooted. I'm also running Android 5.0.2 Lollipop right now.
Sent from my C5502 using Tapatalk
Click to expand...
Click to collapse
Ok.. Go to the cross device section and download dual recovery installer by NUT.. Extract the installer to your desk top, make sure you have debugging checked on your phone, connect your phone to pc with usb, go to dual recovery folder and click the .bat according to your root ie superuser or supersu. Follow the instructions and you have working recovery.. Please note, this will not work with kingroot.. Horrible app anyway..
Sent from my ZR

hagar006 said:
Ok.. Go to the cross device section and download dual recovery installer by NUT.. Extract the installer to your desk top, make sure you have debugging checked on your phone, connect your phone to pc with usb, go to dual recovery folder and click the .bat according to your root ie superuser or supersu. Follow the instructions and you have working recovery.. Please note, this will not work with kingroot.. Horrible app anyway..
Sent from my ZR
Click to expand...
Click to collapse
I rooted with Kingroot, but I changed it to SuperSU. Is this okay?
EDIT: Wow, thanks, it worked!
Sent from my C5502 using Tapatalk

Related

[Q] Rooted or not?

Hi I'm new here.
I have xperia x8 and would like to know did i rooted or did I not rooted my phone.
I downloaded superoneclick...follow instructions but didnt make backup with xrecovery or anything else.
my phone wanted superuser permission for some battery thing ....
and one more thing!
Do I have to install some custom ROM for android 2.2 or I already have 2.2?
because in settings->about phone->firmware version is 2.1-update1
->build number is 2.1.1.A.0.6
pls help
mario1024 said:
Hi I'm new here.
I have xperia x8 and would like to know did i rooted or did I not rooted my phone.
I downloaded superoneclick...follow instructions but didnt make backup with xrecovery or anything else.
my phone wanted superuser permission for some battery thing ....
and one more thing!
Do I have to install some custom ROM for android 2.2 or I already have 2.2?
because in settings->about phone->firmware version is 2.1-update1
->build number is 2.1.1.A.0.6
pls help
Click to expand...
Click to collapse
The easiest way would be to open the "Terminal" (if not installed -> this is what you're looking for) and type 'su'.
If the su binary exists and works you're most likely rooted.
The build string of 2.1.1.A.0.6 means you got the genuine Sony Ericsson Android 2.1 series ROM.
Android 2.1 ("Eclair") - 2.1.x
Android 2.2 ("Froyo") - 2.2.x
Android 2.3 ("Gingerbread") - 2.3.x
Finally, yes you need to install a custom ROM in order to run Android 2.2 (i.e. FroyoPro 2.4 by lrakkarl) or Android 2.3 (i.e. GingerDX by doixanh)
ok i downloaded it and type su nothing happened han i tryed with 'su' nothing happened...
i saw i have icon of superuser android guy with one eye covered
what know?
I am ashame to ask but how to install custom ROM?
mario1024 said:
ok i downloaded it and type su nothing happened han i tryed with 'su' nothing happened...
i saw i have icon of superuser android guy with one eye covered
what know?
I am ashame to ask but how to install custom ROM?
Click to expand...
Click to collapse
Type su and press enter (the button bottom and right in the keyboard) the $ icon will turn to # if you are rooted and it will tell sth like "access denied" if you are not.
If you have superuser and you haven't downloaded from market you are rooted.
If you want to know how to install a custom rom just use the search button and you will find a lot of threads!
sent from my x8 using xda premium
tnx!
my phone is rooted
it is #
i cant go in xrecovery
i got 3 files (1 rar other 2 are something else) in instructions:is to copy that 3 files into system/bin folder
i did that and turn off and on my mobile phone press back key and nothing happened.Any help for this?
i also downloaded floyo-1.0 ->what is that(its a custom ROM) but which one?
mario1024 said:
tnx!
my phone is rooted
it is #
i cant go in xrecovery
i got 3 files (1 rar other 2 are something else) in instructions:is to copy that 3 files into system/bin folder
i did that and turn off and on my mobile phone press back key and nothing happened.Any help for this?
i also downloaded floyo-1.0 ->what is that(its a custom ROM) but which one?
Click to expand...
Click to collapse
No, I was talking about these ROMs (at the time of writing) here:
FroyoPro v2.4 by lrakkarl
GingerDX v022 by doixanh (Recommended)
Note about GingerDX Downloads:
The download links in doixanh's post are dead at the moment. Click the Link in my signature for GingerDX downloads ... but read on first.
Now, as for xRecovery:
To make it easy for you. Click the link in my signature and hop into the "Recoveries" folder. Download the "xRecovery_Installer_v0.1.apk", copy it onto the SD card of your phone (connect in USB-Storage mode and copy the file).
By using a File Manager like Root Browser Lite you then install the APK from your SD card.
One it has been installed you will find the "xRecovery Installer" icon in the list of apps - tap it, follow instructions to install xRecovery.
Once you installed xRecovery continue like this ...
Download GingerDX v013 AND GingerDX v022 as well as the ModulesStockKernel AddOn (you find everything in my MediaFire folder).
Copy all three files onto your SD card.
Once the files are copied ...
Reboot the phone and keep on pressing the "BACK" button once the "Sony Ericsson" logo shows up to get into xRecovery.
In there you select to flash a custom zip, navigate to the GingerDX v013 ZIP on your SD card and flash it.
Once that ROM has been flashed reboot.
Once the "Sony Ericsson" logo shows up again keep on tapping onto the screen to get into ClockworkMod recovery (do NOT boot up yet)!
In there you do almost the same as before ...
Select to flash a custom zip, navigate to the GingerDX v022 ZIP on your SD card and flash it.
Once the flash has been done you select to flash a custom ZIP again and flash the ModulesStockKernel ZIP.
Once that is done you select "Full Wipe (Factory Reset)" and then you are free to reboot into GingerDX v022.
In case of questions, post.
ok tnx but now i have different problem
i installed xrecovery and busybox(need installation) and root explorer
and then ,when i wanted to install busy box it said i don't have superuser permission??
brfore that as you can se in my earlier post when i write su its #
but now is su:must be suid to work properly
help
i try unroot(via superoneclick)but program has frozen.....
i try to root it again then this appears:it seems your device is rooted
HELP pls?
sorrry for bad language
mario1024 said:
ok tnx but now i have different problem
i installed xrecovery and busybox(need installation) and root explorer
and then ,when i wanted to install busy box it said i don't have superuser permission??
brfore that as you can se in my earlier post when i write su its #
but now is su:must be suid to work properly
help
i try unroot(via superoneclick)but program has frozen.....
i try to root it again then this appears:it seems your device is rooted
HELP pls?
sorrry for bad language
Click to expand...
Click to collapse
It said you don't have superuser permission? Or it open superuser and ask for permission?
Just hit allow!
*If the cursor is # you are rooted for sure, you don't have to reroot it.
sent from my x8 using xda premium
no no!!!
i tried to install busybox but it told me that I dont have superuser permission
and in terminal emulator when type su this appears: it seems your device is rooted
and i tried to unroot but when it comes to some point(installing busybox temporeraly-step change mode ) proggram freeze
mario1024 said:
no no!!!
i tried to install busybox but it told me that I dont have superuser permission
and in terminal emulator when type su this appears: it seems your device is rooted
and i tried to unroot but when it comes to some point(installing busybox temporeraly-step change mode ) proggram freeze
Click to expand...
Click to collapse
Everytime I've used SuperOneClick its has installed busybox as part of the rooting process. Just try rooting your phone again and put the output from the log in this thread if you're still having issues. This is normally a very straight forward process.
Agenty1609 said:
Everytime I've used SuperOneClick its has installed busybox as part of the rooting process. Just try rooting your phone again and put the output from the log in this thread if you're still having issues. This is normally a very straight forward process.
Click to expand...
Click to collapse
i removed busybox(from market)from my phone and rerooted ,succesfull but than i went to terminal emulator and type su ......no #!!!!!!!
I am going to reroot one more time if a failed i am going to factory data erase!
I'd say re-root your phone with SuperOneClick again. Once you believe that it is rooted, go to the market and search for an app with "root" in its name (e.g. something like "root memory manager" - Or any program that states root access is needed). Install the app and then load it up, it should then popup asking to allow superuser acsess, click "Allow" - The App should load as intended.... This means your phone IS roooted! (Click yes on the popup to allow root access too the app, job done!)
ok i am going to try that but now i must go!
seems like you have to reroot it.
pay attention to the installation of busybox:
if this dont fix your problem then as you said do a full wipe and try again!
@mario1024
The xRecovery Installer (the APK I recommended to you) installs everything you need - the xRecovery Installer will put busybox, chargemon and xrecovery.tar into the system ... you, of course, need to have root.
If you have problems rooting with SuperOneClick ...
Download Flashtool v0.2.9.1 (again, see the link in my Sig and hop into the "Flashtool" folder).
Boot your phone, enable USB-Debugging, connect to phone to the computer in "Charging mode".
- Start Flashtool
- Press the "Root" button
A automatic reboot will follow!
Once the phone rebooted...
Connect in "Charging mode" again.
- Press the "Ask root perm" button and look at your phone.
You will get a popup from Superuser to grant su permissions.
Confirm the request!
- Now click the "xRecovery" button to inject xRecovery into your phone.
Done - rooted and xRecovery in one go.
B.Jay said:
@mario1024
The xRecovery Installer (the APK I recommended to you) installs everything you need - the xRecovery Installer will put busybox, chargemon and xrecovery.tar into the system ... you, of course, need to have root.
If you have problems rooting with SuperOneClick ...
Download Flashtool v0.2.9.1 (again, see the link in my Sig and hop into the "Flashtool" folder).
Boot your phone, enable USB-Debugging, connect to phone to the computer in "Charging mode".
- Start Flashtool
- Press the "Root" button
A automatic reboot will follow!
Once the phone rebooted...
Connect in "Charging mode" again.
- Press the "Ask root perm" button and look at your phone.
You will get a popup from Superuser to grant su permissions.
Confirm the request!
- Now click the "xRecovery" button to inject xRecovery into your phone.
Done - rooted and xRecovery in one go.
Click to expand...
Click to collapse
I did everything but when I rooted and press ask root perms nothing happened just my phone turn off and on(i install xrecovery after rooting)
is there something like xrecovery? alternative?
and btw tnx
sorry i write wrong
i did everything (ask root perms and then xrecovery) yey
what now?
mario1024 said:
I did everything but when I rooted and press ask root perms nothing happened just my phone turn off and on(i install xrecovery after rooting)
is there something like xrecovery? alternative?
and btw tnx
Click to expand...
Click to collapse
No, there's no alternative to xRecovery.
EDIT: Not entirely true ... there's the x8toolbox by puppet13th that's able to inject Dual Recovery (xRecovery AND ClockworkMod recovery) - though you need root for x8toolbox to do its job.
Anyhow, since you are trying for quite a few attempts now: To be on the safe side, as the thing that happened was not the intended outcome, try to restore back to plain Stock ROM and re-try from there.
Using a clean Stock ROM may lead to what we want without troubles.
mario1024 said:
sorry i write wrong
i did everything (ask root perms and then xrecovery) yey
what now?
Click to expand...
Click to collapse
I am a little confused... If I am understanding well you did the whole thing but what do you mean"what now?"?
sent from my x8 using xda premium
mario1024 said:
sorry i write wrong
i did everything (ask root perms and then xrecovery) yey
what now?
Click to expand...
Click to collapse
Now continue with flashing a custom ROM ...
I already put the steps on how to flash GingerDX in a two-step process into a previous post.

[TUT] HTC Unlock/Recovery/Rooting *Noobs*

​
The Ultimate guide on how to do everything for noobs
Anyone taking these steps please be aware, you do this as your own choice/Risk....If you have anything important on your phone, back it up right now before you proceed....as everything will be wiped by the bootloader unlock!
Bootloader unlock.
Download this >http://www.mediafire.com/download.php?uma19r3pysr93dr
Unzip into a new folder on your c: called Android (C:/Android)
Plug your Phone into Computer/PC and select charge only.
Follow the guide precisely on HTC
1. Go to HTCDEV website: http://www.htcdev.com/bootloader/
2. Click on "Begin Unlock Bootloader" (create a user if you don't have one)
3. follow the instructions step 1 through step 10 on htcdev.com
4. In step 10, when posting your token, make sure you remove the blanks preceding each line
5. After you receive your Unlock_code.bin in email, follow step 11.
6. Now your rezound should reboot and you have your bootloader unlocked.
so you have updated the HBOOT and unlock bootloader....
Good now for the next bit.
If by chance you cannot unlock via HTC Dev please tell me as i maybe able to help you on that.
I require knowing which RUU you have installed, this u will find out by using HTC Dev.
Using HBOOT 1.0.7 and updating should be easy and fast.
Installing CWM 5 (Recovery Menu)
Please also read my orther thread on recoverys...it hold same details with extras >http://forum.xda-developers.com/showthread.php?t=1791707
This is a program installed into the phone itself.
This allows you to do pretty much anything you want.
Main things are Backup and restore of your device.
Flashing of custom Roms
Here is the recovery file >http://forum.xda-developers.com/attachment.php?attachmentid=852074&d=1326296914
Save the recovery.img and flash_image in the root of your adb folder.(this means C:/Android)
Now using DOS CMD window
goto C:/Android
*hint, copy the txt in these windows into your DOS window and press enter....it saves time and spelling errors*
DOS txt
Code:
adb reboot bootloader
it should now reboot and show Fastboot USB mode
DOS txt
Code:
fastboot flash recovery recovery.img
from the hboot menu, go to recovery.
now if above doesn't work and you cannot get into bootloader to flash the cwm. follow this
pull out battery
insert battery
hold volume down key and press power at same time
Hboot will appear
scroll down and select bootloader option, press power.
and your ready now in fastboot usb mode
Rooting
Please note, this method is old, current methods are simply just flash a new rom!
All roms come Pre Rooted with all apps required to run with root (Superuser)
For details in these check out the Android Development forum in our salsa section.
or go here>http://forum.xda-developers.com/forumdisplay.php?f=1043
Download this file >http://www.mediafire.com/download.php?pypn6v69o0vnvl9
(This is outdated somewhat and requires updating via Google Play)
place this file on the base of your sd card.
Now goto your new recovery menu.
use this cmd from DOS Windows
Code:
adb reboot recovery
it will reboot automatically
1-Select Install Zip from SDcard
2-Choose Zip from SDcard
3-Find Root.Zip on the SD card
4-Scroll upto Yes-Install Root.zip
it will now flash the root.zip
5-Go back
6-Reboot System Now
Now from here you will have done the following
Unlocked your bootloader
Flashed recovery system
Rooted your stock device.
if by any chance you make a mistake which is not very likely, but odd chance u do...redo the steps per section till you get it right.
WIKI
Root-2 meanings
System root giving superuser access pr SU
Root of SD - meaning base of sd no folders
ADB Android debug bridge - used with dos commands when phone is plugged into computer via USB cable
extra Utilities are Java SDK
>http://www.oracle.com/technetwork/java/javase/downloads/index.html
Download and install accordingly to instructions given.
this gives access to more functions via ADB
thanks
thank you sir, you are a genius. i was stuck in 'adb'. and dont know what does it mean. got it cleared from geek.com . would like to suggest that please also add things like 'installing utilities from android sdk platform, root means the root directory of system(usually c:\ )for amateurs like me.
nevertheless it's really a useful post.... hats off to you and developers of this site!!!!!!
Save the recovery.img and flash_image in the root of your adb folder
MOD EDIT: No need to quote the whole post when asking a question
"Save the recovery.img and flash_image in the root of your adb folder"What does this mean root of adb folder???and from where will i get this file- flash_image??
raghavaggsss said:
"Save the recovery.img and flash_image in the root of your adb folder"What does this mean root of adb folder???and from where will i get this file- flash_image??
Click to expand...
Click to collapse
read the OP, the files are in the link provided!
>Here is the recovery file >http://forum.xda-developers.com/atta...4&d=1326296914<
can u also trim down the quotes too....being as the first post is big...
Files given by your link
Do we have to download these files from htcdev.com or can we just use your files posted here????
the files are:
adb.exe
AdbWinApi.dll
fastboot.exe
kashttl said:
Do we have to download these files from htcdev.com or can we just use your files posted here????
the files are:
adb.exe
AdbWinApi.dll
fastboot.exe
Click to expand...
Click to collapse
i've hosted the files here in my thread so u don't have to get them from HTCDEV.
Stuck at step 8.. please help!!!!
I am stuck at step 8
It's supposed to show some block of text
Which didn't come up.....
Instead I got a message saying--
<Waiting for the device>
Please help me out....
kashttl said:
I am stuck at step 8
It's supposed to show some block of text
Which didn't come up.....
Instead I got a message saying--
<Waiting for the device>
Please help me out....
Click to expand...
Click to collapse
settings>applications>Development>Debugging mode (Select this option)
Now retry the cmds.
already in debug mode
BigBearEvo said:
settings>applications>Development>Debugging mode (Select this option)
Now retry the cmds.
Click to expand...
Click to collapse
its already in debug mode...... Still not working
kashttl said:
its already in debug mode...... Still not working
Click to expand...
Click to collapse
only thing left is your hboot update!
do u have locked or unlocked in pink?
I dit it all
BigBearEvo said:
only thing left is your hboot update!
do u have locked or unlocked in pink?
Click to expand...
Click to collapse
What is
locked or unlocked in pink
Click to expand...
Click to collapse
kashttl said:
What is
Click to expand...
Click to collapse
in your hboot menu or bootloader menu, at the top of the screen it will show up locked or unlocked in a pink background, u can't miss it!
do u have this locked or unlocked?
Unlocked or locked....
It's locked..... It shows something like
LOCKED(OOW)
Click to expand...
Click to collapse
What could i do now.......!!!
kashttl said:
It's locked..... It shows something like
What could i do now.......!!!
Click to expand...
Click to collapse
unlock it...simple...without going to htcdev and following the steps which you didn't do, i cannot help
Another problem(the CWM recovery part)........ when i use the adb reboot bootloader cmd command.... it show device not found.........What can I do........!!!
kashttl said:
Another problem(the CWM recovery part)........ when i use the adb reboot bootloader cmd command.... it show device not found.........What can I do........!!!
Click to expand...
Click to collapse
select debugging mode in settings>application>Development
if this is unchecked, check it. then try cmds.
if this is already enabled and it still dont work on cmds then reboot into hboot yourself.
to do this, pull out battery, insert battery, hold volume key down while pressing power on button, hboot will appear, now wait...then select bootloader, and then fastboot usb will appear.
now follow cmds to install recovery
again all this is explained in main thread
SuperUser?
Hi BBE,
Followed your tutorial and was successful at every step. But one thing that is bothering me (or maybe I messed up at some step) is that I still do not have the Superuser (Su) rights. I used "Root Check Basic" and it says I have Root access. But when I try to run "Link2sd" or "Titanium Backup" it says I do not have Superuser rights. Is this method supposed to give us Superuser rights? If yes then what should I do now? If no then how can I get Superuser rights for my HTC Salsa?
Thanks.
Zaeem
Look in the apps list and you should see a pirate like app icon. If you do open app up and update it. This should rectify the su problem. If not.gimme a shout
BB is using Xparent Tapatalk ICS Blue
BigBearEvo said:
Look in the apps list and you should see a pirate like app icon. If you do open app up and update it. This should rectify the su problem. If not.gimme a shout
BB is using Xparent Tapatalk ICS Blue
Click to expand...
Click to collapse
Yea I did update it myself and now I have Su on my Salsa . However the binary is out dated and when I try to update it, it gives me 'failure' status. Downloaded the SuperUser binary installer fix from Market but still getting the error. Any help with that? (I think I am good even with the out dated binary though)
ZaeemRaza said:
Yea I did update it myself and now I have Su on my Salsa . However the binary is out dated and when I try to update it, it gives me 'failure' status. Downloaded the SuperUser binary installer fix from Market but still getting the error. Any help with that? (I think I am good even with the out dated binary though)
Click to expand...
Click to collapse
ok goto market, download, SuperSU looks like a large blue hashtag lol.
install that, update it etc, see if that runs, if you get successful updated binary, reboot the phone. u can run with both SU apps, but you would be better removing the old Su in favour of the new one...im gonna look around for a root.zip with new Super Su in there

[Q] Hi, all! Question about clockworkmod and unsecure image for 20A

Hi, this is my first post and I am a noob.
I have some problems with the post in " LG Optimus 4X HD > Optimus 4X HD Android Development"
[JB][412][CWM] ClockWorkMod 6.0.2.8 + unsecure images for v20a (FREEDOM for EUR-xxx) from Dexter_nlb.
I have read carefully the instruction to install the clockworkmod and the unsecure image for 20A and I tried to do what he said but no way!
Can someone explain me how to do these steps?
GUIDE:
1. when you are running unlocked bootloader and is rooted goto step 2.
I have the unlocked bootloader and root in 20A JB:good::good:
2. download attached zip files and extract content to internal sdcard location
I have done this step:good::good:
3. use adb shell or terminal from market and execute the commands below
I execute the commands but the command promp said "permission denied" (look at the attachment) (I use Android Terminal Emulator)
execute these 3 commands for recovery image install
Code:
su
cat /mnt/sdcard/recovery-6028.img >/dev/block/mmcblk0p1
sync
execute these 3 commands for unsecure boot image install
Code:
su
cat /mnt/sdcard/unsecure-boot-mmcblk0p2.img >/dev/block/mmcblk0p2
sync
This is my request: can someone create a adb script that makes these steps easily than easy?
Or someone tell me how to do that with windows command prompt.
Because I'm a noob and I have no idea how to make it work!
thanks in advance
Sorry for my english but I am Italian
there u go
m0b said:
Wroute a little bat-file maybe it will help someone
http://rghost.ru/download/44463798/f3e00b212c2b50a3665c6de83a4285722cf34dfd/recovery boot.zip
Before start, you need unlocked bootloader and root!
1. Download file
2. UnZIP it
3. Run install.bat
4. Enjoy recovery and unsecure boot
It also checks root permissions: "uid=0(root) gid=0(root)" means it's alright.
Click to expand...
Click to collapse
found this from [JB][412][CWM] ClockWorkMod 6.0.2.8 + unsecure images for v20a (FREEDOM for EUR-xxx)
UncleRipper said:
...
Click to expand...
Click to collapse
Did you grant terminal emulator Superuser permission?
R: [Q] Hi, all! Question about clockworkmod and unsecure image for 20A
Yes with su command and supersu request to root access.
Sent from my LG-P880 using xda app-developers app
R: [Q] Hi, all! Question about clockworkmod and unsecure image for 20A
Thanks. Sorry for another unuseful thread
Sent from my LG-P880 using xda app-developers app
Check your root , the permission denied because SuperUser denied . When you enter "su" in termimal then you will see a "#" which means the root permission .
Download "SuperSU" from play store ,, when you open it will ask you to update su binary press ok to update it .
Sent From My LG-P880 (O4X) .
By Pressing "THANKS" You Will Help Me .
obviously you need root your device at first place.
Sent from my LG-P880 using Tapatalk 2
R: [Q] Hi, all! Question about clockworkmod and unsecure image for 20A
Of course I have rooted my lg P880, installed superSU instead of superuser and when terminal emulator ask the root permission, i've tap on allow.
I think that is all OK...
Sent from my LG-P880 using xda app-developers app
UncleRipper said:
Of course I have rooted my lg P880, installed superSU instead of superuser and when terminal emulator ask the root permission, i've tap on allow.
I think that is all OK...
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
Nope...root access is marked with # and user with $
What you did wrong in rooting process I don't know, I just used easy method and had zero root and SU issues:
http://forum.xda-developers.com/showthread.php?t=2180688
BTW mine is not unlocked, so no CWM and I don't miss it at the moment...

[Q] help needed with SET_IMMUTABLE.LIST

can anybody help me? i just rooted my huawei ascen p7-L10 USING Kingoroot apk, now the phone is rooted but it still has a locked bootloader and set_immutable.list isnt removed.
i wanted to install twrp on my device but cant (yes still stock recovery) and the flashify does not get root permission but other apps and root checker do. any ideas how to fix this? yes also busybox installed.
and trough command emulator i tryd to remove set_immutable.list but at the end command emulater fails with the error that it cant wright system, read only.
i am running android 4.4.2 with emui v3, build number: p7-l10v100r001c00b609. kingo user as supersu.
yes ive searched the web but theres really so little support for this device.
if anyone can help, thank you. (i prefer not using a pc but if theres no other way ill do it)
for removing set immutable list i used these commands:
su
mount -o rw,remount /system
cd system
lsattr
chattr -R -i *
rm –f /system/set_immutable.list
lsattr
look here: http://forum.xda-developers.com/showthread.php?t=3003605
blueIBI said:
look here: http://forum.xda-developers.com/showthread.php?t=3003605
Click to expand...
Click to collapse
Thanks but i still cant remove set immutable list somehow as i explained in my original post.
But i managed to get twrp on the device but it freezes immidiatly (maybe i need to wipe dalvik and cache, any ideas wich app that does this?)
Sent from my HUAWEI P7-L10 using XDA Free mobile app
you need to change the stock boot.img to a modded boot.img (should be on the first posts..i recommend the boot_hrt_emui3.0.img)(this is for the b609 firmware)..
after that root your device again..and do the steps as described in the thread i linked to..
there is a working recovery (twrp 2.8.6.0)..should be in developement section a thread for twrp..
blueIBI said:
you need to change the stock boot.img to a modded boot.img (should be on the first posts..i recommend the boot_hrt_emui3.0.img)(this is for the b609 firmware)..
after that root your device again..and do the steps as described in the thread i linked to..
there is a working recovery (twrp 2.8.6.0)..should be in developement section a thread for twrp..
Click to expand...
Click to collapse
Thanks, and this cannot be flashed trough an command emulator? So i need a pc?
blueIBI said:
you need to change the stock boot.img to a modded boot.img (should be on the first posts..i recommend the boot_hrt_emui3.0.img)(this is for the b609 firmware)..
after that root your device again..and do the steps as described in the thread i linked to..
there is a working recovery (twrp 2.8.6.0)..should be in developement section a thread for twrp..
Click to expand...
Click to collapse
I just found out i have an unlocked bootloader.
Is there no other way? Cant i just flash a recovery and then install a custom rom?
Sent from my GT-I9205 using XDA Free mobile app
So i fixed my problem a long time ago but forgot my thread... Oops
Anyway i found a way to bypass set_immutable.list.
When using kingoroot i tryd to use the Flashify app from google play...but it doesnt support kingo root so i didnt work but there are other flash apps for boot.img and recovery.img.
I flashed a recover.img and installed my rom for a temporarily solution for my problem, but i can just flash a modded boot.img and reflash the stock recovery with flashify(i now have the supported supersu with my rom) and then force upgrade my firmware again and from there i can easily remove set_immutable.list and then root again flash rom etc. This is without a pc.
Flashify may be less stable for this but i never had a problem with it.
Hope this can help other people who dont have a pc to use
Sent from my HUAWEI P7-L10 using XDA Free mobile app

no recovery, no download mode, no micro usb, but root?

hello dears,
i have very big problem with my c6603. i installed first lollipop hongkong version to my c6603. every function works but i want to install mods and other roms but; my phones usb port doesnt let the pc recognize as "phone". it is not driver problem ; it is hardware failure definetly. the port just charging my phone. And on the phone there is no recovery and download mode. But phone has root. i tried a few things to install custom recovery but couldnt be success. unlocked bootloader but no recovery as i said. i really appreciate if there is a solution. many thanks
mca1 said:
hello dears,
i have very big problem with my c6603. i installed first lollipop hongkong version to my c6603. every function works but i want to install mods and other roms but; my phones usb port doesnt let the pc recognize as "phone". it is not driver problem ; it is hardware failure definetly. the port just charging my phone. And on the phone there is no recovery and download mode. But phone has root. i tried a few things to install custom recovery but couldnt be success. unlocked bootloader but no recovery as i said. i really appreciate if there is a solution. many thanks
Click to expand...
Click to collapse
How did you install that Hong Kong lollipop?
mca1 said:
hello dears,
i have very big problem with my c6603. i installed first lollipop hongkong version to my c6603. every function works but i want to install mods and other roms but; my phones usb port doesnt let the pc recognize as "phone". it is not driver problem ; it is hardware failure definetly. the port just charging my phone. And on the phone there is no recovery and download mode. But phone has root. i tried a few things to install custom recovery but couldnt be success. unlocked bootloader but no recovery as i said. i really appreciate if there is a solution. many thanks
Click to expand...
Click to collapse
Hi there.If you have root access and unlocked bootloader,you can install TWRP even without pc connection.
first you should download a terminal emulator app from google play.
then you should download the latest version of TWRP image file from here https://dl.twrp.me/yuga/.
Place it in the root of your /sdcard folder and rename it to twrp.img
Run the following commands in terminal app
Code:
su
and then we write recovery image file to FOTA with dd command.
Code:
dd if=/sdcard/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
and it's done.
press thanks if it was helpful.
i installed hk lollipop zip from my custom twrp recovery. and when rom istall has finished ; recovery gone.
mrp1375 said:
Hi there.If you have root access and unlocked bootloader,you can install TWRP even without pc connection.
first you should download a terminal emulator app from google play.
then you should download the latest version of TWRP image file from here https://dl.twrp.me/yuga/.
Place it in the root of your /sdcard folder and rename it to twrp.img
Run the following commands in terminal app
Code:
su
and then we write recovery image file to FOTA with dd command.
Code:
dd if=/sdcard/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
and it's done.
press thanks if it was helpful.
Click to expand...
Click to collapse
thank you mrp1375 but i tried this method and when i want to go recovery phone only restarts. because phone has no stock recovery.
mca1 said:
thank you mrp1375 but i tried this method and when i want to go recovery phone only restarts. because phone has no stock recovery.
Click to expand...
Click to collapse
Below are 2 solutions to get a properly working recovery
Preperation:
1. Download Dual recovery installer: XZ-lockeddualrecovery2.8.23-RELEASE.combined.zip
2. Install NDRUtils
Next up we will test if the TWRP you installed works or not
-open NDRUtils and choose to boot into TWRP recovery.
Now unhide the result that you got to continue with the installation:
OK: I am now in TWRP
flash XZ-lockeddualrecovery2.8.23-RELEASE.combined.zip and reboot.
Everything will work normally now.
Not OK: I am not in TWRP
Reboot the phone if you have to (hold power until you feel 3 vibrations and then turn the phone back on)
You need to download this: http://nut.xperia-files.com/path/XZDualRecovery/Kernel_Builder
To get the right file make sure to selec the xperia z c6603 and select the rom version you are using, you can view what you have in settings, about phone, build number.
it will be much easier for you if you install this: X-plore File Manager The reason i recommend this application is that it automatically makes sure the file rights are correct.
Go into the settings and enable superuser +mount root mode
Now you can browse to the folder where you downloaded the zip in the left pane.
go into the zip and and then into tmp
Select the boot.img
now move to the right pane and browse to the root of your SD card like the comment above
go back to the left pane and with boot.img still checked click copy.
Now follow the original instructions mrp1375 gave you, but notice the different filename
Open terminal
Type : su
Type: dd if=/sdcard/boot.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
Now you can reboot and if it worked the phone will vibrate twice and show a green led meaning you can press the down button to enter TWRP recovery.
Go into the recovery and now flash XZ-lockeddualrecovery2.8.23-RELEASE.combined.zip so you get a proper installation
Now remember this very important fact:
Whenever you flash or wipe anything you MUST reinstall recovery and root again.
This is a failsafe strategy you can NEVER ignore becaus of your usb issues.
Keep SuperSu installer and XZ-lockeddualrecovery installer on your device at all times!
thank you
mca1 said:
thank you
Click to expand...
Click to collapse
Does that mean it worked?
tetsuo55 said:
Does that mean it worked?
Click to expand...
Click to collapse
Yes it worked, thank you much. :good:
tetsuo55 said:
Below are 2 solutions to get a properly working recovery
Next up we will test if the TWRP you installed works or not
-open NDRUtils and choose to boot into TWRP recovery.
Now unhide the result that you got to continue with the installation:
OK: I am now in TWRP
flash XZ-lockeddualrecovery2.8.23-RELEASE.combined.zip and reboot.
Everything will work normally now.
Not OK: I am not in TWRP
Reboot the phone if you have to (hold power until you feel 3 vibrations and then turn the phone back on)
You need to download this:
To get the right file make sure to selec the xperia z c6603 and select the rom version you are using, you can view what you have in settings, about phone, build number.
it will be much easier for you if you install this: The reason i recommend this application is that it automatically makes sure the file rights are correct.
Go into the settings and enable superuser +mount root mode
Now you can browse to the folder where you downloaded the zip in the left pane.
go into the zip and and then into tmp
Select the boot.img
now move to the right pane and browse to the root of your SD card like the comment above
go back to the left pane and with boot.img still checked click copy.
Now follow the original instructions mrp1375 gave you, but notice the different filename
Open terminal
Type : su
Type: dd if=/sdcard/boot.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
Now you can reboot and if it worked the phone will vibrate twice and show a green led meaning you can press the down button to enter TWRP recovery.
Go into the recovery and now flash XZ-lockeddualrecovery2.8.23-RELEASE.combined.zip so you get a proper installation
Now remember this very important fact:
Whenever you flash or wipe anything you MUST reinstall recovery and root again.
This is a failsafe strategy you can NEVER ignore becaus of your usb issues.
Keep SuperSu installer and XZ-lockeddualrecovery installer on your device at all times!
Click to expand...
Click to collapse
Hey! I have the same problem as the OP here. I followed the instructions like 5 times and still couldnt get it to work. The terminal is saying that "No space left on device" when i type "dd if=/sdcard/boot.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel"
any way to fix this? Thanks!
comcastic08 said:
Hey! I have the same problem as the OP here. I followed the instructions like 5 times and still couldnt get it to work. The terminal is saying that "No space left on device" when i type "dd if=/sdcard/boot.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel"
any way to fix this? Thanks!
Click to expand...
Click to collapse
That error sounds like either you dont have root or you have a typo, can you make a screenshot?
tetsuo55 said:
That error sounds like either you dont have root or you have a typo, can you make a screenshot?
Click to expand...
Click to collapse
snag. gy/gi8Ji. jpg
sorry i cant post links yet
comcastic08 said:
snag. gy/gi8Ji. jpg
sorry i cant post links yet
Click to expand...
Click to collapse
That doesnt look quite right it should look like this:
Code:
[email protected]:/ $
Then you type "su" (without the quotes) and press enter
The display then changes to:
Code:
[email protected]:/ #
Now you type "dd if=/sdcard/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel" (without the quotes) and press enter
And then it should work properly.
tetsuo55 said:
That doesnt look quite right it should look like this:
Code:
[email protected]:/ $
Then you type "su" (without the quotes) and press enter
The display then changes to:
Code:
[email protected]:/ #
Now you type "dd if=/sdcard/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel" (without the quotes) and press enter
And then it should work properly.
Click to expand...
Click to collapse
i typed su before that code and the same error occured sadly
why did my usb port had to break ugh
comcastic08 said:
i typed su before that code and the same error occured sadly
why did my usb port had to break ugh
Click to expand...
Click to collapse
Can I have another screenshot of that?
tetsuo55 said:
Can I have another screenshot of that?
Click to expand...
Click to collapse
snag .gy/AekHa. jpg
comcastic08 said:
snag .gy/AekHa. jpg
Click to expand...
Click to collapse
In that screenshot i see again the same mistake i mentioned before
please do this
Just type only su and enter
and then send me the screenshot of that.
tetsuo55 said:
In that screenshot i see again the same mistake i mentioned before
please do this
Just type only su and enter
and then send me the screenshot of that.
Click to expand...
Click to collapse
snag. gy/aWyCY .jpg
comcastic08 said:
snag. gy/aWyCY .jpg
Click to expand...
Click to collapse
All i can think of is that you have the wrong boot.img
tetsuo55 said:
All i can think of is that you have the wrong boot.img
Click to expand...
Click to collapse
i downloaded the one you said XZ-lockeddualrecovery2.8.23-RELEASE.combined.zip and renamed it to boot.img
even the twrp.img doesnt work ugh

Categories

Resources