How to prepare a PG58 bootloader flashable zip? - HTC Sensation

How is this done? I'm trying to flash just one file from the latest TMOUS OTA for pg2fs_spcustom.img (radio customization files).
I can't determine the partition name so I can't use fastboot to flash it.
Could anyone assist in creating this PG58IMG?

Related

Wanted: hboot.img <= 1.09 for HOS

Does anybody know where to get an hboot image v1.09 or below?
Can it be extracted from an RUU file (not shure about this)? Any instructions on this anywhere? (I'll go and search myself after this post - but any hints are welcome).
rootrider said:
Does anybody know where to get an hboot image v1.09 or below?
Can it be extracted from an RUU file (not shure about this)? Any instructions on this anywhere? (I'll go and search myself after this post - but any hints are welcome).
Click to expand...
Click to collapse
Its in the T-Mobile 1.84 ruu. Search how to extract ROM packages from ruus. Its a fairly easy process and you will end up with a ROM.zip that contains everything, including that hboot version.
Sent from my HTC One S using Tapatalk 2
You can extract hboot images from RUUs and OTAs. In RUUs it is directly in rom.zip, in OTAs it is in firmware.zip. I posted some here: http://forum.xda-developers.com/showthread.php?p=31108359#post31108359 It includes 1.06.
Your hboot sits in mmcblk0p12. I doubt we can write to it, and if we can I fear brickage. Be careful.
-Jobo
is there any known issues with flashing recovery onto a device with 1.09?? I have 1.09 and i cant get any recoveries to stick.
Here is the hboot you requested. The link will last until I clean up my dropbox folder.
https://dl.dropbox.com/s/qjtzpt4eu7ts4xp/hboot_8960_1.09.0000_20120402_signedbyaa.img?dl=1
Enzopreme said:
is there any known issues with flashing recovery onto a device with 1.09?? I have 1.09 and i cant get any recoveries to stick.
Click to expand...
Click to collapse
I had this issue when I first tried to flash a new recovery. I had to flash the interim CWM recovery by Paul Brian first then updated to twrp at a later time. Below is a link to the recovery that worked for me when I had the problem.
http://forum.xda-developers.com/showthread.php?t=1579584

[Q] how to prepare a PG58IMG.zip?

how can i create a PG58IMG.zip to flash back original stock recovery.img?
naelmnael said:
how can i create a PG58IMG.zip to flash back original stock recovery.img?
Click to expand...
Click to collapse
Hi,
What rom is this recovery for?
stock 3.33
naelmnael said:
stock 3.33
Click to expand...
Click to collapse
Hi,
Why can you not just flash a stock ROM?
Look HERE
Choose the correct ROM for your phone.
I have an arabic rom rooted just want to know how to zip the recovery.img to keep that rom and to be able to OTA my phone,
becouse with stock bootloader i can not flash recovery threw fastboot commands i need to have the recovery in PG58IMG.zip file
naelmnael said:
I have an arabic rom rooted just want to know how to zip the recovery.img to keep that rom and to be able to OTA my phone,
becouse with stock bootloader i can not flash recovery threw fastboot commands i need to have the recovery in PG58IMG.zip file
Click to expand...
Click to collapse
Unless you REALLY know what you're doing, do not mess with trying to create your own PM58IMG's. You can brick your phone beyond the possibility of recovery by flashing a bad PM58IMG file.
naelmnael said:
I have an arabic rom rooted just want to know how to zip the recovery.img to keep that rom and to be able to OTA my phone,
becouse with stock bootloader i can not flash recovery threw fastboot commands i need to have the recovery in PG58IMG.zip file
Click to expand...
Click to collapse
Ok the zip should have
android-info.txt and what ever contains you want to flash (in this case recovery.img)
Now for android-info.txt.. Extract one from any firmware zips available here
And open it
Add/edit your modelid, cid, and firmware version
All these variables you can get from your phone via this command
fastboot getvar all
(model id, cid, version-main)
That's all
Sent from my HTC Sensation 4G using xda premium
Dear sir ganeshp i did what you told me it went to parsing and nothing else happened it did not insatall is there a special way to create zip file?
FAILED (remote: 24 parsing andoird-info fail)
naelmnael said:
Dear sir ganeshp i did what you told me it went to parsing and nothing else happened it did not insatall is there a special way to create zip file?
FAILED (remote: 24 parsing andoird-info fail)
Click to expand...
Click to collapse
The editing of android-info.txt is not proper it seems
Use notepad+ and edit it again after extracting (you need unicode editor to prevent any spaces at the end)
Edit:
Or better do this
Get the hboot patch at the end of first post in firmware thread by kohr-ah in sensation development section.. Then unzip it.. Delete the hboot and add your recovery.img then rezip it and use it
Sent from my Nexus 7 using xda premium

Confused about how to get stock JB

I've been through the Development subforum for the last 3 hours and am confused as all hell how to accomplish getting stock JellyBean update on this phone. I've tried flashing the ZIP from this thread, but it errors and I have to restore from a backup in order to boot completely. I've already checked that I downloaded the ZIP successfully (md5 matches).
Can some knowledgeable individual please provide a list of details steps to get me on the latest stock JellyBean ROM?
Current state:
HTC One S (T-mobile US)
Android 4.0.3, Sense 4.0, 1.84.531.2 710RD
Rooted
TWRP 2.5.0.0 recovery
Bootloader is UNLOCKED
Hboot = 1.09.0000
CID = 11111111 (was previously T-MOB010)
Radio = 0.16.31501S.16_2​
Desired state:
Latest stock ROM
Latest Radio
Updated Hboot?​
Downgrade TWRP to 2.3.3.0, your version is not working the way it should and follow the installation instructions given in your link (for noobs - also these are not noobish, just pretty exact, lol).
You should be ok then. Else come back here.
--- edit ---
Link for TWRP ville 2.3.3.0
Boot into fastboot mode and flash from your android work directory typing/copying: 'fastboot flash recovery openrecovery-twrp-2.3.3.0-ville.img'
So the problem is TWRP?
jdkoren said:
So the problem is TWRP?
Click to expand...
Click to collapse
Yes that could be the problem but you also need to flash the boot.img file after you installed the rom.
You can flash the boot.img file with Flash Image GUI: http://forum.xda-developers.com/showthread.php?t=1954121
Or extract the boot.img file from the rom and flash it in fastboot (bootlaoder) with the command: fastboot flash boot boot.img

[Q] How-to flash radio with S-Off

I'm running CM 11 nightlies on a S-Off HTC One S with hboot 2.15.
I would like to upgrade the radio, because I have no 3G data connection atm.
Most guides which I found are for the case of having no S-Off, i.e. S-On.
My best guess therefore is just to flash firmware.zip using fastboot.
However, I am unsure how to get the radio only from the latest OTA's. Inside there is the firmware.zip (in ROM.zip), which has much more than only radio.img. As far as I understand the how-to's, it is not possible to directly flash radio.img, but flashing a zip with fastboot is possible (I also tried flashing the radio.img directly, fastboot gives me 'not allowed' as expected).
The firmware.zip from the OTA is correctly packaged (it has a android.txt or so and is signed). Can I extract the radio.img, put it in a firmware.zip with the extra android file and sign it myself somehow?
Much thanks for your time!
Dooxed said:
Most guides which I found are for the case of having no S-Off, i.e. S-On.
My best guess therefore is just to flash firmware.zip using fastboot.
Click to expand...
Click to collapse
1) With S-Off, any partition is writable if you use the trick described here.
2) Firmware.zip from OTAs and RUUs also contains other stuff next to radio, such as bootloader (hboot), recovery etc. Get the firmware.zip from the OTA or RUU and extract the radio parts: radio.img, wcnss.img, and adsp.img and follow instructions at 1.
3) Can anyone explain what wcnss.img and adsp.img exactly are?

