Can not unlock HTC One X. - HTC One X

I tried a number of efforts but my Htc never unlocked.... i tired to shell adb but su was not found then i tried to install su on my device but it cant be helped then i tried to push su into my device's system but it failed and it gave a message "Failed to push read only..."

You may need to start at the beginning with your story.
You can't just push su binary and run it.
Do you even have the Tegra3 One X?

osamarehman said:
I tried a number of efforts but my Htc never unlocked.... i tired to shell adb but su was not found then i tried to install su on my device but it cant be helped then i tried to push su into my device's system but it failed and it gave a message "Failed to push read only..."
Click to expand...
Click to collapse
you have to unlock your device with http://htcdev.com/bootloader/
-you must register on the site
-on the right side of the site choose "all other devices" in ---select your device---
-press the big green button: "begin unlock bootloader"
-follow the instruction, i did it yesterday and it works!
ATTENTION: this procedure will wipe your device so you should do a back up.
hope i helped

glukosio said:
you have to unlock your device with http://htcdev.com/bootloader/
-you must register on the site
-on the right side of the site choose "all other devices" in ---select your device---
-press the big green button: "begin unlock bootloader"
-follow the instruction, i did it yesterday and it works!
ATTENTION: this procedure will wipe your device so you should do a back up.
hope i helped
Click to expand...
Click to collapse
+1

thanx to glukosio i have succesfully unlocked my htc but still i cant debug it with my pc,,, anything i do to write somthing to system it says read only permission denied....

Because you still need to root it
Sent from my HTC One X using Tapatalk 2

osamarehman said:
thanx to glukosio i have succesfully unlocked my htc but still i cant debug it with my pc,,, anything i do to write somthing to system it says read only permission denied....
Click to expand...
Click to collapse
you have to root your device:
-first you must install http://forum.xda-developers.com/showthread.php?t=1594819 this is clockworkmod recovery
-then you have to install http://forum.xda-developers.com/showthread.php?t=1538053 this is root
there is guides inside links, if you have some problem ask me

when i try to flash the included recovery.img with the fastboot command,,, it says unknown partition. error can not determine image filename.

osamarehman said:
when i try to flash the included recovery.img with the fastboot command,,, it says unknown partition. error can not determine image filename.
Click to expand...
Click to collapse
What firmware version do you have?

osamarehman said:
when i try to flash the included recovery.img with the fastboot command,,, it says unknown partition. error can not determine image filename.
Click to expand...
Click to collapse
what is the complete command you write?

"fastboot flash name-of-recovery-file.img"

android ver 4.0.3
HTC sense version 4.0
software number 1.29.401.11
HTC SDK API level 4.12

osamarehman said:
"fastboot flash name-of-recovery-file.img"
Click to expand...
Click to collapse
i think you must write
Code:
fastboot flash recovery name-of-recovery-file.img
but instead of "name-of-recovery-file.img" you must write the name of img file

Thanx i have successfully rooted my device.

Related

How to root your HTC One X (for Windows, Mac and Linux)

