I have the HTC One Dev Edition. I am on AT&T Network. I am stuck on the HTC One screen (with beats audio at bottom) after flashing an experimental zip to install an AT&T odexed system SystemUI.apk and related files (see below) to try to get the AT&T data signal icons.
Here's what I did:
To try to get the AT&T data signal 4G icons, I pulled these files from an AT&T stock ROM:
SystemUI.apk
SystemUI.odex
ext.jar
ext.odex
I used a flashable zip with a META-INF folder from an AT&T ROM flashable zip (from CleanROM's AT&T thread); I adjusted the updater script as shown below.
My updater script was as follows:
ui_print("Update System Apps");
show_progress(0.1, 0);
mount("ext4", "EMMC", "/dev/block/mmcblk0p35", "/system");
delete("/system/app/SystemUI.apk");
delete("/system/app/SystemUI.odex");
delete("/system/framework/ext.jar");
delete("/system/framework/ext.odex");
package_extract_dir("system", "/system");
set_perm(0, 0, 0644, "/system/app/SystemUI.apk");
set_perm(0, 0, 0644, "/system/app/SystemUI.odex");
set_perm(0, 0, 0644, "/system/framework/ext.jar");
set_perm(0, 0, 0644, "/system/framework/ext.odex");
unmount("/system");
ui_print("---------------------------------------");
ui_print("All Done! ");
My System folder in that flashable zip was set up as follows:
Folder Structure:
system
--system/app
--system/framework
Files:
system/app/SystemUI.apk
system/app/SystemUI.odex
system/framework/ext.jar
system/framework/ext.odex
I flashed the zip in TWRP, it showed flash successful, I rebooted.
Now I am stuck at boot screen. I didn't know if this would work, I was experimenting. I made a NAND BU before this in case it didn't work...or in my mind, worse case scenario, I would get stuck in a boot loop.
But now it appears it's even worse! I've tried holding down power button until the capacitive buttons lights flash...but unlike my prior experience on the OneX and OneX+, nothing happens!! This is where I am worried! My other phones would reboot after holding the power button down for 3-5 seconds!
I've held power button up to 2 minutes...the lights at the bottom flash...but the phone never reboots.
Any advice/solutions would greatly be appreciated.
You have to hold the power button for about 20 seconds before it will actually shut off. It will shut off. Make sure you are not plugged into anything either. If it
Once its off then try to boot back to recovery and restore the files you overwrote.
My guess, the ext.* is whats stopping you from booting. What ROM did you take it from and or how did you make it?
The updater script is technically correct.
EDIT: Did you personally verify the mount points on the Dev Edition? I have not so I assume that is correct.
Edit2: If it doesnt shut off let the battery run down and then charge it up and boot to recovery. Had to do that once in the HTC Flyer. Wow, that was fun.
Edit3: Also, you cant mix odex bases like that... Only with De-Odex. You would to need re-de-odex the file then re-odex it against your base. To make it even easier just take the de-odex files and then re-odex them against your base.
Yes I verified the mount points.
I ran:
adb shell
cat proc/emmc
dev: size erasesize name
mmcblk0p19: 000ffa00 00000200 "misc"
mmcblk0p34: 00fffe00 00000200 "recovery"
mmcblk0p33: 01000000 00000200 "boot"
mmcblk0p35: 73fffc00 00000200 "system"
mmcblk0p26: 00140200 00000200 "local"
mmcblk0p36: 27fffe00 00000200 "cache"
mmcblk0p37: dc8000000 00000200 "userdata"
mmcblk0p22: 01400000 00000200 "devlog"
mmcblk0p24: 00040000 00000200 "pdata"
mmcblk0p27: 00010000 00000200 "extra"
mmcblk0p31: 04b00200 00000200 "radio"
mmcblk0p16: 03c00400 00000200 "adsp"
mmcblk0p15: 00100000 00000200 "dsps"
mmcblk0p17: 007ffa00 00000200 "radio_config"
mmcblk0p20: 00400000 00000200 "modem_st1"
mmcblk0p21: 00400000 00000200 "modem_st2"
mmcblk0p28: 00100000 00000200 "cdma_record"
mmcblk0p18: 02000000 00000200 "reserve_1"
mmcblk0p30: 034ffa00 00000200 "reserve_2"
mmcblk0p32: 05fffc00 00000200 "reserve_3"
mmcblk0p29: 06069e00 00000200 "reserve"
I may have to wait until battery drains! I've tried for the last hour to hold power down...bottom lights flash...never reboots! :crying:
wmg316 said:
Yes I verified the mount points.
I may have to wait until battery drains! I've tried for the last hour to hold power down...bottom lights flash...never reboots! :crying:
Click to expand...
Click to collapse
Damn, that sucks.
Look at the bright side.... At least your learned about the differences in Odex bases and that you just cant mix and match them like de-odex...
I thought of one other thing too... Can you connect to USB and get an ADB shell?
scrosler said:
Damn, that sucks.
Look at the bright side.... At least your learned about the differences in Odex bases and that you just cant mix and match them like de-odex...
I thought of one other thing too... Can you connect to USB and get an ADB shell?
Click to expand...
Click to collapse
No...I tried that. PC recognizes the connection (at least it makes the USB connection sound!)...but adb commands won't work at this spot where the phone is stuck..."device not found".
scrosler said:
Damn, that sucks.
Look at the bright side.... At least your learned about the differences in Odex bases and that you just cant mix and match them like de-odex...
I thought of one other thing too... Can you connect to USB and get an ADB shell?
Click to expand...
Click to collapse
And the 2nd most important thing I learned is I should have just flashed YOUR ROM and been done with it! Instead, I take the experimental route...that was the only thing from stock I was really missing was the AT&T data signal icons...thought I'd give that a try.
Well I think the battery finally discharged completely...the screen went blank and phone appeared to be off.
I plugged phone into charger and the red led light at top blinked off and on for 10-20 seconds...then went to steady on. I assumed was charging.
I waited 45 minutes and with the phone still plugged into the charger, I pressed and held the power button and the volume down button. The capacitive buttons at the bottom started blinking...and it never went into bootloader. I released both buttons...and the phone began to reboot...again stuck at the HTC One screen.
Starting to get worried now!
Any suggestions would greatly be appreciated.
Does holding volume up and down together and power button for 10+ sec work for you?
Dottcent said:
Does holding volume up and down together and power button for 10+ sec work for you?
Click to expand...
Click to collapse
No it doesn't....but...
UPDATE!!!
As I mentioned earlier, while stuck in the boot screen, I could connect to the PC and the PC connected...and HTC Sync opened...and I tried to adb boot into bootloader. I was getting "device not found".
So...I tried this:
adb kill-server
then...
adb start-server
then...
adb reboot-bootloader
AND IT BOOTED INTO BOOTLOADER!!
Restored NAND BU...and now back up and running!
@scrosler Thanks so much for your time in helping me.
Glad you got it bro!
I would be remiss to tell you that I have not been where you just where, lol
Oh and if you dump the system and boot images for me I will make you exactly what you want :good:
Related
I'm lucky enough to have an S-Offed Bell Inc S.
I notice that there are no RUUs for the Bell version available over in the dev. sticky.
Does that mean that I cannot flash a stock recovery if I flash clockworkmod?
Dster said:
I'm lucky enough to have an S-Offed Bell Inc S.
I notice that there are no RUUs for the Bell version available over in the dev. sticky.
Does that mean that I cannot flash a stock recovery if I flash clockworkmod?
Click to expand...
Click to collapse
I have been unable to find any Bell IS RUU, froyo or gingerbread. I do not believe it exists... it would be posted here if it was:
http://www.htc.com/ca/support/incredibles-bell/downloads/
you_eeeeeediot said:
I have been unable to find any Bell IS RUU, froyo or gingerbread. I do not believe it exists... it would be posted here if it was:
http://www.htc.com/ca/support/incredibles-bell/downloads/
Click to expand...
Click to collapse
Me neither.
Anyone know if it is possible to use the recovery image from one of the other RUUs?
how'd you get s-off?
Dster said:
I'm lucky enough to have an S-Offed Bell Inc S.
I notice that there are no RUUs for the Bell version available over in the dev. sticky.
Does that mean that I cannot flash a stock recovery if I flash clockworkmod?
Click to expand...
Click to collapse
chris_barsoum said:
how'd you get s-off?
Click to expand...
Click to collapse
PAYG clip.
I have a xtc clip in toronto can do it,for,small fee
Sent from my HTC Incredible S using XDA App
I'm in Halifax, no fee until I run out of free credits (3 left).
Dster said:
Me neither.
Anyone know if it is possible to use the recovery image from one of the other RUUs?
Click to expand...
Click to collapse
So your problem is that you want to be able to reflash your original recovery?
If that's the case, then you can simply dump it before you flash clockwork.
On Bell it must be the same emmc partitioning, but to make 100% sure do the following:
adb shell
and then cat /proc/emmc
it should print this:
dev: size erasesize name
mmcblk0p17: 00040000 00000200 "misc"
mmcblk0p21: 0087f400 00000200 "recovery"
mmcblk0p22: 00400000 00000200 "boot"
mmcblk0p25: 22dffe00 00000200 "system"
mmcblk0p27: 12bffe00 00000200 "cache"
mmcblk0p26: 496ffe00 00000200 "userdata"
mmcblk0p28: 014bfe00 00000200 "devlog"
mmcblk0p29: 00040000 00000200 "pdata"
You see "recovery" is mmcblk0p21.
Now first root your phone without flashing a custom recovery.
After you got root do the following:
adb shell
su
dd if=/dev/block/mmcblk0p21 of=/sdcard/bell_orig_recovery.img
then if you really need it you can simply flash it back:
dd of=/dev/block/mmcblk0p21 if=/sdcard/bell_orig_recovery.img
madmaxx82 said:
So your problem is that you want to be able to reflash your original recovery?
If that's the case, then you can simply dump it before you flash clockwork.
On Bell it must be the same emmc partitioning, but to make 100% sure do the following:
adb shell
and then cat /proc/emmc
it should print this:
dev: size erasesize name
mmcblk0p17: 00040000 00000200 "misc"
mmcblk0p21: 0087f400 00000200 "recovery"
mmcblk0p22: 00400000 00000200 "boot"
mmcblk0p25: 22dffe00 00000200 "system"
mmcblk0p27: 12bffe00 00000200 "cache"
mmcblk0p26: 496ffe00 00000200 "userdata"
mmcblk0p28: 014bfe00 00000200 "devlog"
mmcblk0p29: 00040000 00000200 "pdata"
You see "recovery" is mmcblk0p21.
Now first root your phone without flashing a custom recovery.
After you got root do the following:
adb shell
su
dd if=/dev/block/mmcblk0p21 of=/sdcard/bell_orig_recovery.img
then if you really need it you can simply flash it back:
dd of=/dev/block/mmcblk0p21 if=/sdcard/bell_orig_recovery.img
Click to expand...
Click to collapse
It's people like you that make me love XDA.
I have the Bell recovery image now, checked the memory size against the internal hex for safety. If anyone wants it for any reason, PM me.
Dster said:
It's people like you that make me love XDA.
I have the Bell recovery image now, checked the memory size against the internal hex for safety. If anyone wants it for any reason, PM me.
Click to expand...
Click to collapse
Hahaha thanks. Glad you got it!
Automatic Kernel Installation for S-ON Unlocked Devices
http://forum.xda-developers.com/showthread.php?t=1419587
Currently testing this out to see if it is compatible, has anyone had any luck. Its been on the xda front page for about a day
Modifying for Vivid Usage
Just letting you know we do have some batch file (automatic) kernel flashers. Better yet, we have a working kernel/recovery flasher that does it from an android app so it is computer (windows/mac/etc) independent. It even finds the kernel image in a Rom zip. That'd be great if you want to port it, but I don't want you to feel like you wasted your time.
Sent from my HTC PH39100 using xda premium
slapshot30 said:
Just letting you know we do have some batch file (automatic) kernel flashers. Better yet, we have a working kernel/recovery flasher that does it from an android app so it is computer (windows/mac/etc) independent. It even finds the kernel image in a Rom zip. That'd be great if you want to port it, but I don't want you to feel like you wasted your time.
Sent from my HTC PH39100 using xda premium
Click to expand...
Click to collapse
My way is better. doesn't require fastboot/adb to be working or installed. I can port it if you get me the mount points for /sdcard while in recovery and /boot
This can be done by going into recovery, mounting the sd card, and typing "df" into adb shell.
Then to get the boot mount point, type "cat /proc/emmc" in adb shell while in Sense. Both commands are without quotes. Just PM me the copy and pasted output and I will whip up a port in a few minutes.
con247 said:
My way is better. doesn't require fastboot/adb to be working or installed. I can port it if you get me the mount points for /sdcard while in recovery and /boot
This can be done by going into recovery, mounting the sd card, and typing "df" into adb shell.
Then to get the boot mount point, type "cat /proc/emmc" in adb shell while in Sense. Both commands are without quotes. Just PM me the copy and pasted output and I will whip up a port in a few minutes.
Click to expand...
Click to collapse
That would be awesome. I'm still at work but ill forward you a copy as quick as I can
Sent from my HTC PH39100 using xda premium
mmcblk0p24: 00fff600 00000200 "misc"
mmcblk0p23: 00fffc00 00000200 "recovery"
mmcblk0p22: 01000000 00000200 "boot"
mmcblk0p29: 3ffffe00 00000200 "system"
mmcblk0p35: 11fffe00 00000200 "cache"
mmcblk0p34: fffffe00 00000200 "userdata"
mmcblk0p30: 01fba600 00000200 "devlog"
mmcblk0p32: 00040000 00000200 "pdata"
mmcblk0p17: 02800000 00000200 "radio"
mmcblk0p21: 02000000 00000200 "adsp"
mmcblk0p19: 007ffc00 00000200 "radio_config"
mmcblk0p25: 00400000 00000200 "modem_st1"
mmcblk0p26: 00400000 00000200 "modem_st2"
mmcblk0p18: 02800000 00000200 "mdm9k"
mmcblk0p20: 007ffa00 00000200 "mdm9k_config"
mmcblk0p27: 00400000 00000200 "mdm_efs1"
mmcblk0p28: 00400000 00000200 "mdm_efs2"
con247 said:
My way is better. doesn't require fastboot/adb to be working or installed. I can port it if you get me the mount points for /sdcard while in recovery and /boot
This can be done by going into recovery, mounting the sd card, and typing "df" into adb shell.
Then to get the boot mount point, type "cat /proc/emmc" in adb shell while in Sense. Both commands are without quotes. Just PM me the copy and pasted output and I will whip up a port in a few minutes.
Click to expand...
Click to collapse
Gotcha, nice work. The more tools we can get, the better.
Well, I got it done (I think). You didn't get me the sd card mount point I needed, but I am assuming it is the same. The instructions are the same as those for the rezound.
I can't test it, so if it doesn't work, then it just won't work. The only issue that is possible is the sd card mount is wrong. If the script doesn't work, it DOESN'T pose a danger to your phone.
YOU HAVE TO SWAP OUT THE ZIMAGE IN THE FOLDER THOUGH, AS THERE IS A REZOUND KERNEL IN THERE. Worst thing that could happen with this is a bootloop and you would need to reflash your boot image with a backup or something.
This is a WIP(work in progress)..built from latest source(maintained)..this is untested since none of you wants to help..used the latest OTA images for some parts of the recovery(built it with dependency mode)
Grab the image here
for both S-ON and S-OFF:
- Grab the recovery image..
- Setup Fastboot tools and drivers..
- Reboot phone to Bootloader mode(pressing Volume down while powering it on and pressing on Bootloader option)
- Run command prompt on your fastboot directory by Holding Shift(keyboard) and pressing right click on your mouse..choose open command window here..
- Issue commands:
Code:
fastboot erase cache
- Then after finishing the previous command..
Code:
fastboot flash recovery [COLOR="Red"][I]image.image[/I][/COLOR]
note: where image.image is the filename of the recovery image you have downloaded..
- Reboot bootloader and try to enter recovery..and give yourself a HUG..if all goes well you will be greeted by the Teamwin screen and will enter the menu shortly..
Kindly test and give feedback.. if you like it a Thanks cannot be as harmful as it seems..it will keep me motivated to work things out for FREE..
Credits:
DeesTroy(TWRP), Flyhalf205(device tree), Omni git, tropical_cactus(tester), moonchy(tester), migascalp(tester) and to those who donated my biggest Thanks!!
XDA:DevDB Information
TWRP for Butterfly S, Tool/Utility for the HTC Butterfly S
Contributors
kairi_zeroblade
Version Information
Status: Testing
Created 2014-10-18
Last Updated 2014-10-18
Installed on my 901S and it does not work. Wanting to get into recovery the phone will restart.:crying:
We hope you manage to fix the problem charging the phone is off.
For the moment, thanks!
fiorello said:
Installed on my 901S and it does not work. Wanting to get into recovery the phone will restart.:crying:
We hope you manage to fix the problem charging the phone is off.
For the moment, thanks!
Click to expand...
Click to collapse
they removed the offmode charging on kitkat..even on the HTC One,,if you want offmode charging downgrade your bootloader..can you dump me a last_kmsg and a recovery log from /cache/recovery.log or sumthin..
edit:
here's a new image..can you try this??this is still using your own stock recovery image..dl here
kairi_zeroblade said:
they removed the offmode charging on kitkat..even on the HTC One,,if you want offmode charging downgrade your bootloader..can you dump me a last_kmsg and a recovery log from /cache/recovery.log or sumthin..
edit:
here's a new image..can you try this??this is still using your own stock recovery image..dl here
Click to expand...
Click to collapse
Thanks. Will try when I get my damn phone back from the service centre. After chasing everyday, it's finally repaired. Can I give your kernel a try?
Not even the new image works. Advice concerning the same: the phone will restart.
fiorello said:
Not even the new image works. Advice concerning the same: the phone will restart.
Click to expand...
Click to collapse
logs please..i dont know if the recovery of 901s even differs from the 901e..build is successful and no issues..
The file /cache/recovery.log is not created because the recovery will not start
fiorello said:
The file /cache/recovery.log is not created because the recovery will not start
Click to expand...
Click to collapse
last_kmsg will be created..i need to know where it is having issues..
I am attaching the file that I last_kmsg taken immediately after the restart of the phone
fiorello said:
I am attaching the file that I last_kmsg taken immediately after the restart of the phone
Click to expand...
Click to collapse
it cannot mount the partition thats why it restarts..can you do on a terminal for me a cat /proc/emmc command??so i can check the partitions..
kairi_zeroblade said:
it cannot mount the partition thats why it restarts..can you do on a terminal for me a cat /proc/emmc command??so i can check the partitions..
Click to expand...
Click to collapse
Here's one from my phone, running the system:
Code:
dev: size erasesize name
mmcblk0p20: 000ffa00 00000200 "misc"
mmcblk0p37: 00fffe00 00000200 "recovery"
mmcblk0p36: 01000000 00000200 "boot"
mmcblk0p38: 8bfffc00 00000200 "system"
mmcblk0p27: 00140200 00000200 "local"
mmcblk0p39: 17fffe00 00000200 "cache"
mmcblk0p40: 2d0000000 00000200 "userdata"
mmcblk0p23: 01400000 00000200 "devlog"
mmcblk0p25: 00040000 00000200 "pdata"
mmcblk0p28: 00010000 00000200 "extra"
mmcblk0p34: 04b00200 00000200 "radio"
mmcblk0p16: 03c00400 00000200 "adsp"
mmcblk0p15: 00100000 00000200 "dsps"
mmcblk0p17: 007ffa00 00000200 "radio_config"
mmcblk0p21: 00400000 00000200 "modem_st1"
mmcblk0p22: 00400000 00000200 "modem_st2"
mmcblk0p30: 00040000 00000200 "skylink"
mmcblk0p31: 01900000 00000200 "carrier"
mmcblk0p29: 00100000 00000200 "cdma_record"
mmcblk0p19: 01bffe00 00000200 "reserve_1"
mmcblk0p33: 034ffa00 00000200 "reserve_2"
mmcblk0p35: 05fffc00 00000200 "reserve_3"
mmcblk0p32: 04729a00 00000200 "reserve"
mmcblk0p26: 00004000 00000200 "control"
Result for cat / proc / EMMC attachment
ok so this is the fstab for twrp that its trying to mount..
Code:
# Android fstab file.
# mount point fstype device [device2]
/boot emmc /dev/block/mmcblk0p36
/cache ext4 /dev/block/mmcblk0p39
/data ext4 /dev/block/mmcblk0p40
/recovery emmc /dev/block/mmcblk0p37
/system ext4 /dev/block/mmcblk0p38
/external_sd vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
so everything seems to match..will rebuild in just a while..
edit: new image here..took me around 8 minutes to rebuild..lolz..kindly test and give feedback
To me it does not work: the phone is restarted.
fiorello said:
To me it does not work: the phone is restarted.
Click to expand...
Click to collapse
what recovery are you using recently??
TWRP 2.7.0.0 with SELinux support
fiorello said:
TWRP 2.7.0.0 with SELinux support
Click to expand...
Click to collapse
ok..am doing a rebuild now i think i got the fix..(wink*)
edit: here a new test build
:good: Now the phone easily fits into recovery, and also the problem of charging the phone is off it seems to work well. Now I want to try to do a backup and then a restore. I'll know in a few minutes.
For the moment, thank you very much.:fingers-crossed:
---------- Post added at 03:34 PM ---------- Previous post was at 03:30 PM ----------
Immediately an error: Unable to mount '/ cache'
fiorello said:
:good: Now the phone easily fits into recovery, and also the problem of charging the phone is off it seems to work well. Now I want to try to do a backup and then a restore. I'll know in a few minutes.
For the moment, thank you very much.:fingers-crossed:
Click to expand...
Click to collapse
hit the thanks button..i knew it..it was chickening me out..nonetheless will update this in a few days time..
dump me a recovery log this time..so i can double check..
edit: can you wipe cache and see if it mounts on next reboot?
I did a wipe cache and now it works. I do a backup and a restore and let you know.
---------- Post added at 04:08 PM ---------- Previous post was at 03:50 PM ----------
:good: Backup and Restore completed successfully!!!!
New Update for our phones. Anyone know about this update m Download link for the update. mediafirecom/?ll6h862125c4l5o
Here's info on it
https://community.sprint.com/baw/thread/180988
I would like to know how to install it with a custom recovery.
Me too. I just told it to install and it downloaded, restarted into recovery and didn't do anything.
jmdarling said:
Me too. I just told it to install and it downloaded, restarted into recovery and didn't do anything.
Click to expand...
Click to collapse
need stock recovery
jmdarling said:
Me too. I just told it to install and it downloaded, restarted into recovery and didn't do anything.
Click to expand...
Click to collapse
Same here.
HTC Download Link:
http://dl3.htc.com/application/RUU_..._NV_SPCS_1.08_003_release_403624_signed_2.exe
Confirmed working ...
on Virgin Mobile
jdmedeiros said:
HTC Download Link:
http://dl3.htc.com/application/RUU_..._NV_SPCS_1.08_003_release_403624_signed_2.exe
Click to expand...
Click to collapse
LarryBoyG said:
on Virgin Mobile
Click to expand...
Click to collapse
Error 155!!!!
How to fix it?
Need help
Try making sure HTC sync is closed all the way.
Won't running this RUU wipe our phone?
LarryBoyG said:
Try making sure HTC sync is closed all the way.
Click to expand...
Click to collapse
Security fail!
Maybe need S-OFF?
Igor2906 said:
Security fail!
Maybe need S-OFF?
Click to expand...
Click to collapse
It worked for me on virgin mobile but I got the same error as you on boost. Weird.
jdmedeiros said:
HTC Download Link:
http://dl3.htc.com/application/RUU_..._NV_SPCS_1.08_003_release_403624_signed_2.exe
Click to expand...
Click to collapse
I need this new update for my htc because i have bootloop but its give me 132 error,i think my phone is no virgin..(dont know how to check it) so there is other RUU file what is working on boost/sprint or idk what namr other...?
yeah, im getting the same error.
has anyone found a solution?
All Sprint RUU info in one place
The update: http://dl3.htc.com/application/RUU_..._NV_SPCS_1.08_003_release_403624_signed_2.exe (within which you have rom.zip)
The key file: http://goo.gl/MXyoel
The HBoot file: http://goo.gl/tec0Ph
The Boot image file: http://goo.gl/PHQqjp
The Radio image file: http://goo.gl/Axs0rK
If someone could do the same for a GSM version, like Cricket or Telus, would be great!
jdmedeiros said:
The update: http://dl3.htc.com/application/RUU_..._NV_SPCS_1.08_003_release_403624_signed_2.exe (within which you have rom.zip)
The key file: http://goo.gl/MXyoel
The HBoot file: http://goo.gl/tec0Ph
The Boot image file: http://goo.gl/PHQqjp
The Radio image file: http://goo.gl/Axs0rK
If someone could do the same for a GSM version, like Cricket or Telus, would be great!
Click to expand...
Click to collapse
I'm on cricket and still no update [emoji53]
Any chance you could extract and post your HBoot file and radio.img file? I would appreciate it.
Surj138 said:
I'm on cricket and still no update [emoji53]
Click to expand...
Click to collapse
jdmedeiros said:
Any chance you could extract and post your HBoot file and radio.img file? I would appreciate it.
Click to expand...
Click to collapse
Hi,
Maybe if you post a method (guide) for extracting the HBoot file and the radio.img file, someone will be able to follow your guide and post these two files.
Just a suggestion...
Just a suggestion? You should bang my head with it until I do it... coming up in 1 minute!
moh19814 said:
Hi,
Maybe if you post a method (guide) for extracting the HBoot file and the radio.img file, someone will be able to follow your guide and post these two files.
Just a suggestion...
Click to expand...
Click to collapse
---------- Post added at 02:06 PM ---------- Previous post was at 02:01 PM ----------
Better late than never... I have been asking people to send me the HBoot file and Radio file from Cricket or Telus, but I have failed to detail how this should be done. moh19814 called me out on this and in good time he did. Here it is:
adb shell
su
mkdir /mnt/media_rw/ext_sd/firm_backup/
cd /mnt/media_rw/ext_sd/firm_backup/
cat /proc/emmc
Now, look at the listing (mine is at the bottom of this post) and find the blocks associated with what we want. In my case they were 11, 18 and 20. Continue, but double check before pressing ENTER...
dd if=/dev/block/mmcblk0p11 of=/mnt/media_rw/ext_sd/firm_backup/hboot
dd if=/dev/block/mmcblk0p18 of=/mnt/media_rw/ext_sd/firm_backup/radio_config
dd if=/dev/block/mmcblk0p20 of=/mnt/media_rw/ext_sd/firm_backup/radio
dd if=/dev/block/mmcblk0p25 of=/mnt/media_rw/ext_sd/firm_backup/modem_st1
dd if=/dev/block/mmcblk0p26 of=/mnt/media_rw/ext_sd/firm_backup/modem_st2
ls -l
exit
exit
At this point I looked at my sdcard on Windows but I did not see the firm_backup folder. I properly ejected the phone, removed the usb cable from the computer, connected the phone again and the folder was there and within the folder there was the three files.
[email protected]_a11chl:/mnt/media_rw/ext_sd/firm_backup # cat /proc/emmc
cat /proc/emmc
dev: size erasesize name
mmcblk0p1: 00100000 00000200 "sbl1"
mmcblk0p2: 02000000 00000200 "pg1fs"
mmcblk0p3: 00004000 00000200 "board_info"
mmcblk0p4: 00ef7c00 00000200 "reserve_1"
mmcblk0p5: 00040000 00000200 "mfg"
mmcblk0p6: 017afc00 00000200 "pg2fs"
mmcblk0p7: 00040000 00000200 "sbl1_update"
mmcblk0p8: 00040000 00000200 "rpm"
mmcblk0p9: 00200000 00000200 "tz"
mmcblk0p10: 00008000 00000200 "sdi"
mmcblk0p11: 00400000 00000200 "hboot"
mmcblk0p12: 00500000 00000200 "sp1"
mmcblk0p13: 00100000 00000200 "wifi"
mmcblk0p14: 00008000 00000200 "ddr"
mmcblk0p15: 00100000 00000200 "dsps"
mmcblk0p16: 03c00400 00000200 "adsp"
mmcblk0p17: 00500000 00000200 "wcnss"
mmcblk0p18: 00800000 00000200 "radio_config"
mmcblk0p19: 00180000 00000200 "fsg"
mmcblk0p20: 04b00400 00000200 "radio"
mmcblk0p21: 00400000 00000200 "tool_diag"
mmcblk0p22: 00a00000 00000200 "custdata"
mmcblk0p23: 006ffc00 00000200 "reserve_2"
mmcblk0p24: 00100000 00000200 "misc"
mmcblk0p25: 00180000 00000200 "modem_st1"
mmcblk0p26: 00180000 00000200 "modem_st2"
mmcblk0p27: 01400000 00000200 "fataldevlog"
mmcblk0p28: 00001000 00000200 "debug_config"
mmcblk0p29: 00040000 00000200 "pdata"
mmcblk0p30: 00004000 00000200 "control"
mmcblk0p31: 00140400 00000200 "local"
mmcblk0p32: 00010000 00000200 "extra"
mmcblk0p33: 00100000 00000200 "cdma_record"
mmcblk0p34: 00000400 00000200 "fsc"
mmcblk0p35: 00002000 00000200 "ssd"
mmcblk0p36: 00040000 00000200 "skylink"
mmcblk0p37: 01900000 00000200 "carrier"
mmcblk0p38: 01e00000 00000200 "devlog"
mmcblk0p39: 00e28800 00000200 "reserve"
mmcblk0p40: 01000000 00000200 "boot"
mmcblk0p41: 01000000 00000200 "recovery"
mmcblk0p42: 06c00000 00000200 "cache"
mmcblk0p43: 80000000 00000200 "system"
mmcblk0p44: 48000000 00000200 "userdata"
[email protected]_a11chl:/mnt/media_rw/ext_sd/firm_backup #
Purple flashing light
Hi, in a review for the HTC DESIRE 510 i saw a purple flashing light next to front camera, the review was on a boost us model,
Just curious about this flashing light.... due to the fact i dont have this light on my desire 510.
Hey everyone!
I am trying to get root access to my HTC Desire 626s.
I have been able to unlock it via HTCDev site.
At this point I believe I need to get root access.. I have tried the one click option Kingroot which was unsuccessful.. It always stops at 16-17%....
I believe I can obtain root access by flashing a CWM recovery which would have to be built for the 626s..
I am not sure if builder.clockworkmod.com is still functional?
Is anyone able to build a CWM recovery for this device? If so what would I need to provide?
Any help or responses would be much appreciated!
EDIT: Dump from /proc/emmc
130|[email protected]_a32eul:/ $ cat /proc/emmc
dev: size erasesize name
mmcblk0p1: 00004000 00000200 "board_info"
mmcblk0p2: 00400000 00000200 "pg1fs"
mmcblk0p3: 00100000 00000200 "sbl1"
mmcblk0p4: 01af7c00 00000200 "reserve_1"
mmcblk0p5: 00040000 00000200 "mfg"
mmcblk0p6: 017afc00 00000200 "pg2fs"
mmcblk0p7: 00040000 00000200 "rpm"
mmcblk0p8: 00200000 00000200 "tz"
mmcblk0p9: 00400000 00000200 "aboot"
mmcblk0p10: 00a00000 00000200 "sp1"
mmcblk0p11: 00008000 00000200 "ddr"
mmcblk0p12: 00100000 00000200 "rfg_0"
mmcblk0p13: 00100000 00000200 "rfg_1"
mmcblk0p14: 00100000 00000200 "rfg_2"
mmcblk0p15: 00100000 00000200 "rfg_3"
mmcblk0p16: 00100000 00000200 "rfg_4"
mmcblk0p17: 00100000 00000200 "rfg_5"
mmcblk0p18: 00100000 00000200 "rfg_6"
mmcblk0p19: 00100000 00000200 "rfg_7"
mmcblk0p20: 00180000 00000200 "fsg"
mmcblk0p21: 03b00400 00000200 "radio"
mmcblk0p22: 00a00000 00000200 "tool_diag"
mmcblk0p23: 00500000 00000200 "wcnss"
mmcblk0p24: 00000400 00000200 "limits"
mmcblk0p25: 00447c00 00000200 "reserve_2"
mmcblk0p26: 00100000 00000200 "misc"
mmcblk0p27: 00001000 00000200 "debug_config"
mmcblk0p28: 00180000 00000200 "modem_st1"
mmcblk0p29: 00180000 00000200 "modem_st2"
mmcblk0p30: 00040000 00000200 "pdata"
mmcblk0p31: 01600000 00000200 "persist"
mmcblk0p32: 00004000 00000200 "sec"
mmcblk0p33: 00100000 00000200 "cdma_record"
mmcblk0p34: 00000400 00000200 "fsc"
mmcblk0p35: 00002000 00000200 "ssd"
mmcblk0p36: 00020000 00000200 "rfg_8"
mmcblk0p37: 00020000 00000200 "rfg_9"
mmcblk0p38: 00020000 00000200 "rfg_10"
mmcblk0p39: 00020000 00000200 "rfg_11"
mmcblk0p40: 00020000 00000200 "rfg_12"
mmcblk0p41: 00020000 00000200 "rfg_13"
mmcblk0p42: 00020000 00000200 "rfg_14"
mmcblk0p43: 00020000 00000200 "rfg_15"
mmcblk0p44: 00004000 00000200 "control"
mmcblk0p45: 00010000 00000200 "extra"
mmcblk0p46: 00140400 00000200 "local"
mmcblk0p47: 00040000 00000200 "skylink"
mmcblk0p48: 02800000 00000200 "carrier"
mmcblk0p49: 00080000 00000200 "frp"
mmcblk0p50: 01400000 00000200 "fataldevlog"
mmcblk0p51: 01e00000 00000200 "devlog"
mmcblk0p52: 00a00000 00000200 "ramdump"
mmcblk0p53: 00a00000 00000200 "battery"
mmcblk0p54: 01000000 00000200 "absolute"
mmcblk0p55: 023a4800 00000200 "reserve"
mmcblk0p56: 03000000 00000200 "hosd"
mmcblk0p57: 02000000 00000200 "boot"
mmcblk0p58: 02000000 00000200 "recovery"
mmcblk0p59: 10000000 00000200 "cache"
mmcblk0p60: a0000000 00000200 "system"
mmcblk0p61: 12000000 00000200 "apppreload"
mmcblk0p62: 02800000 00000200 "cota"
mmcblk0p63: f0000000 00000200 "userdata"
When attempting to dd the recovery block I get an error since I don't have permission.
dd if=/dev/block/mmcblk0p58 of=/sdcard2/recovery.img
Was this the app or pc version of kingroot that failed?
Sent from my SAMSUNG-SM-G870A using XDA Free mobile app
Anyone able to root this yet ?
http://forum.xda-developers.com/showthread.php?t=3181038 I made a thread got the stock recovery
Sent from my LGMS345 using Tapatalk
Just picked up this phone, awaiting a way to root, kingroot and kingoroot do not work. Cricket 626S. Already ran htcdev on it, need recovery to install supersu.
Update on Root?
I was hesitant to buy a new phone from MetroPCS lineup given that I was aware a root would not be available. This phone is great but has so much more capability. Not writing to SD card is crazy. You can trasnfer files on a PC between internal storage and SD. Anyway enough said. Does anyone have any updates on a root?
i found a thread with the stock recovery, i do not understand how to create a custom recovery ive gone over it over and over. i also tried the clockworkmod builder but it doesnt seem to be working i just get 404 errors. here is the link to the thread its the op. hopefully some one can make a custom recovery
http://forum.xda-developers.com/general/xda-assist/htc-desire-626s-cwm-build-t3181038
I'm also interested in this. I spent most of my time trying to extract the stock recovery from the RUU (which you can download from HTC's website, then extract using instructions here on XDA. It's basically starting the exe, then going to your temp directory). Some of the files can be extracted, but I think the others are encrypted. I've read that HTC started doing this a while back.
If the above link really is a copy of the stock recovery (and I'm curious to know how this was obtained), then we may be able to build CWM following these instructions- http://xda-university.com/as-a-developer/porting-clockworkmod-recovery-to-a-new-device
Or maybe we also need the boot.img. I can't remember if this was one of the files I was able to extract from the RUU. Either way, there's some process by which we should be able to create a custom recovery.
Once we have something built and want to test it, you can try to boot your phone into the recovery without actually flashing it by running
Code:
fastboot boot recovery.img
. See these links- https://aubykhan.wordpress.com/2013/07/21/android-tip-boot-into-twrp-or-cwm-recovery-without-flashing/ http://androidforums.com/threads/stock-recovery-partition-image-backup.612148/ http://optionkey.blogspot.com/2013/12/backing-up-your-android-phones-stock.html
I'm kinda busy the next few weeks, but I definitely want to work on this when I get the chance some time. This is about the extent of what I know at this point. Have at it.
i tried that one, wont boot with fastboot boot cmd, says its a incomplete boot image
Here's something else worth looking into -https://twitter.com/srsroot/status/639544040489357312?s=09 which links to http://www.srsroot.com
If that doesn't work, it appears we can modify the boot.img file to gain root adb. I found it here http://androidforums.com/threads/htc-desire-626s-root.946455/ with more detailed instructions here http://android.stackexchange.com/questions/28653/obtaining-root-by-modifying-default-propro-secure
Again, I'll try this sometime, but I'll be pretty busy for a while.
k, ill take a looksie
edit: problem with this is, we need boot.img, but we can only get that with root xd
I might have that file. HTC posts their RUU files on their developer website. There are instructions floating around here showing how to extract them. It didn't have recovery, but it might have had boot.img. I just got to work, but I'll check when I get home.
Edit: Just check on TeamViewer. I've got a boot_signed.img file. We might be in business.
k man, that root kit doesnt work either im afraid
tried a few times
but is there a safe way to test the bootimg? can we boot that like we do recovery?
Perhaps you could boot it through fastboot, but I'm not finding any mention of it online. I'll probably give it a shot. Whenever I get to make it, I'll flash it on my device. Even if it's bad, we ought to be able to boot into fastboot and reflash the stock boot image. If that even fails, we have an RUU from HTC that should completely restore everything. And if THAT fails, then I wouldn't mind helping myself to the new Nexus 5X
lolol, i see how it is xD
here is hoping that it goes bad huh?
I tried modding the boot.img file I pulled from the RUU. I flashed it, and my phone booted fine, but didn't seem to have any root access via adb or terminal. I tried "adb root", but apparently you need a modded version of the adbd binary per this page- http://bclary.com/blog/2014/04/14/splitting-and-packing-android-boot-images/. I followed these instructions http://forum.xda-developers.com/showthread.php?t=2593581 and included an insecure adbd, but this made my phone go into a bootloop.
I was able to reflash the stock boot.img (from the RUU) after each time with no troubles. So, no bricks, but no root yet either. I notice that my device still has "s-on". Haven't been an HTC guy before, but I think that needs to be "s-off". I'll try again some other time.
Just to be thorough (in case anyone else wants to try), these tools helped to unpack the boot.img file - http://forum.xda-developers.com/showthread.php?t=1494036
i been a htc user for a few years now, and although i always got s-off before, im almost 100% certain that for gaining root its not needed.
unlocking bootloader should be enough, if we can get a custom recovery on it that is...
It may be worth investigating other ways of modifying the boot.img to give us root access over adb, but it seems that we need a version of adbd that won't cause a bootloop. I should mention that whenever I used the modified adbd binary (which always made it bootloop), I got a red warning/copyright message really quickly. It said something like "this HTC development something is property of HTC". I never got that message when I only modified default.prop.
A custom recovery would be the best option for sure. There's a post on XDA University about making CWM for a new device, and this method needs the boot.img (unlike the other method, which needs the recovery.img we don't have apparently). Reading the instructions, I'm not entirely sure it works for devices CM doesn't support, since it makes mention of the device codename, but I'm hopeful. Since I know for a fact we have a working stock boot.img (my phone is using it to boot now, lol), this looks like a good option.
---------- Post added at 08:57 AM ---------- Previous post was at 08:57 AM ----------
It may be worth investigating other ways of modifying the boot.img to give us root access over adb, but it seems that we need a version of adbd that won't cause a bootloop. I should mention that whenever I used the modified adbd binary (which always made it bootloop), I got a red warning/copyright message really quickly. It said something like "this HTC development something is property of HTC". I never got that message when I only modified default.prop.
A custom recovery would be the best option for sure. There's a post on XDA University about making CWM for a new device, and this method needs the boot.img (unlike the other method, which needs the recovery.img we don't have apparently). Reading the instructions, I'm not entirely sure it works for devices CM doesn't support, since it makes mention of the device codename, but I'm hopeful. Since I know for a fact we have a working stock boot.img (my phone is using it to boot now, lol), this looks like a good option.
well, we could always try TWRP recovery, if CWM doesnt work
Edit, thanx to another member here, i got files from a RUU, for the 626s, dont think that changes much, that "S"
anyway, in it i got boot, aboot, recovery etc, do you think we can do stuff with it?
From my understanding you need to set Selinux to permissive for an insecure boot.img to work on lollipop. I am unaware on how to do this but I believe we need to wait for HTC to post the Kernel source on HTCdev in order to do this.