FORUMS
Remove All Ads from XDA
Honor 7x
Win an Honor 7X!

HTC Butterfly (( Unlock & Recovery )) Any Info. ??

98 posts
Thanks Meter: 9
 
By kdahri, Member on 28th December 2012, 03:17 PM
Post Reply Email Thread
6th January 2013, 09:13 PM |#21  
Member
Glasgow
Thanks Meter: 0
 
More
Quote:
Originally Posted by katsuya82

Depends on which phone you are talking about.
920e (China Version) you can use DNA's recovery.
920d (International Version/Singapore version?) unlock available but no working recovery.

oh my god.. I just came across this post. Been working on trying to flash a recovery for the last 4 hours and have failed every single time!!!!
I have the 920d from taiwan. man did i just waste hours of my life.

Any updates on whether there are recoveries or methods that work on the Butterfly? (international version)
 
 
7th January 2013, 03:03 AM |#22  
Senior Member
Flag Brisbane
Thanks Meter: 14
 
More
Quote:
Originally Posted by big_me

oh my god.. I just came across this post. Been working on trying to flash a recovery for the last 4 hours and have failed every single time!!!!
I have the 920d from taiwan. man did i just waste hours of my life.

Any updates on whether there are recoveries or methods that work on the Butterfly? (international version)

Sorry I didn't get up here last night.

jlevy73 you are right, after flashing the recoveries, you can't access the recovery traditionally, however, you can adb push apps and root your butterfly.

a guy call czh from Taiwan has managed to root the x920D with DNA recovery and he put up 2 small packages that similar to 1-click root tools. It's a bunch of batch files, you guys can check it out and make use of it for rooting your phone:

Package 1: superSU Version: http://sdrv.ms/RK6XEM SuperUser version: http://sdrv.ms/10mKD6z

First, make sure you've unlocked your bootloader throught HTCdev.com, enable usb debugging.
run 1.cmd, you will see your phone slowly getting bricked. Don't worry, it's because it's flashing DNA recovery. It can be fixed by flashing a suitable recovery for Butterfly when it comes out (ever?). Wait until the computer says complete.
Long press the power button until the phone screen lights up again.
You've completed Root & SuperCID.
This is only a temp root, so if you reboot your phone, the system will restore itself, and you might lose root. just run 1.cmd again.

Package 2: Link: http://sdrv.ms/Yoo5Nl

cwm.cmd enter cwm mode,to run anything below, you have to enter CWM mode first.
Backup.cmd Make sure you do it at least once to have full system backup, incase **** happens. Please wait til you see complete.
Backup_tar_data.cmd Backup data partition using tar format
Backup_tar_system.cmd backup system partition using tar format
Recovery_tar_data.cmd Restore backups from Backup_tar_data.cmd,enter your file name after the cmd eg.Recovery_tar_data.cmd x920d_data_14563661.tar
Recovery_tar_system.cmd Restoer backups from Backup_tar_system.cmd,enter your file name after the cmd eg.Recovery_tar_system.cmd x920d_system_o.tar
Recovery.cmd Factory restore
rm.cmd Remove builtin apps <= I don't know what it removes, please open up batch file to check
screen-capture_nosound.cmd remove screen capture sound.
320dpi.cmd change screen resolution to 320dpi, HTC sense and certain built-in HTC apps will FC. freezing HTC Sense by Titanium Backup will fix the problem.
wipe_data.cmd Wipe up data including built-in SD card.
~go.cmd <= make sure you run BACKUP.cmd before you do this. it installs things in file directory and some mods czh did.


big_me, I assume you can read Chinese, see the following thread from PalmisLife: http://f.pil.tw/thread-897317-1-1.html
The Following 3 Users Say Thank You to katsuya82 For This Useful Post: [ View ] Gift katsuya82 Ad-Free
7th January 2013, 03:13 AM |#23  
Junior Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by katsuya82

Sorry I didn't get up here last night.
jlevy73 you are right, after flashing the recoveries, you can't access the recovery traditionally, however, you can adb push apps and root your butterfly.

can you right a kind of guide, how did you do it?
I also have 920e and want to use google services and kill chinese built-in apps.
7th January 2013, 06:16 AM |#24  
Senior Member
Flag Brisbane
Thanks Meter: 14
 
More
Quote:
Originally Posted by valygar

can you right a kind of guide, how did you do it?
I also have 920e and want to use google services and kill chinese built-in apps.

no, because I don't have 920e and I'm not rooting using the above method.
7th January 2013, 07:04 AM |#25  
jlevy73's Avatar
Senior Member
Los Angeles
Thanks Meter: 1,319
 
More
Quote:
Originally Posted by katsuya82

Sorry I didn't get up here last night.

jlevy73 you are right, after flashing the recoveries, you can't access the recovery traditionally, however, you can adb push apps and root your butterfly.

a guy call czh from Taiwan has managed to root the x920D with DNA recovery and he put up 2 small packages that similar to 1-click root tools. It's a bunch of batch files, you guys can check it out and make use of it for rooting your phone:

Package 1: superSU Version: http://sdrv.ms/RK6XEM SuperUser version: http://sdrv.ms/10mKD6z

First, make sure you've unlocked your bootloader throught HTCdev.com, enable usb debugging.
run 1.cmd, you will see your phone slowly getting bricked. Don't worry, it's because it's flashing DNA recovery. It can be fixed by flashing a suitable recovery for Butterfly when it comes out (ever?). Wait until the computer says complete.
Long press the power button until the phone screen lights up again.
You've completed Root & SuperCID.
This is only a temp root, so if you reboot your phone, the system will restore itself, and you might lose root. just run 1.cmd again.

Package 2: Link: http://sdrv.ms/Yoo5Nl

cwm.cmd enter cwm mode,to run anything below, you have to enter CWM mode first.
Backup.cmd Make sure you do it at least once to have full system backup, incase **** happens. Please wait til you see complete.
Backup_tar_data.cmd Backup data partition using tar format
Backup_tar_system.cmd backup system partition using tar format
Recovery_tar_data.cmd Restore backups from Backup_tar_data.cmd,enter your file name after the cmd eg.Recovery_tar_data.cmd x920d_data_14563661.tar
Recovery_tar_system.cmd Restoer backups from Backup_tar_system.cmd,enter your file name after the cmd eg.Recovery_tar_system.cmd x920d_system_o.tar
Recovery.cmd Factory restore
rm.cmd Remove builtin apps <= I don't know what it removes, please open up batch file to check
screen-capture_nosound.cmd remove screen capture sound.
320dpi.cmd change screen resolution to 320dpi, HTC sense and certain built-in HTC apps will FC. freezing HTC Sense by Titanium Backup will fix the problem.
wipe_data.cmd Wipe up data including built-in SD card.
~go.cmd <= make sure you run BACKUP.cmd before you do this. it installs things in file directory and some mods czh did.


big_me, I assume you can read Chinese, see the following thread from PalmisLife: http://f.pil.tw/thread-897317-1-1.html

Thanks a lot for this information, really appreciate it!

---------- Post added at 08:04 AM ---------- Previous post was at 07:22 AM ----------

Quote:
Originally Posted by valygar

can you right a kind of guide, how did you do it?
I also have 920e and want to use google services and kill chinese built-in apps.

I really wish I could write you a guide but I have no idea what I am doing thus far. Most of it has been by luck. If I can figure things out will be happy to guide you.

One good thing about the 920e is that all the chinese built-in apps can be disabled without root. Just go to setting - apps - all and disable whichever ones you want
7th January 2013, 08:34 AM |#26  
Junior Member
Thanks Meter: 5
 
More
Quote:
Originally Posted by valygar

can you right a kind of guide, how did you do it?
I also have 920e and want to use google services and kill chinese built-in apps.

Sorry, currently sick and lacking proper concentration so have to keep this rather simple. Feel free to ask details where needed. What I did was:

1) unlock phone via htcdev
2) flash the Droid DNA recovery of ROM Manager by:
2a) booting into fastboot
2b) running "fastboot flash recovery recovery-clockwork-6.0.2.3-dlx.img" (replace the last part with the actual filename, if necessary)
3) push Superuser and ROM Manager by:
3a) booting into the recovery (the screen will show colorful lines or whatever, but technically it's actually a working recovery)
3b) "adb shell"
3c) "mount /system"
3d) "exit"
3f) "adb push Superuser.apk /system/app"
3g) "adb push su /system/bin"
3h) "adb push RomManager.apk /system/app"
3i) "adb shell"
3j) "chmod 6755 /system/bin/su"
3k) "reboot"
4) Reboot into normal mode
5) Check Superuser and ROM Manager are available from the menu and if so check if you can open them. (in one of several tries to root the phone, ROM Manager force closed on me - pushing it again helped solve that for unknown reasons)
6) Configure ROM Manager to (correctly) think a recovery is installed
6a) Click on Flash ClockworkMod Recovery
6b) Choose Device Not Listed Above, confirm with Yes and choose 3.x.+
7) Install Google Apps (optionally) by:
7a) Still in ROM Manager, go to Download ROM and choose Google Apps. For Android 4.1.x 20120111 JB is the recommended version, newer one might not work
7b) After downloading, have ROM Manager install gapps (forgot what the button says, but you'll see)

If step 7b fails to execute (i.e. automatically reboot into recovery), the phone is not properly rooted (for unknown reasons). If it's successful, you have the phone rooted and gapps installed. Congratulations!

If you don't want to install Google Apps, you can instead try to boot into recovery or try to backup the current ROM from within ROM Manager. If it works, so does root.

Note: Things between quotes are commands to be executed on a computer with working adb and fastboot binaries (either available in the current working directory or through your systems PATH). The two apk files and the su binary are expected to be available in the current working directory.

The instructions should work independent of the computer's OS, but I performed them on a Windows 7 system. Other recoveries than ROM Manager should probably work likewise, but I only tried this.

Some handy links:
http://htcdev.com/bootloader/ (to unlock the phone - just follow the instructions on the website)
http://www.clockworkmod.com/rommanager (for both the recovery and the apk)
http://androidsu.com/superuser/ (get Superuser-3.1.3-arm-signed.zip to extract the Superuser.apk and the su binary)
The Following 2 Users Say Thank You to red_trela For This Useful Post: [ View ] Gift red_trela Ad-Free
7th January 2013, 09:48 AM |#27  
Junior Member
Thanks Meter: 1
 
More
Thanks for detailed guide! everything works now
some remarks
Quote:
Originally Posted by red_trela

3c) "cat /etc/fstab"
3d) "mount /dev/<whatever (see fstab)> /system"