In order to root devices with unlocked bootloaders, I normally post a 'superboot' image. However, at the time of writing, the HTC One X (Tegra3) has an issue with it's bootloader whereby it is unable to 'fastboot boot' images, so this is not possible. The superboot is posted below for when this is resolved, however for now I have also included an alternate method.
I am currently working directly with HTCDev to solve the 'fastboot boot' issue.
Your bootloader must be unlocked via htcdev.com to use these solutions.
EASIEST ROOT METHOD - 'RECOVERY + SUPERSU'
The easiest way to get root is now to install the official ClockworkMod release and then flash the latest SuperSU zip file. This approach is highly recommended (I also recommend running a backup as soon as you've flashed clockworkmod!)
ALTERNATE ROOT METHOD - 'INSECURE BOOT AND ROOT'
This zip file contains an insecure boot image to flash to your device and a script which will then push the root (SuperSU) files to your device. This is only tested on 1.27.401.2 / 1.27.401.7. USE AT YOUR OWN RISK!
Download
InsecureBootAndRoot - DOWNLOAD
How to use InsecureBootAndRoot - Windows, Linux and OSX
- Download the InsecureBootAndRoot zip file above and extract to a directory
- Put your device in bootloader mode - Turn off the phone then turn on with the 'volume down' button pressed to enter the bootloader, then press the power button again to enter fastboot.
- WINDOWS - double click 'install-insecure-windows.bat'
- MAC - Open a terminal window to the directory containing the files, and type 'chmod +x install-insecure-mac.sh' followed by './install-insecure-mac.sh'
- LINUX - Open a terminal window to the directory containing the files, and type 'chmod +x install-insecure-linux.sh' followed by './install-insecure-linux.sh'
The device will now flash the new boot image and reboot. Keep the device attached to USB and when it has rebooted, ensure USB debugging is enabled - the SuperSU files will then be installed.
CONVENTIONAL ROOT METHOD - 'SUPERBOOT' (currently not functioning on shippping devices).
Superboot is a boot.img that when booted, will root your device the first time you boot (installing su and the superuser APK). No need to flash any partitions, no need to mess around with ADB, no messing with the contents of your data partition, no overwriting the shipped ROM on your device, just boot the boot image using the instructions below and you're done!
Download
Superboot - DOWNLOAD
The superboot image is also 'insecure', allowing you to use 'adb remount' as well as having full ADB root access to your device until such time as you reboot after running this process (it's a non permanent ADB root as it's a 'fastboot boot' and not a 'fastboot flash' but it IS a permanent root in all other regards!).
How to use Superboot - Windows, Linux and OSX
- Download the Superboot zip file above and extract to a directory
- Put your device in bootloader mode - Turn off the phone then turn on with the 'volume down' button pressed to enter the bootloader, then press the power button again to enter fastboot.
- WINDOWS - double click 'install-superboot-windows.bat'
- MAC - Open a terminal window to the directory containing the files, and type 'chmod +x install-superboot-mac.sh' followed by './install-superboot-mac.sh'
- LINUX - Open a terminal window to the directory containing the files, and type 'chmod +x install-superboot-linux.sh' followed by './install-superboot-linux.sh'
P
PS If you find this useful, details on how to donate if you wish to do so are in the topic at MoDaCo.
Hey Paul, as far as I know, it's possible to flash boot.img via fastboot with htcdev.com unlocked One X http://forum.xda-developers.com/showpost.php?p=24341330&postcount=204
mike1986. said:
Hey Paul, as far as I know, it's possible to flash boot.img via fastboot with htcdev.com unlocked One X http://forum.xda-developers.com/showpost.php?p=24341330&postcount=204
Click to expand...
Click to collapse
yes, flashing works (fastboot flash boot.img), but booting (fastboot boot boot.img) does not
blubbers said:
yes, flashing works (fastboot flash boot.img), but booting (fastboot boot boot.img) does not
Click to expand...
Click to collapse
Ah sorry, haven't spotted Paul mentioned "boot" command only!
Correct.
I am working with HTCDev to solve the 'fastboot boot' issue.
P
Do you know if this will 'unlock' the phone as well? I mean open it too all network carriers...
It will not.
P
Thanks for your quick response. Do you know if there is a way to unlock them?
Hey Paul,
is there any chance to root the phone without unlocking the bootloader/S-OFF.
I know that the .img can be only flashed with S-OFF but it would be cool if you would be able to root the phone without using this way.
Any downsides to using the 'insecure' method? Hoping by the time I get my phone there may be a fix for the usual method anyway.
stanny2k said:
Thanks for your quick response. Do you know if there is a way to unlock them?
Click to expand...
Click to collapse
Not yet that i'm aware of.
torxx said:
Hey Paul,
is there any chance to root the phone without unlocking the bootloader/S-OFF.
I know that the .img can be only flashed with S-OFF but it would be cool if you would be able to root the phone without using this way.
Click to expand...
Click to collapse
This will come in time, but it's not an option yet.
Audioboxer said:
Any downsides to using the 'insecure' method? Hoping by the time I get my phone there may be a fix for the usual method anyway.
Click to expand...
Click to collapse
The only downside is the flash of the boot image overwrites your stock one, although you could in theory flash stock back after rooting (if you can source it for your ROM version).
P
Where can i download 1.27.401.2 / 1.27.401.7???
Sorry, 1.27.401.7 is in limited testing atm.
P
Thank you for providing your root solution to XDA.
Broncogr
Forum Moderator
SuperSU by ChainFire? Or Super User?
ShyamSasi said:
SuperSU by ChainFire? Or Super User?
Click to expand...
Click to collapse
SuperSU.
P
Sent from my HTC One X using Tapatalk
hi paul,
many thanks for your work and your efforts with htcdev!!
could you give me the exact command line for adb-windows how to save the current boot.img before i flash the unsecure image?
thanks again!
paulobrien said:
In order to root devices with unlocked bootloaders, I normally post a 'superboot' image. However, at the time of writing, the HTC One X (Tegra3) has an issue with it's bootloader whereby it is unable to 'fastboot boot' images, so this is not possible. The superboot is posted below for when this is resolved, however for now I have also included an alternate method.
Click to expand...
Click to collapse
i confirmed first solution is working !
I have root acces and mike 1986 ROM onboard
I did s-on by htc dev site
nowy57 said:
i confirmed first solution is working !
I have root acces and mike 1986 ROM onboard
I did s-on by htc dev site
Click to expand...
Click to collapse
How install the recovery ?
Thanks
paulobrien said:
Correct.
I am working with HTCDev to solve the 'fastboot boot' issue.
P
Click to expand...
Click to collapse
hmmmm another bugged bootloader.... thanks for the info... this is a VERY important issue for a kernel dev like me...
please keep us posted

[Q] Unable to root htc wildfire s, showing error image and update fail

while unlocking boot loader my software number 2.26.720.3, I unlocked boot loader without ruu because my rom version is not shown and even i downloaded some other versions but it not worked. Now in Hboot the transfer file Pg76img to sd it showing ,"wrong image" error and “main version old” error is coming ,plz help me to root my device.
me too
abdulaka said:
while unlocking boot loader my software number 2.26.720.3, I unlocked boot loader without ruu because my rom version is not shown and even i downloaded some other versions but it not worked. Now in Hboot the transfer file Pg76img to sd it showing ,"wrong image" error and “main version old” error is coming ,plz help me to root my device.
Click to expand...
Click to collapse
i am facing the similar problem,,,hv u got any solution ((abdulaka))
OK don't use PG76IMG.zip. Just try and fastboot flash from your computer. Go into fastboot menu and plug in your USB from computer to your phone. Now open command prompt. Remember to keep the recovery.img in the same place you kept your fastboot files. Then on command prompt navigate to where you kept the fastboot files and recovery.img using the "cd" function. Finally type in the words "fastboot flash recovery recovery.img" Congratulations you have installed the recovery!
Don't forget to press thanks if I helped.
Not working
thehacka1 said:
OK don't use PG76IMG.zip. Just try and fastboot flash from your computer. Go into fastboot menu and plug in your USB from computer to your phone. Now open command prompt. Remember to keep the recovery.img in the same place you kept your fastboot files. Then on command prompt navigate to where you kept the fastboot files and recovery.img using the "cd" function. Finally type in the words "fastboot flash recovery recovery.img" Congratulations you have installed the recovery!
Don't forget to press thanks if I helped.
Click to expand...
Click to collapse
Its not working yaar.. Its showing waiting for device.. and it taking time but no reaction in it..:crying:
easier way?
abdulaka said:
Its not working yaar.. Its showing waiting for device.. and it taking time but no reaction in it..:crying:
Click to expand...
Click to collapse
You may find this easier, if you still have the .img on the SD, delete it. You can try the All In One Tool by hasoon2000. He is a member here and you can simply search for the tool in this forum.
Good Luck!
in my wfs the root app is installed but i dont have root acces to anywhere...how is that happend?
strofakias said:
in my wfs the root app is installed but i dont have root acces to anywhere...how is that happend?
Click to expand...
Click to collapse
What root app are you using, SuperSU? What method did you use to flash it (To root it)
What recovery are you using?
chill i hav solution.
abdulaka said:
while unlocking boot loader my software number 2.26.720.3, I unlocked boot loader without ruu because my rom version is not shown and even i downloaded some other versions but it not worked. Now in Hboot the transfer file Pg76img to sd it showing ,"wrong image" error and “main version old” error is coming ,plz help me to root my device.
Click to expand...
Click to collapse
just let me kno whr u r stuck?
is ur fone *****unlocked*****
????
if not goto htcdev.com and unlock it first. [like me, i hope u hav successfully unlocked boot-loader without ruu]. :good:
now u need to root ur fone with s-on i suppose.
just visit: http://forum.xda-developers.com/showthread.php?t=1997465 and follow steps.
let me kno if u r stucked again. i had wasted 2 days for rooting and finally rooted my WFS. So, i kno most type of errors like ur and other like invalid id, model no., etc... phewww..
abdulaka said:
while unlocking boot loader my software number 2.26.720.3, I unlocked boot loader without ruu because my rom version is not shown and even i downloaded some other versions but it not worked. Now in Hboot the transfer file Pg76img to sd it showing ,"wrong image" error and “main version old” error is coming ,plz help me to root my device.
Click to expand...
Click to collapse
in htcdev you can see that newer version dont require any RUU.they have unlocking capability itself.
i have attached screenshot to clear that issue and try as per htcdev to root your phone.

[Q] help for root

Hi guys,
I have already read dozens of pages regarding the procedure to root my new Htc M8 but I am still a bit confused.
In the picture attached you can see the status of my phone, I think the previous owner has already unlocked it .
What I am kindly ask you is to help me to find the next step to root the phone. I suppose that I have to download a TWRP file, copy it to the internal memory of the phone and then chose "Recovery" but I'm not sure and I don't want to make a disaster !!!
Can U help me? I'm on Mac.
thanks
ciao
fausto
now flash any custom recovery and then flash supersu.zip from recovery to make your handset root
fcasini said:
I suppose that I have to download a TWRP file, copy it to the internal memory of the phone and then chose "Recovery"
Click to expand...
Click to collapse
That is not the proper way to install TWRP, and I don't know how you got that notion.
The proper way to install TWRP is described on the TWRP website (see under "Fastboot Install Method"): https://twrp.me/devices/htconem8gsm.html
fcasini said:
Hi guys,
I have already read dozens of pages regarding the procedure to root my new Htc M8 but I am still a bit confused.
In the picture attached you can see the status of my phone, I think the previous owner has already unlocked it .
What I am kindly ask you is to help me to find the next step to root the phone. I suppose that I have to download a TWRP file, copy it to the internal memory of the phone and then chose "Recovery" but I'm not sure and I don't want to make a disaster !!!
Can U help me? I'm on Mac.
thanks
ciao
your lucky to have s-off already phone lol, install TWRP via fastboot command then flash supersu in TWRP
Click to expand...
Click to collapse
ok, thanks to all,
now I have downloaded the TWRP.IMG, adb and Fastboot files and I am approaching to connect my phone to mac, open terminal and then
./adb reboot bootloader
./fastboot twrp.img
SuperSU is already installed on the phone, so I think I don't need to download and install again.
Is it right?
Once Flashed the twrp image, phone will be wiped?
Thank you again, you help and patience is very appreciated
ciao
fausto
fcasini said:
SuperSU is already installed on the phone, so I think I don't need to download and install again.
Is it right?
Click to expand...
Click to collapse
Did you check to see if the phone was still rooted? It was clearly modded by the previous owner, so may still be rooted. You can check with one of the root checker apps; or simply any app that requires root (such as Titanium Backup).
Although its also possible they unrooted and left the SuperSU app still installed. Just having the app installed does not in itself give you root, the binary also has to be installed. So if that is the case (no root) then UES you will still need to download the current version SuperSU and flash in TWRP in order to gain root.
fcasini said:
Once Flashed the twrp image, phone will be wiped?
Click to expand...
Click to collapse
Nope, TWRP just overwrites the recovery partition. Completely separate partition from user data, ROM, etc.
Regardless, I still highly recommend you backup any personal data that is important to you (preferably backup to an off-phone location) before doing any mods, just in case something goes wrong.
Hi Redpoint73, thanks for the useful info.
I am pretty sure that it is unrooted. I unsuccessfully tried to install Titanium Backup and also the SuperSu application don't start because of the missing of root permission.
Then If I have understood your suggestions:
1) connect the phone with debug Usb ON
2) type ./fastboot twrp.img
3) Phone off
4) Power+Vol-
5) Fastboot menu
6) Recovery+Power
Is it right?
And then? What's happen after? The phone will reboot himself?
thanks
ciao
My comments below in red font:
fcasini said:
Then If I have understood your suggestions:
1) connect the phone with debug Usb ON Doesn't matter if Debugging is on, this only enables adb commands. Fastboot commands work regardless of debugging on or not. But Debugging on is good to have in other situations (so I usually leave it on).
2) type ./fastboot twrp.img Don't know where you got this syntax from. Its not correct. The command given on the link I gave previously (Post #3) states: fastboot flash recovery twrp.img
If the syntax is not exactly right, the command will fail or perform the wrong action. Also note that the TWRP img filename in the command needs to match the actual TWRP file you with to flash. You will notice when you download the TWRP file, the file name is actually much longer than just "twrp.img". So you can either type that whole filename exactly, or change the name of the file to actually be "twrp.img" (with no quotes)
3) Phone off
4) Power+Vol-
5) Fastboot menu
6) Recovery+Power
Click to expand...
Click to collapse
At some point before Step 6, you need to put the SuperSU zip on the phone. You can download it direct to your phone from here: https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip
After step 6 (boot into TWRP) select "Install" from the main menu. Navigate to the SuperSU zip, then select it. Once its flashed, reboot. You should be rooted and good to go.
redpoint73 said:
My comments below in red font:
fastboot flash recovery twrp.img.
Click to expand...
Click to collapse
redpoint73, I need your precious help
I have connected my phone to the Mac but with the command "./fastboot flash recovery twrp.img" I get the message "Permission denied".
Even with other command like ./reboot or ./adb devices...
What is going wrong? Maybe I've missed something?
I followed also the instruction here https://www.youtube.com/watch?v=WOW38u-02I0 but without luck...
Help!!!
ciao
fausto
fcasini said:
redpoint73, I need your precious help
I have connected my phone to the Mac but with the command "./fastboot flash recovery twrp.img" I get the message "Permission denied".
Even with other command like ./reboot or ./adb devices...
What is going wrong? Maybe I've missed something?
Click to expand...
Click to collapse
I don't know anything about Mac's, so I probably will be of limited help in that regard.
Did you install the Android SDK, or other Mac friendly adb-fastboot environment?
it is really strange...
I have installed both Adb and fastboot but whenever I try to flash the image file I get the same error: Permission denied.
With Mac there is no need of driver to work and I don't know ho to proceed.
Thank you redpoint73, your help has been very appreciated, I will search again on the net to solve the problem.
Have a nice day
ciao
fausto
fcasini said:
it is really strange...
I have installed both Adb and fastboot but whenever I try to flash the image file I get the same error: Permission denied.
Click to expand...
Click to collapse
Make sure you are running fastboot command while the phone is in bootloader-fastboot mode. Run adb command while booted into OS (and Debugging needs to be enabled in Settings).
You are in the correct directory (where your fastboot and adb executables are located) when running the commands?
Try finding a thread specific to running adb/fastboot on a Mac (probably doesn't need to be M8 specific) and reading up or post a link to this thread. This may be some Mac-specific nuance that I am not knowledgeable in.
thanks again dear redpoint73,
I checked again and It seems to be all right but it doesn't work.
I have just one doubt yet. Perhaps I have to flash a root file like this http://www.androidrevolution.org/do...le=Android_Revolution_HD_Root_and_BusyBox.zip and then supersu.img through recovery menu?
Could it be the way to gain the permission?
thanks
ciao

Sim unlock for Desire 530 and stock roms

Hi there,
Sim Unlock Free
I found this manual for desire 626 but it works on desire 530, I tested and 100% works
http://forum.xda-developers.com/desire-626/general/sim-unlock-free-t3307015
RUU stock roms for Desire 530 UK, Europe and others
http://easy-firmware.com/index.php?a=browse&b=category&id=8086
http://firmware.gem-flash.com/index.php?a=browse&b=category&id=2597
Big Thanks for developers
pally20 said:
Hi there,
Sim Unlock Free
I found this manual for desire 626 but it works on desire 530, I tested and 100% works
http://forum.xda-developers.com/desire-626/general/sim-unlock-free-t3307015
RUU stock roms for Desire 530 UK, Europe and others
http://easy-firmware.com/index.php?a=browse&b=category&id=8086
http://firmware.gem-flash.com/index.php?a=browse&b=category&id=2597
Big Thanks for developers
Click to expand...
Click to collapse
worked on my 530
pally20 said:
Hi there,
Sim Unlock Free
I found this manual for desire 626 but it works on desire 530, I tested and 100% works
http://forum.xda-developers.com/desire-626/general/sim-unlock-free-t3307015
RUU stock roms for Desire 530 UK, Europe and others
http://easy-firmware.com/index.php?a=browse&b=category&id=8086
http://firmware.gem-flash.com/index.php?a=browse&b=category&id=2597
Big Thanks for developers
Click to expand...
Click to collapse
Awesome finally I have the stock 530 desire rom for my UK EE variant! I have been trying to find it for so long
Thanks
htc desire d530u , how to install ruu ,
softwere number- 1.32.709.12
build number - 01.01_U113251482_62.02.60930G_F
ALL link which writen on this site do not flash on htc desire d530u
plz help to unroot the devices
Ayush negi said:
htc desire d530u , how to install ruu ,
softwere number- 1.32.709.12
build number - 01.01_U113251482_62.02.60930G_F
ALL link which writen on this site do not flash on htc desire d530u
plz help to unroot the devices
Click to expand...
Click to collapse
How to install:
1. download "adb and fastboot"
2. in setting enable developer mode -> USB debugging and put usb to phone
3. write in cmd "adb devices" in adb folder, if you see your device continue like: "c:/adb/adb devices"
4. now rebboot you phone to bootloader mode with command: "adb reboot-bootloader"
5. in fastboot put volume down and push power button in "download mode"
you can phone reboot manual "volume down and power button together" then you jump to point 6
if you have unlocked, then pleas lock the phone: "fastboot oem lock"
6. clear cache: "fastboot erase cache"
7. put phone to RUU mode: "fastboot oem rebootRUU"
8. put zip rom to the adb folder, rename to ease like "rom.zip"
9. enter command "fastboot flash zip rom.zip"
10. now its flashing.
not work
pally20 said:
How to install:
1. download "adb and fastboot"
2. in setting enable developer mode -> USB debugging and put usb to phone
3. write in cmd "adb devices" in adb folder, if you see your device continue like: "c:/adb/adb devices"
4. now rebboot you phone to bootloader mode with command: "adb reboot-bootloader"
5. in fastboot put volume down and push power button in "download mode"
you can phone reboot manual "volume down and power button together" then you jump to point 6
if you have unlocked, then pleas lock the phone: "fastboot oem lock"
6. clear cache: "fastboot erase cache"
7. put phone to RUU mode: "fastboot oem rebootRUU"
8. put zip rom to the adb folder, rename to ease like "rom.zip"
9. enter command "fastboot flash zip rom.zip"
10. now its flashing.
Click to expand...
Click to collapse
I do all instraction but file do not flash but thy have problem on my devices, when i open it only show HTC logo and do not run after this htc logo
plz heip me for this new problem :crying:
Ayush negi said:
I do all instraction but file do not flash but thy have problem on my devices, when i open it only show HTC logo and do not run after this htc logo
plz heip me for this new problem :crying:
Click to expand...
Click to collapse
Have you same error message if you try flash ??? can you get to the bootloader menu (volume down + power button together)??
pally20 said:
Have you same error message if you try flash ??? can you get to the bootloader menu (volume down + power button together)??
Click to expand...
Click to collapse
yas i do this whole process but my devices do not opne after htc logo
what i do?
Rename the RUU to
2PSTIMG.zip
Copy 2PSTIMG.zip to a external sd card.
Put sd card in phone if not allready.
Then do
Boot to download mode. Vol down + Power.
It should say file found hit volume up to flash.
Hit the volume up button.
When phone reboots to download mode again. Because it probably will.
Hit volume up again to flash entire ruu.
NOW YOU ARE BACK IN BUISNESS..
Say Thanks.
Supports T-Mobile/MetroPCS?
I was wondering if your SIM unlock method also supports T-Mobile/MetroPCS? Thanks
lorddaniel2006 said:
I was wondering if your SIM unlock method also supports T-Mobile/MetroPCS? Thanks
Click to expand...
Click to collapse
Just did it on a T-Mobile branded Desire 530. Worked great once I remembered to reboot after pushing the new file.
The phone has to be rooted, obviously, since you need su access to push/pull that file.
I'm stuck at dd if=/sdcard/mmcblk0p36new of=/dev/block/mmcblk0p36
'dd' is not recognized as an internal or external command,
operable program or batch file.
Is the error i get after su
ilikedbz said:
I'm stuck at dd if=/sdcard/mmcblk0p36new of=/dev/block/mmcblk0p36
'dd' is not recognized as an internal or external command,
operable program or batch file.
Is the error i get after su
Click to expand...
Click to collapse
That's a windows error message. You have to be in adb shell for any of this to work. When you type "adb shell" it should connect to your phone and give you a different prompt. Only then can you issue commands to the phone.
(You have to have usb debugging enabled on the phone to use adb at all, and the phone has to be rooted for the required su command to work)
So, did you code this:
adb push mmcblk0p52-rfg_8-UnLocked.txt /sdcard/mmcblk0p52new
adb shell
su
dd if=/sdcard/mmcblk0p52new of=/dev/block/mmcblk0p52
exit
exit
Then just reboot? My 530 keeps locked ;/
Well, I went through the whole documented process... rooting the phone first, pulling the old file, comparing it to be sure it's the same as the 'locked' one posted (it was), pushing the new 'unlocked' file and rebooting. Once you've pushed the 'unlocked' file and put it in the correct place, the phone should be unlocked on reboot. If it doesn't work, I don't know what to tell you other than to try again and follow the instructions to the letter. If you're getting error messages along the way, resolve those.
der_saeufer said:
Well, I went through the whole documented process... rooting the phone first, pulling the old file, comparing it to be sure it's the same as the 'locked' one posted (it was), pushing the new 'unlocked' file and rebooting. Once you've pushed the 'unlocked' file and put it in the correct place, the phone should be unlocked on reboot. If it doesn't work, I don't know what to tell you other than to try again and follow the instructions to the letter. If you're getting error messages along the way, resolve those.
Click to expand...
Click to collapse
I also read the whole post then do the process normaly even with more than one M9 (m9 ok, 530 no)
I try on old OS nothing then update to the latest version 1.36.531.4 and nothing as well.
I put the stock ruu, unlock bootloader, recovey then root and all process work fine but no unlock, its keep saying i can use the unlock t mobile tool to unlock and show sim with the padlock ;/...
Would you please upload your old and new mmcblk0p52 please?
If i cant unlock i am thinking on super cid and flash others ruu ;/
Thanks for your time!
This are my 3 files...
mmcblk0p52-rfg_8-UnLocked.txt
mmcblk0p52old
Locked.txt
For those like me did this on HTC M9 and thought it will be the same here a resume of my issue...
HTC M9 unlock partition are mmcblk0p52-rfg_8-UnLocked
And the Desire line are mmcblk0p36-rfg_8-UnLocked
I try the correct method using the whrong partition unlock file, stop a little to READ and it works fine now.
p36 or p52?
henrique.h12 said:
So, did you code this:
adb push mmcblk0p52-rfg_8-UnLocked.txt /sdcard/mmcblk0p52new
adb shell
su
dd if=/sdcard/mmcblk0p52new of=/dev/block/mmcblk0p52
exit
exit
Then just reboot? My 530 keeps locked ;/
Click to expand...
Click to collapse
The original thread only mentioned p36. Why are you now discussing p52?
In order to simply SIM unlock the 530, p36 is the partion we should be replacing, correct?
Or does it vary on this phone, and p52 needs to be overwritten?
Could somebody please confirm?
Thanks
gaburke said:
The original thread only mentioned p36. Why are you now discussing p52?
In order to simply SIM unlock the 530, p36 is the partion we should be replacing, correct?
Or does it vary on this phone, and p52 needs to be overwritten?
Could somebody please confirm?
Thanks
Click to expand...
Click to collapse
To answer my own question, YES, IT IS p36!!!
Worked flawlessly for me.

[SOLVED] Could not install TWRP

Hi,
I want to enable dualsim on my singlesim device and for that the TWRP has to be installed. After checking many threads, which less or more describe the same steps, I managed to unlock the bootloader and downloaded an "unofficial" twrp image for the Moto Z Play. But on the last step while trying to flash it I got the error "Image not signed or corrupt" and the image is not installed. Here is the output by flashing:
Code:
D:\Programs\Minimal ADB and Fastboot>fastboot.exe flash recovery twrp-3.1.1-0-addison.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:recovery: not found
target reported max download size of 536870912 bytes
sending 'recovery' (11374 KB)...
OKAY [ 0.255s]
writing 'recovery'...
(bootloader) Image not signed or corrupt
OKAY [ 0.246s]
finished. total time: 0.510s
Is there a way to avoid this error ?
Use: "fastboot flash recovery twrp.img" no quotes. I change the filename to just "twrp.img" less chance of typing something wrong.
and no the .exe you did.
FSabbane said:
Hi,
I want to enable dualsim on my singlesim device and for that the TWRP has to be installed. After checking many threads, which less or more describe the same steps, I managed to unlock the bootloader and downloaded an "unofficial" twrp image for the Moto Z Play. But on the last step while trying to flash it I got the error "Image not signed or corrupt" and the image is not installed. Here is the output by flashing:
Is there a way to avoid this error ?
Click to expand...
Click to collapse
I think it is flashed. After flashing the twrp via fastboot and u see that error then just ignore it, instead directly boot your phone in recovery mode using the volume buttons and look for the word "recovery" then press on power button then it booted there.
Jimi Mack said:
Use: "fastboot flash recovery twrp.img" no quotes. I change the filename to just "twrp.img" less chance of typing something wrong.
and no the .exe you did.
Click to expand...
Click to collapse
I've changed the filename to "twrp.img" and used the command:
Code:
fastboot flash recovery twrp.img
The output is exactly the same as before.
Kap_Tutan said:
I think it is flashed. After flashing the twrp via fastboot and u see that error then just ignore it, instead directly boot your phone in recovery mode using the volume buttons and look for the word "recovery" then press on power button then it booted there.
Click to expand...
Click to collapse
unfortunatly not, after entering the recovery mode I see the message "no command" and I have to hold the power button and press volume up to enter into the Android Recovery menu.
FSabbane said:
unfortunatly not, after entering the recovery mode I see the message "no command" and I have to hold the power button and press volume up to enter into the Android Recovery menu.
Click to expand...
Click to collapse
Try to redownload the twrp again, try to use the lower version not the updated one. And after u flash that then update it with the newest one. Lets see if its work
Kap_Tutan said:
Try to redownload the twrp again, try to use the lower version not the updated one. And after u flash that then update it with the newest one. Lets see if its work
Click to expand...
Click to collapse
I've tried with the following images:
twrp-3.1.1-0-addison.img
twrp-3.1.0-0-addison.img
twrp-3.0.2-0-addison.img
which were downloaded from the url: https://www.androidfilehost.com/?w=files&flid=126925
The result is the same by all of them.
Just to be sure, the image should be copied within the "ADB/Fastboot" folder on my PC and not on the device storage/SD card, isn't it ?
FSabbane said:
I've tried with the following images:
twrp-3.1.1-0-addison.img
twrp-3.1.0-0-addison.img
twrp-3.0.2-0-addison.img
which were downloaded from the url: https://www.androidfilehost.com/?w=files&flid=126925
The result is the same by all of them.
Just to be sure, the image should be copied within the "ADB/Fastboot" folder on my PC and not on the device storage/SD card, isn't it ?
Click to expand...
Click to collapse
Did u unlock bootloader?
Yap it should be in pc adb folder
Kap_Tutan said:
Did u unlock bootloader?
Yap it should be in pc adb folder
Click to expand...
Click to collapse
Yes, I did unlock it with the unlock key received from motorola:
Code:
fastboot oem unlock UNLOCK_KEY
After that a message is displayed at each start:
your device has been unlocked and can't be trusted
ID: bad key
your device will boot in 5 seconds
Click to expand...
Click to collapse
FSabbane said:
Yes, I did unlock it with the unlock key received from motorola:
After that a message is displayed at each start:
Click to expand...
Click to collapse
After flashing twrp do not boot the phone otherwise the stock recovery will over write twrp,
After twrp is flashed while still in fastboot mode, use the volume buttons and select recovery on the menu.
flashallthetime said:
After flashing twrp do not boot the phone otherwise the stock recovery will over write twrp,
After twrp is flashed while still in fastboot mode, use the volume buttons and select recovery on the menu.
Click to expand...
Click to collapse
That was it, at each boot the recovery partition was overwritten.
Thank you very much for the help !
still doesn't work for me
FSabbane said:
That was it, at each boot the recovery partition was overwritten.
Thank you very much for the help !
Click to expand...
Click to collapse
I am still getting error saying your device is unlocked can't be trusted and will be restarted in 5 seconds,
please help me out. Also need adb zip file
velpoori said:
I am still getting error saying your device is unlocked can't be trusted and will be restarted in 5 seconds,
please help me out. Also need adb zip file
Click to expand...
Click to collapse
This is not an error. If your bootloader is unlocked this message will display at every boot.
velpoori said:
I am still getting error saying your device is unlocked can't be trusted and will be restarted in 5 seconds,
please help me out. Also need adb zip file
Click to expand...
Click to collapse
As Fandroid mentioned, it's not an error. My device also diplays it at startup.
I've added to this post a zip file that contains adb, fastboot and twrp version used to configure my device.
FSabbane said:
As Fandroid mentioned, it's not an error. My device also diplays it at startup.
I've added to this post a zip file that contains adb, fastboot and twrp version used to configure my device.
Click to expand...
Click to collapse
Have you installed twrp successfully and which OS r u running on your moto z play right now, how is it?
velpoori said:
Have you installed twrp successfully and which OS r u running on your moto z play right now, how is it?
Click to expand...
Click to collapse
I wanted twrp just to create a backup and configure my device to support dualsim. Therefore and as mentioned in a previous post, TWRP is installed only momentarly and after a reboot it would be overwritten.
My OS is the Moto Android 7.0.
What is the issue that you have now ?
FSabbane said:
I wanted twrp just to create a backup and configure my device to support dualsim. Therefore and as mentioned in a previous post, TWRP is installed only momentarly and after a reboot it would be overwritten.
My OS is the Moto Android 7.0.
What is the issue that you have now ?
Click to expand...
Click to collapse
As I told earlier I am not able to install twrp due to which I am not able to install custom rom. I tried many times to install twrp, everytime it showed "image is not found" as you guys said I tried going recovery but again it shows you already unlocked boot loader, your device can't be trusted then says " your device will reboot in 5 seconds" this is what my issue is.
velpoori said:
As I told earlier I am not able to install twrp due to which I am not able to install custom rom. I tried many times to install twrp, everytime it showed "image is not found" as you guys said I tried going recovery but again it shows you already unlocked boot loader, your device can't be trusted then says " your device will reboot in 5 seconds" this is what my issue is.
Click to expand...
Click to collapse
So that we can see where you're stuck at the moment, please follow this guide and tell us which step didn't work :
https://www.obeygeek.com/install-twrp-recovery-on-moto-z-play/
P.S.: use the adb, fastboot and twrp image I've sent you in the previous post.
FSabbane said:
So that we can see where you're stuck at the moment, please follow this guide and tell us which step didn't work :
https://www.obeygeek.com/install-twrp-recovery-on-moto-z-play/
P.S.: use the adb, fastboot and twrp image I've sent you in the previous post.
Click to expand...
Click to collapse
I will try once I reach home by 6pm, you are so helpful thank you...
FSabbane said:
I wanted twrp just to create a backup and configure my device to support dualsim. Therefore and as mentioned in a previous post, TWRP is installed only momentarly and after a reboot it would be overwritten.
Click to expand...
Click to collapse
It makes no sense then to flash it. Why don't you just use
fastboot boot twrp.img
when you want to start it? Then no flash will be involved, and twrp will be just booted for this single usage. You can repeat this whenever you need it.

Categories

Resources