Hi all
I recently rooted my new HTC One. However, due to issues with the Barclays Mobile app not liking rooted devices (I've tried to get around this using instructions from this forum, but no joy) I now want to unroot.
My modelid is PN0710000, and my cidnum is H3G_001. There's no RUU for this, so I located a CWM Nandroid backup zip (courtesy of BugsyLawson and shrubz).
Am I correct in thinking that my route to unroot is as follows? ...
1. Copy downloaded file to /sdcard/clockworkmod/backup/ location on device. (Do I leave as zip, or unzip it in this location?)
2. Unzip downloaded file on my laptop
3. Restart device in Fastboot mode
4. On laptop, flash the recovery and boot of the file.zip (i.e. fastboot flash recovery recovery.img THEN fastboot flash boot boot.img)
5. Restart device in Recovery mode
6. Flash the zip file in CWM
7. Restart device in Fastboot mode
8. Relock bootloader (i.e. fastboot oem lock)
Will that work?
Thanks all...I'm new to all this, but learning fast (I hope!)
kosymodo said:
Hi all
I recently rooted my new HTC One. However, due to issues with the Barclays Mobile app not liking rooted devices (I've tried to get around this using instructions from this forum, but no joy) I now want to unroot.
My modelid is PN0710000, and my cidnum is H3G_001. There's no RUU for this, so I located a CWM Nandroid backup zip (courtesy of BugsyLawson and shrubz).
Am I correct in thinking that my route to unroot is as follows? ...
1. Copy downloaded file to /sdcard/clockworkmod/backup/ location on device. (Do I leave as zip, or unzip it in this location?)
2. Unzip downloaded file on my laptop
3. Restart device in Fastboot mode
4. On laptop, flash the recovery and boot of the file.zip (i.e. fastboot flash recovery recovery.img THEN fastboot flash boot boot.img)
5. Restart device in Recovery mode
6. Flash the zip file in CWM
7. Restart device in Fastboot mode
8. Relock bootloader (i.e. fastboot oem lock)
Will that work?
Thanks all...I'm new to all this, but learning fast (I hope!)
Click to expand...
Click to collapse
Anyone able to help???
Just unroot the rom that's currently on the phone. SuperSU has a full unroot option in its settings.
Then stock recovery can be flashed via fastboot, but not really necessary.
cschmitt said:
Just unroot the rom that's currently on the phone. SuperSU has a full unroot option in its settings.
Then stock recovery can be flashed via fastboot, but not really necessary.
Click to expand...
Click to collapse
OK, I've just tried that...still says I'm rooted though
kosymodo said:
OK, I've just tried that...still says I'm rooted though
Click to expand...
Click to collapse
Ah, that's correct, because /system partition is write protected after boot.
Flash the attached unroot-flashable.zip in CWM or TWRP, it will delete the su binary and Superuser.apk system app, which will unroot the OS.
cschmitt said:
Ah, that's correct, because /system partition is write protected after boot.
Flash the attached unroot-flashable.zip in CWM or TWRP, it will delete the su binary and Superuser.apk system app, which will unroot the OS.
Click to expand...
Click to collapse
Brilliant! That seems to have done the trick
Now, maybe you'll be able to advise why I can't flash
bugsylawson.com/files/file/1056-m7-cwm-nandroid-backup-cid-h3g-001-128771x/
zip file in recovery? It's the correct modelid and cidnum...
I basically want to get my device back to as close to stock settings as possible.
Thanks again!
kosymodo said:
Now, maybe you'll be able to advise why I can't flash
bugsylawson.com/files/file/1056-m7-cwm-nandroid-backup-cid-h3g-001-128771x/
zip file in recovery? It's the correct modelid and cidnum...
Click to expand...
Click to collapse
You'll need to unzip it into the CWM backup folder in the device /sdcard
cschmitt said:
You'll need to unzip it into the CWM backup folder in the device /sdcard
Click to expand...
Click to collapse
It won't work All it does is...
--Installing /sdcard/clockworkmod/backup/archive.zip
Finding update package...
Opening update package...
Installing update...
Installation aborted.
Shows the android logo with red triangle containing an exclamation mark
Any ideas?
Hi buddy.
I've just unlock my htc one from 3 as well and I've been really stupid and forgot to make a nandroid backup, please can you upload anywhere or share with me yours please?? I really want to keep it if needed to go back.
Thanks very much mate.
Related
Current device status:
M7-UL
Relocked
S-OFF
CID-11111111
Stock recovery!!
before action or Problem:
Did full wipe through custom recovery TWRP. which cost me to loose everything SDcard including my OS. Now i can't reboot nor i have custom rom.zip----how stupid
Tries:
1. Tried to ADB push custom rom but was not successful cause SDcard mount. tried to unmount but unusful.
2. so i decided to get the orignal firmware 1.29 (before i was 2.17)---please don't ask why
I used mike guide. it work----Thanks mike for the guide
Now i'm back to the old firmware (1.29) with no OS to boot and stock recovery.
I hope the expert here can give me a hand on this and get my HTC one back to life!!
Thanks in advance for you supports
omvingG upon
aburobeen said:
Current device status:
M7-UL
Relocked
S-OFF
CID-11111111
Stock recovery!!
before action or Problem:
Did full wipe through custom recovery TWRP. which cost me to loose everything SDcard including my OS. Now i can't reboot nor i have custom rom.zip----how stupid
Tries:
1. Tried to ADB push custom rom but was not successful cause SDcard mount. tried to unmount but unusful.
2. so i decided to get the orignal firmware 1.29 (before i was 2.17)---please don't ask why
I used mike guide. it work----Thanks mike for the guide
Now i'm back to the old firmware (1.29) with no OS to boot and stock recovery.
I hope the expert here can give me a hand on this and get my HTC one back to life!!
Thanks in advance for you supports
Click to expand...
Click to collapse
Use twrp to sideload the rom. I think you go to Advance tab in TWRP and choose sideload rom and adb I think the command is "adb sideload <name of rom>".
I can't remember fully. I hope someonce can assist you and correct me if I'm wrong.
Rex2369 said:
Use twrp to sideload the rom. I think you go to Advance tab in TWRP and choose sideload rom and adb I think the command is "adb sideload <name of rom>".
I can't remember fully. I hope someonce can assist you and correct me if I'm wrong.
Click to expand...
Click to collapse
Thanks for the replay.
The problem is i'm on stock recovery. I got it back after updating the firmware.
Now i'm relocked and stuck with the stock recovery.
I thinks first i need to unlock and then flash the custom recovery.
But how to do it while i'm in bootloader and with no OS in place!!
When you are in bootloader, click on Fastboot. After you are in Fastboot USB mode (it will show that on the screen), unlock the bootloader using this tutorial:
http://www.redmondpie.com/how-to-unlock-htc-one-bootloader-tutorial/
After you are done with that, you'll need to download TWRP 2.5.0 and place it inside your fastboot folder on your computer, and then open a command prompt window from there (shift + right click and open command prompt window here) and then execute this command:
fastboot flash recovery recovery.img
Of course you replace recovery.img with whatever the name of your recovery is, in that case TWRP 2.5.0's zip file.
TarekElsakka said:
When you are in bootloader, click on Fastboot. After you are in Fastboot USB mode (it will show that on the screen), unlock the bootloader using this tutorial:
http://www.redmondpie.com/how-to-unlock-htc-one-bootloader-tutorial/
After you are done with that, you'll need to download TWRP 2.5.0 and place it inside your fastboot folder on your computer, and then open a command prompt window from there (shift + right click and open command prompt window here) and then execute this command:
fastboot flash recovery recovery.img
Of course you replace recovery.img with whatever the name of your recovery is, in that case TWRP 2.5.0's zip file.
Click to expand...
Click to collapse
Thanks a lot.
it helped
Now how i can get my OS back to business.
Do i need to flash the stock rom or any rom? and how can i flash it!!
So, i think is better flashing a ruu, like the stock european ruu and, via Revone tool, flash a recovery
You're s-offed, you don't need unlock your bootloader
Guich said:
So, i think is better flashing a ruu, like the stock european ruu and, via Revone tool, flash a recovery
You're s-offed, you don't need unlock your bootloader
Click to expand...
Click to collapse
Thanks for the tip.
i'm only a littlle android guy. i hardly manage to get my S-OFF.
would you be so kind to show me on how to do that:angel:
Depends on what you are looking for. Are you trying to revert your device to stock status so you can receive OTA updates? Because that would mean flashing a RUU and relocking the bootloader, as mentioned above. However if you aren't interested in OTA updates (which we don't know when will be available) then go for the easier route, a custom ROM which you flash via TWRP recovery. After you go into TWRP, go to Advanced and choose ADB sideload and then slide to start, then use your computer to adb sideload rom.zip (of course rom.zip will be replaced by whichever ROM you want to sideload).
This is to set up ADB:
http://www.howtogeek.com/125769/how-to-install-and-use-abd-the-android-debug-bridge-utility/
The proper drivers for your PC to recognize the device in ADB mode are obtained by installing HTC Sync Manager.
TarekElsakka said:
Depends on what you are looking for. Are you trying to revert your device to stock status so you can receive OTA updates? Because that would mean flashing a RUU and relocking the bootloader, as mentioned above. However if you aren't interested in OTA updates (which we don't know when will be available) then go for the easier route, a custom ROM which you flash via TWRP recovery. After you go into TWRP, go to Advanced and choose ADB sideload and then slide to start, then use your computer to adb sideload rom.zip (of course rom.zip will be replaced by whichever ROM you want to sideload).
This is to set up ADB:
http://www.howtogeek.com/125769/how-to-install-and-use-abd-the-android-debug-bridge-utility/
The proper drivers for your PC to recognize the device in ADB mode are obtained by installing HTC Sync Manager.
Click to expand...
Click to collapse
He can use the adb push command too...
Ah okay. I am new to all of this so I don't have sufficient information, I was just sharing how I got to fix my device when I was in the same situation.
I used adb push zip file as below instruction:
C:\Android>adb devices
List of devices attached
FA35VW927790 recovery
C:\Android>adb push Android_Revolution_HD-One_9.4.zip /data/media/
3100 KB/s (1017950778 bytes in 320.621s)
C:\Android>adb reboot recovery
C:\Android>
I try to look for the zip file but did not find it?? any ideas
Still stuck at this point.
I tried to adb push it many times but still no success
:crying:
Please guys tell me if im doing something wrong or you have a better way of doing it.
aburobeen said:
Still stuck at this point.
I tried to adb push it many times but still no success
:crying:
Please guys tell me if im doing something wrong or you have a better way of doing it.
Click to expand...
Click to collapse
The zip will be there somewhere, I command '/sdcard' instead of '/data/media'.
If you still can't find it just use
adb sideload Android_Revolution_HD-One_9.4.zip
Choose install zip from sideload in recovery and once it's finished transferring it will begin to install automatically so you won't have to look for the zip file
Sent from my HTC One using xda premium
aburobeen said:
I used adb push zip file as below instruction:
C:\Android>adb devices
List of devices attached
FA35VW927790 recovery
C:\Android>adb push Android_Revolution_HD-One_9.4.zip /data/media/
3100 KB/s (1017950778 bytes in 320.621s)
C:\Android>adb reboot recovery
C:\Android>
I try to look for the zip file but did not find it?? any ideas
Click to expand...
Click to collapse
because you wiped your internal storage there is no file structure there, that's why you cant find the zip file.
You'll have to sideload your rom from twrp then boot up your phone which will create the needed directories.
1) update your android sdk. Sideload only works on certain versions of the sdk.
2) Place the rom you would like to flash in the same folder as fastboot and adb.( for you it looks like C:\Android\sdk\platform-tools
3) next from twrp under the advanced tab turn on adb sideload
4) issue the command adb sideload name of rom.zip
good luck
aburobeen said:
Still stuck at this point.
I tried to adb push it many times but still no success
:crying:
Please guys tell me if im doing something wrong or you have a better way of doing it.
Click to expand...
Click to collapse
If you use /sdcard then it will work fine, I had the same issue
Victory at last :laugh:
My experience:
TWRP recovery
1.Tried to adb push /sdcard succeeded on this but failed to flash!!
2. Tried to adb sideload failed.
3. Flashed another recovery CWM.
4. adb sideload file.zip...........success
I don't why TWRP recovery was not responding correctly.
Any way got my phone back to life. and hopefully my experience could help people who made the same foolish mistake!!
Thanks to everybody who contributed to this post.
Cheers all
Maybe you had an earlier version of TWRP which had incompatibility issues with ADB. Anyway I'm glad you got through it. I sure hate being stuck like that as well.
Sent from my HTC One using Tapatalk 4 Beta
aburobeen said:
Victory at last :laugh:
My experience:
TWRP recovery
1.Tried to adb push /sdcard succeeded on this but failed to flash!!
2. Tried to adb sideload failed.
3. Flashed another recovery CWM.
4. adb sideload file.zip...........success
I don't why TWRP recovery was not responding correctly.
Any way got my phone back to life. and hopefully my experience could help people who made the same foolish mistake!!
Thanks to everybody who contributed to this post.
Cheers all
Click to expand...
Click to collapse
What version of CWM did you flash to get sideload working??
Alex740il said:
What version of CWM did you flash to get sideload working??
Click to expand...
Click to collapse
I used the latest CWM Version 6.0.3.2.
Hi all,
My HTC ONE can not use ADB sideload with new recovery.img file (which has >8MB file size) only works with 7MB file (i has use the old file to send adb sideload) and i use ARHD v30. any fix ?
Thank you for help.
minhcoi said:
Hi all,
My HTC ONE can not use ADB sideload with new recovery.img file (which has >8MB file size) only works with 7MB file (i has use the old file to send adb sideload) and i use ARHD v30. any fix ?
Thank you for help.
Click to expand...
Click to collapse
If you are using twrp, try "adb push file.zip /data/media/0"
Im not sure what you are trying to do, load a new recovery? You would do that from bootloader with "fastboot flash recovery recovery.img"
an0ther said:
If you are using twrp, try "adb push file.zip /data/media/0"
Im not sure what you are trying to do, load a new recovery? You would do that from bootloader with "fastboot flash recovery recovery.img"
Click to expand...
Click to collapse
I mean, i have three recovery file (oldest file size 7MB, the new CW file is 8.838KB and the new twrp file is 8.432KB) but i can not use 2 new recovery file ==> when I try: adb sideload rom.zip it said can not find devices.
minhcoi said:
I mean, i have three recovery file (oldest file size 7MB, the new CW file is 8.838KB and the new twrp file is 8.432KB) but i can not use 2 new recovery file ==> when I try: adb sideload rom.zip it said can not find devices.
Click to expand...
Click to collapse
you must load new recovery from bootloader, not recovery
use fastboot not adb
fastboot flash recovery whatever.img
an0ther said:
you must load new recovery from bootloader, not recovery
use fastboot not adb
fastboot flash recovery whatever.img
Click to expand...
Click to collapse
I done that already, but the problem is, when i try to install ARHD v30, with adb sideload, then they can not find any devices. I already try to install newest HTC drivers, but they dont works.
minhcoi said:
I done that already, but the problem is, when i try to install ARHD v30, with adb sideload, then they can not find any devices. I already try to install newest HTC drivers, but they dont works.
Click to expand...
Click to collapse
do you not have a working rom already? Im confused. You didn't say you were wiped?
an0ther said:
do you not have a working rom already? Im confused. You didn't say you were wiped?
Click to expand...
Click to collapse
Hi an0ther,
I am running ARHD v22 with no problems. Then I try to install V30 in recovery mode - from zipfiles. After that, it only run a cicles in HTC boot logo and recovery mode. I start over again form 1st step to relock my HTC, flash recovery.img etc.
Now, my HTC only work with old recovery.img and ARHD v22. If i try 2 other recovery.img event with ARHD v22 is still not works.
I'm not sure exactly what is going on. We might have a language barrier here. You might have a corrupt Rom file. You said relock, not sure if you are talking about the bootloader which you don't need to do. Unless you are trying to flash stock ruu and you are s-on.
an0ther said:
I'm not sure exactly what is going on. We might have a language barrier here. You might have a corrupt Rom file. You said relock, not sure if you are talking about the bootloader which you don't need to do. Unless you are trying to flash stock ruu and you are s-on.
Click to expand...
Click to collapse
Thanks an0ther,
I am done. I have to flash the right firmware which support the new ARHD V30 (4.3) then every things seem to be okay now.
Thank you for your time.
hi guys! I'm new at this forum, so if i'm doing something wrong about rules and regulation, even if i've read them, correct me please! However, i just bough an At&T Atrix HD with stock 4.1.1 and i wanted to install a CM11; i obtained root privileges and unlocked the bootloader, and when i try to flash the clockwork recovery, apparently everything goes fine in fact i get no errors, but when i turn off the device and try to reboot in recovery it displays the "dead" droid with a red explanation mark. I've read in the cyanogen wiki that some firmwares during the reboot overwrite the custom recovery, is this the case? Which is the command or the procedure to reboot the cell in recovery then?
PS: I flash it through the command line by the PC, i got OSx and i tried with the clockwork posted in cyanogen wiki and the one posted here http://forum.xda-developers.com/showthread.php?t=2421418
Hi, first of all, did you installed the recovery with: fastboot flash recovery recovery.img right??
If you did so, you just need to turn off your phone, hold volume up button and power button and wait until it enters to recovery mode. From there you can flash a new ROM if you have it on your SD card or internal storage.
sliker90 said:
hi guys! I'm new at this forum, so if i'm doing something wrong about rules and regulation, even if i've read them, correct me please! However, i just bough an At&T Atrix HD with stock 4.1.1 and i wanted to install a CM11; i obtained root privileges and unlocked the bootloader, and when i try to flash the clockwork recovery, apparently everything goes fine in fact i get no errors, but when i turn off the device and try to reboot in recovery it displays the "dead" droid with a red explanation mark. I've read in the cyanogen wiki that some firmwares during the reboot overwrite the custom recovery, is this the case? Which is the command or the procedure to reboot the cell in recovery then?
PS: I flash it through the command line by the PC, i got OSx and i tried with the clockwork posted in cyanogen wiki and the one posted here http://forum.xda-developers.com/showthread.php?t=2421418
Click to expand...
Click to collapse
1. You're rooted so go to /system/etc and rename "install-recovery.sh" to "install-recovery.sh.bak"
2. Use Myth Tools to flash recovery (CWM or PhizTouch is included in the tool)
3. Check and Test
thanks to both of you guys!! i've solved with the solution in the second post, just deleting the "install-recovery.sh" script, i was going crazy!! i hope this post will help someone else!
PS: i don't understand why they do not put these solutions in the first posts in important threads like that one i've linked....
devilsking said:
1. You're rooted so go to /system/etc and rename "install-recovery.sh" to "install-recovery.sh.bak"
2. Use Myth Tools to flash recovery (CWM or PhizTouch is included in the tool)
3. Check and Test
Click to expand...
Click to collapse
I thought mythtools removed the .sh file by itself?
jaweinre said:
I thought mythtools removed the .sh file by itself?
Click to expand...
Click to collapse
Nope. You need to do it manually.
I tried to put that function into Myth Tools but it's impossible to do it via adb commands if the kernel is not enabled "insecure".
That's why I put a guide line in Myth Tools to remind user rename that file manually before flashing recovery.
devilsking said:
Nope. You need to do it manually.
I tried to put that function into Myth Tools but it's impossible to do it via adb commands if the kernel is not enabled "insecure".
That's why I put a guide line in Myth Tools to remind user rename that file manually before flashing recovery.
Click to expand...
Click to collapse
Not necessarily. You don't HAVE to rename that file before flashing. The newer CWM's detect that file and will fix it for you. All you gotta do is enter recovery and exit it through the menu, it'll prompt about the file, and say yes to it. Problem solved. It's what I do along with flashing a root zip with every stock flash I do; haven't had a problem yet.
"Enter and exit CWM" is a lot easier to describe than renaming or deleting a file on the /system partition...less error prone too.
skeevydude said:
Not necessarily. You don't HAVE to rename that file before flashing. The newer CWM's detect that file and will fix it for you. All you gotta do is enter recovery and exit it through the menu, it'll prompt about the file, and say yes to it. Problem solved. It's what I do along with flashing a root zip with every stock flash I do; haven't had a problem yet.
"Enter and exit CWM" is a lot easier to describe than renaming or deleting a file on the /system partition...less error prone too.
Click to expand...
Click to collapse
We are 2, never had problems
Here're the official links for Cherry Mobile One H940:
For fastboot flashable images:
Builds Available: LBY29G, LMY47O
Download: here
For OTAs:
Build: LBY29G -> LMY47O
Android Version: 5.1 (Beta) -> 5.1 Official
Download: here
Flashing Instructions:
A. Using ADB sideload (for recovery flashable update zips):
1.) Flash stock recovery.
2.) Boot to stock recovery.
3.) Perform up + power button to show menu.
4.) Select Apply update from ADB.
5.) Install ADB drivers if on Windows and not yet installed.
6.) Open cmd prompt.
7.) Change directory to where you downloaded the update zip.
8.) Issue cmd: adb sideload <update.zip filename>
9.) Wait until completed.
10.) Select reboot.
B. Using fastboot:
1.) Boot into bootloader.
2.) Flash image using fastboot flash <partition name> <image filename>.img command.
3.) Reboot using fastboot reboot command.
C. Using DD (for flashing images like system.img):
1.) Boot into custom recovery. (you could use fastboot boot custom-recovery.img so that you don't overwrite your existing one)
2.) Push image file to /sdcard using adb push command. (you might have to mount the sdcard partition before doing this)
3.) Open an ADB command shell.
4.) Go to /sdcard.
5.) Find the system partition by issuing a cat /proc/partitions command. It should be the one sized exactly 1GB (1,024,000 shown).
6.) Use dd if=/sdcard/<image filename>.img of=/dev/block/<name of partition> .
7.) Reboot either using custom recovery or just issuing an adb reboot after exiting from ADB command shell.
do you have another working file for LMY47O system.img? i'm getting a fastboot flash fail (chunk unkown) error. thanks
Reuploading now. Might be a bad upload from my end. Will post updated hashes later for the system.img.
intersectRaven said:
Reuploading now. Might be a bad upload from my end. Will post updated hashes later for the system.img.
Click to expand...
Click to collapse
same problem here
thank you
Uploaded. If it still fails, you might have to use dd to restore. Odd that it fails now when it was fine before. :/
OTA Flashing Error
Hello. I would like to ask why I cannot flash the OTA Update for CM1. I am currently on LBY29G, rooted, unlocked bootloader and stock recovery. Thanks.
erickho0407 said:
Hello. I would like to ask why I cannot flash the OTA Update for CM1. I am currently on LBY29G, rooted, unlocked bootloader and stock recovery. Thanks.
Click to expand...
Click to collapse
Go back to stock boot. Since you're rooted, I'm assuming your boot has been modified to be insecure.
intersectRaven said:
Go back to stock boot. Since you're rooted, I'm assuming your boot has been modified to be insecure.
Click to expand...
Click to collapse
Ok By going back to "stock boot," does this mean I have to re-lock the bootloader? I believe that I have only used the ALL-IN ONE TOOL in this thread to do the 3 things mentioned above, and also installed Lucky Patcher, Greenify, Busybox (Free) and Ad-Away in relation to root access, so I am not 100% sure by what you mean. Thanks again.
erickho0407 said:
Ok By going back to "stock boot," does this mean I have to re-lock the bootloader? I believe that I have only used the ALL-IN ONE TOOL in this thread to do the 3 things mentioned above, and also installed Lucky Patcher, Greenify, Busybox (Free) and Ad-Away in relation to root access, so I am not 100% sure by what you mean. Thanks again.
Click to expand...
Click to collapse
No you don't need to relock the bootloader. You just need to flash stock boot partition. This is usually replaced when rooting.
intersectRaven said:
No you don't need to relock the bootloader. You just need to flash stock boot partition. This is usually replaced when rooting.
Click to expand...
Click to collapse
Ok. So this means that I reflash boot.img right (would probably use fastboot). Thank you very much for assistance
Sir
can you capture ota for myphone uno
gabisonfire98 said:
Sir
can you capture ota for myphone uno
Click to expand...
Click to collapse
Unfortunately, I don't have an Uno so no.
still the same problem, will try DD **update still failed, and now can't flash old build...will try to restore a backup from CWM
Working internal detect for pc and file ?
marjoejoejoe said:
still the same problem, will try DD **update still failed, and now can't flash old build...will try to restore a backup from CWM
Click to expand...
Click to collapse
I see. Very weid. Might be some form of protection now for the system partition. I'll just take it down now so that no one else uses it.
intersectRaven said:
I see. Very weid. Might be some form of protection now for the system partition. I'll just take it down now so that no one else uses it.
Click to expand...
Click to collapse
I'll have another go at it later today. Was able to flash my own backup using CWM
marjoejoejoe said:
I'll have another go at it later today. Was able to flash my own backup using CWM
Click to expand...
Click to collapse
Still, it should be foolproof. I already checked and double-checked the system image I uploaded and it's mountable in Linux so it should restore correctly like the previous LBY image. I can't think of any other reason aside from some sort of protection that would disallow flashing of the system image through both fastboot and dd.
*On second thought, I'm reupping the image. I just flashed it using dd on my device and it works perfectly.
success, was running a windows 7 virtual machine in OSX. it must have been a protection, you are right...ran it using OSX instead (stupid me, why i didn't use it in the first place for fastboot).
files are good to go thanks man
Need help in Flashing the Stock Recovery.
Hi Guys,
I need help in flashing the stock recovery.
I've used the ALL-IN-ONE TOOL to unlock my phone's bootloader, flash the PhilZ Touch Customer recovery and Root my CM1
[http://forum.xda-developers.com/cro.../tool-master-tool-unlock-bootloader-t2997696]
However I'm unsuccessful flashing the stock recovery from the ALL-IN-ONE TOOL so I can update my phone's software to Android 5.1.1.
Can I flash the stock recovery using one of the files here? If yes, can someone please teach me how.
Thanks in advance!
OTG
Hi,
Just a quick question, after flashing using this ROM, will CM One support OTG? Or do I need to root the phone first? Is there a way to add support for OTG?
Pardon me if this may not be much related to the topic.
This is a short guide on rooting for thous who are new to this stuff
Steps:
1: download adb platform tools from here
2: Unlock bootloader. follow the guide on htcdev.
make sure you have htc drivers installed so that you can use oem command in fastboot mode for unlocking
3: Download TWRP
4: Download SuperSU and copy it to your phone's internal memory
5: Enable USB debugging and type "adb reboot-bootloader" from pc
6: Type: "fastboot boot twrp-3.1.1-0-alpine.img"
make sure you have twrp image in same folder as adb.
7: Wait for sometime you will boot into twrp recovery from there select install and select the SuperSU zip file
8: reboot and check for root
Links:
http://www.supersu.com/download
https://developer.android.com/studio/releases/platform-tools.html
has anybody tried this? I'm a bit scared to be the first one
javnostra said:
has anybody tried this? I'm a bit scared to be the first one
Click to expand...
Click to collapse
You should make sure you get a pristine backup at hand, or a RUU appropriate to your device. Otherwise you'll never be able toreturn to a full stock system.
On the U11 it is possible to boot TWRP from fastboot, without flashing it and thus without touching stock recovery. That way I've been able to flash Magisk what's coming with MagiskSU and the possibility to use some Modules. And all without altering the system or replacing stock recovery in the first place.
Sent from my HTC U11 using XDA Labs
javnostra said:
has anybody tried this? I'm a bit scared to be the first one
Click to expand...
Click to collapse
Yes its working without flaws, i have tested it myself. also your not installing recovery this time your booting directly
dranzer006 said:
Yes its working without flaws, i have tested it myself. also your not installing recovery this time your booting directly
Click to expand...
Click to collapse
Thanks, I will try it then.
javnostra said:
Thanks, I will try it then.
Click to expand...
Click to collapse
It works. Thanks a lot. My phone is rooted
5m4r7ph0n36uru said:
You should make sure you get a pristine backup at hand, or a RUU appropriate to your device. Otherwise you'll never be able toreturn to a full stock system.
Click to expand...
Click to collapse
for anyone asking themselves how to backup
https://forum.xda-developers.com/showpost.php?p=53767160&postcount=2
or https://forum.xda-developers.com/showpost.php?p=53770286&postcount=4
or is there a different way these days? @5m4r7ph0n36uru
BerndM14 said:
Connect phone to PC, boot into bootloader mode and type fastboot boot name_of_recovery.img that'll just boot the custom recovery as opposed to flashing it, that way you can make a nandroid backup of all partitions including stock recovery.
Click to expand...
Click to collapse
an0ther said:
The guys method of using recovery to backup recovery will only work on Philz… Not twrp as it does not always backup stock recovery properly. The proper way to backup stock recovery is..
1. Root your phone, which can be done by towel root or by just booting a recovery like he said,
fastboot boot twrporwhatever.img, then flash supersu
2. Boot phone that has stock recovery
3. adb shell
4. su "watch your phone to grant root adb access if you haven't ever done it"
5. dd if=/dev/block/mmcblk0p43 of=/sdcard/recovery.img
6. This will put flashable recovery.img on your internal sd card. Copy this and save it for later
7. "fastboot flash recovery recovery.img" will get you back to stock recovery, "fastboot flash recovery twrporwhatever.img" to flash custom recovery.
Click to expand...
Click to collapse
If possible and a TWRP recovery is available one should boot to bootloader and try if the command fastboot boot name_of_twrp.img works. Make sure to NOT grant r/w at first boot and leave it ro. Now you can perform a backup of stock recovery, boot and system image (not system partition!) to obtain a pristine backup.
All else will alter system partitions md5 and the backup won't be pristine any longer. Due to block based OTA policy introduced by Google you won't be able to OTA without a pristine system image.
Sent from my HTC U11 using XDA Labs
Bro My Boot Loader is Locked.
Htc dev Not Relised Htc u play Boot loader.
I think these are the instructions. You need to register to access the link
https://www.htcdev.com/bootloader/unlock-instructions
or use my login:
lizba
ALJSDBf234LJABSf
edit: dont use my login. you have to register. you'll get a mail with another page plus a .bin file
https://www.htcdev.com/bootloader/unlock-instructions/page-4/
I have two questions.
1. If I fastboot to TWPR will it stay (flash for good) or after disconnecting my phone it will be gone ?
2. Can I flash Magisk instead of SuperSU ?
Code:
fastboot oem get_identifier_token
FAILED (remote: unknown command)
how i can solve it?
ex71 said:
Code:
fastboot oem get_identifier_token
FAILED (remote: unknown command)
how i can solve it?
Click to expand...
Click to collapse
need enable "OEM unlock" in developers menu, reboot into bootloader and select "download mode". Next steps from original guide.
ex71 said:
need enable "OEM unlock" in developers menu, reboot into bootloader and select "download mode". Next steps from original guide.
Click to expand...
Click to collapse
But in download mode there is no fastboot active ?! Until you installed the correct drivers
no "fastboot" (like a "one s", etc) on this phone. no fastboot usb
"fastboot" command work in "bootloader menu" and "download mode"
fastboot oem only in download mode
Hello. Please explain what I am doing wrong. I will download what is in points. I download this adb something, but it does not work. Nothing starts. Does not communicate with the phone. OCB. Could anyone write this guide so that he could understand and act?