How to restore to stock using signed OTA Zip

I got the HTC One S (S4) with Hboot 2.15 carrier is Virgin Mobile Canada (Bell Mobility, CID: BM_____1) with bootloader unlock via HTC Dev. I have been using CyanogenMod for quite some time and have no nandoird backup. My phone was updated to JellyBean via an OTA prior to unlocking and installing custom rom.
My reason from wanting to restore to stock is that I can't facepalm s-off but discovered that Moonshine s-off is compatible with my phone and stock OTA from carrier. I want s-off mainly to flash custom kernel. I've been just using fastboot to flash the boot.img thus far but seems that I can't do this with customer kernels.
I looked on the RUU thread in the development section and there is no RUU for my phone (ally RUU's for my carrier are older and don't work). The signed OTA for BM is available as a zip. There is no .exe here. Inside the OTA zip there is a firmware.zip which contains things like the radio, recovery, and boot.img. The zip for the OTA also includes a folder for /system. This is not a system.img but just a folder. There are some other small files also.
I tried locking the bootloader via fastboot and then flashing the OTA zip that doesn't work. If I extract the firmware.zip from the OTA's zip and after running "fastboot oem rebootRUU" I am able to flash the firmware.zip successfully. This however doesn't allow the phone to boot as nothing is flashed to /system.
I'm not sure how to get this to work. I read that what I need to do is rename the OTA's zip to update.zip and place is sdcard partition and then I can from the stock recovery flash this. I am able to get in the stock recovery but when there it displays and error saying that it can't mount sdcard (both CWM and TWRP can mount SD card). How do I flash this to restore to stock. How can I get the /system part of the OTA to flash?

Categories

Resources