here i saw 4 lines
Code:
~ # cat /etc/fstab 
/dev/block/mmcblk0p33 /cache ext4 rw
/dev/block/mmcblk0p34 /data ext4 rw
/dev/block/mmcblk0p32 /system ext4 rw
/dev/null /sdcard datamedia rw
mounted the third.

I tried to make a backup, phone rebooted in recovery, saw a color stripes, but a backup was made.
Thanks again for the guide.

---------- Post added at 09:48 AM ---------- Previous post was at 09:39 AM ----------

Quote:
Originally Posted by jlevy73

Thanks a lot for this information, really appreciate it!

---------- Post added at 08:04 AM ---------- Previous post was at 07:22 AM ----------



I really wish I could write you a guide but I have no idea what I am doing thus far. Most of it has been by luck. If I can figure things out will be happy to guide you.

One good thing about the 920e is that all the chinese built-in apps can be disabled without root. Just go to setting - apps - all and disable whichever ones you want

some apps remain started, even when I disable it. For example HTC Sense Sina Weibo, it's disabled and stopped, but some time after stopping, I can stop it again
7th January 2013, 10:07 AM |#28  
Junior Member
Thanks Meter: 5
 
More
Quote:
Originally Posted by valygar

Thanks for detailed guide! everything works now
some remarks

here i saw 4 lines

Code:
~ # cat /etc/fstab 
/dev/block/mmcblk0p33 /cache ext4 rw
/dev/block/mmcblk0p34 /data ext4 rw
/dev/block/mmcblk0p32 /system ext4 rw
/dev/null /sdcard datamedia rw
mounted the third.

Welcome!

Ah, actually I was being stupid and made that more complicated than necessary. There's no need to look at the fstab, just a simple "mount /system" will be enough. The system will look what to mount on /system in the fstab itself, automatically. Fixed that in my instructions above.
7th January 2013, 11:44 AM |#29  
jlevy73's Avatar
Senior Member
Los Angeles
Thanks Meter: 1,319
 
More
Quote:
Originally Posted by red_trela

Welcome!

Ah, actually I was being stupid and made that more complicated than necessary. There's no need to look at the fstab, just a simple "mount /system" will be enough. The system will look what to mount on /system in the fstab itself, automatically. Fixed that in my instructions above.

Nice writeup, that did the trick. One of the files I had must have been corrupted, yours worked perfectly. Thanks

---------- Post added at 12:44 PM ---------- Previous post was at 12:42 PM ----------

Quote:
Originally Posted by valygar

Thanks for detailed guide! everything works now
some remarks

here i saw 4 lines

Code:
~ # cat /etc/fstab 
/dev/block/mmcblk0p33 /cache ext4 rw
/dev/block/mmcblk0p34 /data ext4 rw
/dev/block/mmcblk0p32 /system ext4 rw
/dev/null /sdcard datamedia rw
mounted the third.

I tried to make a backup, phone rebooted in recovery, saw a color stripes, but a backup was made.
Thanks again for the guide.

---------- Post added at 09:48 AM ---------- Previous post was at 09:39 AM ----------



some apps remain started, even when I disable it. For example HTC Sense Sina Weibo, it's disabled and stopped, but some time after stopping, I can stop it again

Now that you have root, you can use Titanium Backup and freeze any apps you don't want. That will keep them from restarting.
7th January 2013, 12:24 PM |#30  
Junior Member
Thanks Meter: 5
 
More
Quote:
Originally Posted by jlevy73

Now that you have root, you can use Titanium Backup and freeze any apps you don't want. That will keep them from restarting.

Or you can delete them with any root explorer (or the adb shell, again). I think they hide in /data/app (need to mount /data if in recovery). Or just move them away in case you think you could ever miss them
7th January 2013, 05:36 PM |#31  
Dees_Troy's Avatar
Senior Recognized Developer
Flag KC MO
Thanks Meter: 12,844
 
Donate to Me
More
Can someone with root run this command for me:

cat /proc/emmc

Paste the output (probably easier to do this via adb shell for an easier copy/paste). Also run this command:

dd if=/dev/block/mmcblk0p20 of=/sdcard/butterflyp20.img

Upload the /sdcard/butterflyp20.img file and give me the link. I believe that this is the location of the stock recovery and I need a copy of that to begin trying to get a working recovery for this device. Thanks.
The Following 2 Users Say Thank You to Dees_Troy For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes