(Q) how to update RIL and Radio - HTC Inspire 4G

Hey guys, if someone could put together a unified guide on updating to the latest ATT RIL and Radio I would really appreciate it. I've seen different information scattered throughout the dev/rom section but was hoping someone could make a post in general. (Instead of a bunch of people cluttering up rom sections.
Thanks in advance!
Sent from my InspireDesire 4GHD

For the RIL, open up your ROM Manager, go to download roms, gtg465x, and select the RIL option.
For the radio, put the PDIMG (or whatever its named; don't want to look it up) on your root directory of the SDCard and bot into recovery (volume up + power button) and it should automatically start flashing it.
Note, just because its the latest version doesn't necessarily mean its good. Also try to use the corresponding RIL with its radio version.

Printerscape said:
For the RIL, open up your ROM Manager, go to download roms, gtg465x, and select the RIL option.
For the radio, put the PDIMG (or whatever its named; don't want to look it up) on your root directory of the SDCard and bot into recovery (volume up + power button) and it should automatically start flashing it.
Note, just because its the latest version doesn't necessarily mean its good. Also try to use the corresponding RIL with its radio version.
Click to expand...
Click to collapse
Thanks for the reply! If anyone has anything to add feel free to post.
Sent from my InspireDesire 4GHD

I wouldn't recommend the above method. The RILs have to correspond to the radio. Check the RCMix 6.1 thread and look for the sig file for Cocchiarraro. You'll find he has a link to matched sets of radio/ril archives. I'd also recommend you give the RCM rom a shot. It's awesome, and also available through ROM manager - look for TeamRC.

BillTheCat said:
I wouldn't recommend the above method. The RILs have to correspond to the radio. Check the RCMix 6.1 thread and look for the sig file for Cocchiarraro. You'll find he has a link to matched sets of radio/ril archives. I'd also recommend you give the RCM rom a shot. It's awesome, and also available through ROM manager - look for TeamRC.
Click to expand...
Click to collapse
What part of the above method do you recommend against?
The RIL part of the post refers to an RIL flasher that gtgx65x made for his Rom that will also work with other roms. It just lets you choose your installed radio from a list, and then flashes the correct matching RIL for you.
The rest of that post does leave a few questions in my mind though.
Inspired Ace 1.0.1¦ XDA Premium

Scott_S said:
The rest of that post does leave a few questions in my mind though.
Click to expand...
Click to collapse
Heh, I was being way too general... all you need is to download the correct P98IMG.zip file, replace the radio.img with what you want in there, and just put it on the root directory of the SDCard.
That's how I've been doing it, and it's always been successful...

Here are some links to the latest radios ( in the form of PD98IMG.zip) and RILs.
http://wiki.cyanogenmod.com/index.php?title=Support_Downloads#HTC_Ace
http://forum.xda-developers.com/showthread.php?t=1040986

Printerscape said:
Heh, I was being way too general... all you need is to download the correct P98IMG.zip file, replace the radio.img with what you want in there, and just put it on the root directory of the SDCard.
That's how I've been doing it, and it's always been successful...
Click to expand...
Click to collapse
That's how I've been doing it too, and how I was planning on doing it again. Is there something wrong with that method?

Printerscape said:
Heh, I was being way too general... all you need is to download the correct P98IMG.zip file, replace the radio.img with what you want in there, and just put it on the root directory of the SDCard.
That's how I've been doing it, and it's always been successful...
Click to expand...
Click to collapse
That's how I've been doing it too, and how I was planning on doing it again. Is there something wrong with that method?

Related

[HOWTO] porting a ROM for old radio to work with new radio

I would love to help the community by using your kernel for the newer radios to port any roms for the older radio... is there any help you can give me? should i use your boot.img from the test-donut.img/test-eclair.img?
Click to expand...
Click to collapse
first, a thing we must know for porting job is what boot.img included.
here: http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images
the ramdisk do some initializing jobs, so if we port a ROM, we should ensure that the content in ramdisk and files which are included in ramdisk (like init.rc), have necessary things the ROM needed.
for the first step, we can just extract the boot.img from the ROM, and extract the ramdisk from the boot.img which extracted just now, then repack it with my kernel (you can extract the kernel from my boot.img with same tools).
(to execute the perl script in link above, you need linux or just cygwin. )
but if we are sure that the ROM we want to port have nothing special with ramdisk, just like common ROMs, we can use my boot.img files directly. for eclair ROM, I suggest you extract the boot.img from my ROM, and don't use the first boot.img (test-NOCDB.img) I had posted.
after this, make our update.zip (use other's ROM as an example, especially the update-script in META-INF directory). sign our zip with testkey and apply it, then we can make our phone booting into desktop.
(you can find information about sign and download tools here: http://forum.xda-developers.com/showthread.php?t=471586, though the thread is not talk about how to sign things)
the main troubles we may meet probably are symlinks and setperm* in the update-script. if there is already a file/link has a name we want to symlink to, or if there isn't a file we want to symlink from or setperm, we will fail. so check the files carefully.
the next step is make everything work properly. we can use file from a ROM which made for new radio (and work well of course) to replace the one in the ROM we are porting. we can find these files in my 2.x ROM for eclair, or other's 1.6 ROM for donut (and for new radio, since the maker of them tested them already).
the most important files are (to my knowledge):
system/lib/libhtc_acoustic.so
system/lib/libhtc_ril.so (if something wrong with mobile network)
system/lib/libcamera.so
system/lib/libcameraservice.so
system/lib/liboemcamera.so (for 2.x) or system/lib/libqcamera.so (for 1.6)
system/lib/libgps.so
system/bin/akmd
(are there something I missed?)
(if we want to use NCommander's work on CameraHardwareInterface with a 2.x ROM, we should use my kernel for DONUT instead. I didn't try it, and I don't recommend it.)
these files are some thing work with hardware partially, so different radio may need different files. but if something just work fine, don't hurry to replace the file for it.
and now...., I don't have more thing to talk about, since we have most things work well. but for further tweaks, there are lots of things to do.
everyone can post your question here. if I know the answer I will post it. if I don't or I am not online, I think others will response you. and if there are things I missed or made some mistake, plz point it out
I will update this post when we collection more info or correct something. I find that I don't organized everything in order . I will update it later.
Thanks for the post... what's the difference between your eclair/donut kernel? (This is based on your original post about your kernel... is there an updated kernel somewhere i should know about?)
Edit
Nevermind i figured it out by reading your post more. carefully thanks for the detailed instructions
Thank you very much for this sanpei. This is the type of posts that really should be on this forum
Appreciated so much. waiting for your next updates.
Phil_McRevis said:
Nevermind i figured it out by reading your post more. carefully thanks for the detailed instructions
Click to expand...
Click to collapse
sorry for my poor ability of expression
asero said:
This is the type of posts that really should be on this forum
Click to expand...
Click to collapse
I expect more people can share their knowledge, and we can make a wiki for all
Hello!
I have to edit some lines of init.rc of your kernel. I've thus extracted the ramdisk, edited the file, repacked and tried booting with fastboot boot kernel-img ramdisk-img, but the phone hangs on the operator logo. I've tried even just extracting kernel+ramdisk and boot them - same result (the boot.img works well).
how can I fix it? Thanks
Wrong post

Does anyone have the 26.09.04.1 radio is ruu format?

I want to use Ace's Hack Kit to flash my first rom and radio on this brand new device. The recommended radio for coredroid is 26.09.04.1. I can only find it in an img file. I was hoping someone had converted it to RUU, so I can follow the steps in the "effen manual" in the hack kit.
Try this thread:
http://forum.xda-developers.com/showthread.php?t=1106324
I could be wrong but they don't come in ruu, do they? Isn't that a Windows Mobile phone thing? Radios for Android are zip format and installed with the bootloader.
kimtyson said:
I could be wrong but they don't come in ruu, do they? Isn't that a Windows Mobile phone thing? Radios for Android are zip format and installed with the bootloader.
Click to expand...
Click to collapse
I'm assuming he meant PD98IMG.ZIP format, but I might be wrong. Guess I should have clarified.
volumnus said:
I want to use Ace's Hack Kit to flash my first rom and radio on this brand new device. The recommended radio for coredroid is 26.09.04.1. I can only find it in an img file. I was hoping someone had converted it to RUU, so I can follow the steps in the "effen manual" in the hack kit.
Click to expand...
Click to collapse
Here's what you can do. In the ace-hack-kit.zip, you'll find a folder called Tools. Open it and then open the folder called Radio. Here you will find a PD98IMG.zip file, and inside this .zip you will find a radio.img file. You can replace this radio.img file with the radio.img of your choosing, then put your newly created PD98IMG.zip back in tools\radio. Make sure you're not changing the compression of anything and when you perform the hack kit, it will flash the radio you want
Thanks.
homeslice976 said:
Here's what you can do. In the ace-hack-kit.zip, you'll find a folder called Tools. Open it and then open the folder called Radio. Here you will find a PD98IMG.zip file, and inside this .zip you will find a radio.img file. You can replace this radio.img file with the radio.img of your choosing, then put your newly created PD98IMG.zip back in tools\radio. Make sure you're not changing the compression of anything and when you perform the hack kit, it will flash the radio you want
Click to expand...
Click to collapse
I installed the radio. Success. Now all I have to do is wait for coredroid 6.8 to be debuted tonight and install it from recovery mode, and I think I'm good to go. You don't have to install the rom BEFORE the recommended radio do you? I didn't think it mattered.
No your good to go. Coredroid should have the proper ril for the radio. Just flash coredroid using clockwork and have fun. Coredroid has got to be one of the best looking tons out, good luck
Sent from my Desire HD using XDA App

Trouble with Hack Kit.

I have downloaded the radio I want from the radio thread. I am putting the zip in the romzip folder and renaming it rom.zip. What am I doing wrong?
What error are you receiving? Make sure USB debugging is on.
An alternative is to name it PD98IMG.zip and flash the radio through hboot.
Make sure to verify the md5sum before flashing
Sent from my TARDIS using XDA App
volumnus said:
I have downloaded the radio I want from the radio thread. I am putting the zip in the romzip folder and renaming it rom.zip. What am I doing wrong?
Click to expand...
Click to collapse
So you're saying you dispossessed one of the radios from the inspire radio thread in the dev section, correct?
If so, it sounds like you are going through some unnecessary steps.
Once you download one of the radios from the above-mentioned thread, you put that file, which is already named correctly, PD98IMG.zip, into the root of your SD card.
Verify the MD5 of that PD98IMG.zip file, checking it against that posted for the radio.
If it is identical, proceed...
I have fastboot unchecked, reboot the phone and get into hboot.
Select bootloader (I think. I don't do it THAT often. )
After a second or two, it should look for the file, and scan it.
Push the corresponding volume button to confirm applying the update, let it do its thing.
Reboot.
Confirm baseband reflects the newly flashed radio.
Flash appropriate RIL for the radio, if necessary, via cwr.
WHAT'S MD5? Is it important for us? Im just flashing many radios to test which one works best for me.
Sent from my Desire HD using XDA App
MD5 checksum is a way to verify if the file has been corrupted in either download or transfer and yes it is important, especially with the radio if you flash a radio; at the least you will not be able to flash the radio, at worst with a bad file you have the opportunity to Brick you phone! When loading roms patches ect. using md5 ensures a proper file for install. If your in the us I would suggest sticking with the latest stock AT&T radio until you settle on a rom and then only change if you don't have the performance you think you should have.

I look for PG88IMG

Hello look for a link works for PG88IMG_based_on_RUU_Saga_HTC_Europe_1.28.401.1.zi p
Anyone can help me.
i find this but link not work
loveboatcaptain said:
and here it is...
based on the RUU_Saga_HTC_Europe_1.28.401.1_Radio_20.28b.30.080 5U_38.03.02.11_M_release
downloadlink: PG88IMG_based_on_RUU_Saga_HTC_Europe_1.28.401.1.zip
just rename it to "RG88IMG.zip" and put it on the root of your sd card.
then reboot into fastboot mode (bootloader) and the rest will be done automaticly.
you can extract that zip file to modify the system image to get root e.g.
search the forums to get it out how.
kind regards
Click to expand...
Click to collapse
Maybe try this. Not sure if it'll work
http://forum.xda-developers.com/showthread.php?t=1488672
Just scroll down a bit
Edit: forget to mention, maybe your zip-file already contains the pg88.. Thing you need
Sent from my Desire S using XDA App
Thanks for the reply but that's only radio and I need ROM a full install from sdcard And also does not need to do s-off
OP says you need pg88img.
That's not a ROM
Which ROM do you need? didn't searching the forum solve you're problem?
You have to state clearly what you want or need
Edit: Maybe that's what you need
http://forum.xda-developers.com/showthread.php?t=1002506
Sent from my Desire S using XDA App
Whatever may be the reason that you need this (?) here is how to get it yourself:
Download RUU_Saga_HTC_Europe_1.28.401.1_Radio_20.28b.30.080 5U_38.03.02.11_M_release from the sticky Stock ROMs thread.
Run the RUU on your PC.
On the first screen (do not press anything when it starts) open your Windows Explorer, browse to the C: drive and in the search field type rom.zip.
Wait for the search to complete and copy the rom.zip file to another loacation.
Close the RUU setup.
Rename the rom.zip (this is exactly what are you looking for) to PG88IMG.zip and copy to SDCard.
Yeah you are thinking about the rom.zip of the RUU which is renamed to that. So follow what amidabuddha said!
Thank you very much this is exactly what i look for.
thanks for all

[Q] disappeared Lock-Screen Ring & Home

I was playing with System/app/...
after checking some useless apps and removing them, this happened to me .
I am wonder what did i choose by mistake, and what was that?
check attachments for screen shots please.
I am not sure about Fusion.apk
If yes that's the problem, may some one provide a copy for me.
Thanks.
Actually they are there, and i can use them, but not visible.
Desire S
ICS 4.0.4
Sense 3.6
fusion.apk is part of htc sense framework, just open rom zip and copy that file to /system/app and reboot
441Excelsior said:
fusion.apk is part of htc sense framework, just open rom zip and copy that file to /system/app and reboot
Click to expand...
Click to collapse
Hi
Dude i ca'not , thats official RUU rom (exe) cant be extract.
then ask someone who use stock rom if he can upload that file for you
441Excelsior said:
then ask someone who use stock rom if he can upload that file for you
Click to expand...
Click to collapse
LooL Thank BTW.
Haven't played with RUU for a very long time. but if I remember correctly, when you run exe it extracts rom zip file to a temp folder somewhere on your c drive, keep it open and do a search you should be able to find the zip.
A good example of why it's a good idea to make a nandroid backup before playing with the system...
ContactFront said:
Haven't played with RUU for a very long time. but if I remember correctly, when you run exe it extracts rom zip file to a temp folder somewhere on your c drive, keep it open and do a search you should be able to find the zip.
Click to expand...
Click to collapse
Yep, OP just needs to search and read. This is exactly the method we used to get the .zip originally when the ICS RUU was released by HTC.
SimonTS said:
Yep, OP just needs to search and read. This is exactly the method we used to get the .zip originally when the ICS RUU was released by HTC.
Click to expand...
Click to collapse
IDC i always relock - install RUU - unlock - root.
THATS ALWAYS BETTER TO HAVE A CLEAR INSTALLATION OF SOME THING RATHER THAN PACK INSTALLATION.
ContactFront said:
Haven't played with RUU for a very long time. but if I remember correctly, when you run exe it extracts rom zip file to a temp folder somewhere on your c drive, keep it open and do a search you should be able to find the zip.
Click to expand...
Click to collapse
That's really nice if it does some thing like that. i did search in %temp% and %user%/app/data
but no trace .
and i am not sure that you are able to use UniExtractor to extract this new type of protected EXE file.
by using CMD, n does command you would get a pack from that EXE file, included a CAB file which is included all data in,
Is there to open a protected CAB?
usualy windows Cabinet files may extract via Winrar, Cabex, Cabextractor, etc ...
SimonTS said:
Yep, OP just needs to search and read. This is exactly the method we used to get the .zip originally when the ICS RUU was released by HTC.
Click to expand...
Click to collapse
2- And there is no big deal with Root n non-rooted device.
3- whats your problem with me?
why you always search for some thing in my topics to say some thing against me?
4-I see that you have lots of thanks
i am wounder that you have ever gained a thanks to solve a problem?????(or just talking off topics, make some one mad, blah blah blah...)
azithro said:
2- And there is no big deal with Root n non-rooted device.
3- whats your problem with me?
why you always search for some thing in my topics to say some thing against me?
4-I see that you have lots of thanks
i am wounder that you have ever gained a thanks to solve a problem?????(or just talking off topics, make some one mad, blah blah blah...)
Click to expand...
Click to collapse
No, there is no problem whether you are rooted or not as you said you need the Fusion.apk - which you just need to pull from the extracted .zip file after the first stage of running the RUU on your PC.
I don't have a problem with you - other than the fact that you seem to want to argue with anyone who gives you advice. You asked for a .apk file - you were suggested to extract it yourself from the RUU and then you decide to argue and find reasons why you can't do it. If you want help then read the answers from knowledgeable people and try what they suggest - otherwise what is the point in asking?
As for my 'Thanks' - who cares? I know less than many of the people on here, and you don't get 'Thanks' in Off-Topic, and I am almost never in OT, and it's none of your damn business why people have thanked me in the past.
You seem to have a real attitude of assuming you have a right to be supported. XDA is not, and never has been, a helpdesk for noobs - you need to get that into your head and deal with it.
Edit on this as I wanted to be sure of what I was saying. If you run the RUU then it will extract various info, including ROM.zip, into a temp folder, but this .zip is only useful as an image to flash from recovery, not to extract individual files from. On that basis, look for one of the ROMs that were based on the official RUU - there was a de-odexed, pre-rooted one released fairly shortly after the RUU - and pull fusion.apk from there.
And don't take your rookie mistake and frustration at yourself out on other members of XDA.
azithro said:
That's really nice if it does some thing like that. i did search in %temp% and %user%/app/data
but no trace .
and i am not sure that you are able to use UniExtractor to extract this new type of protected EXE file.
by using CMD, n does command you would get a pack from that EXE file, included a CAB file which is included all data in,
Is there to open a protected CAB?
usualy windows Cabinet files may extract via Winrar, Cabex, Cabextractor, etc ...
Click to expand...
Click to collapse
It indeed does somthing like this
Look into your C:\Users\YOURUSERNAME\AppData\Local\Temp
SimonTS said:
No, there is no problem whether you are rooted or not as you said you need the Fusion.apk - which you just need to pull from the extracted .zip file after the first stage of running the RUU on your PC.
I don't have a problem with you - other than the fact that you seem to want to argue with anyone who gives you advice. You asked for a .apk file - you were suggested to extract it yourself from the RUU and then you decide to argue and find reasons why you can't do it. If you want help then read the answers from knowledgeable people and try what they suggest - otherwise what is the point in asking?
As for my 'Thanks' - who cares? I know less than many of the people on here, and you don't get 'Thanks' in Off-Topic, and I am almost never in OT, and it's none of your damn business why people have thanked me in the past.
You seem to have a real attitude of assuming you have a right to be supported. XDA is not, and never has been, a helpdesk for noobs - you need to get that into your head and deal with it.
Edit on this as I wanted to be sure of what I was saying. If you run the RUU then it will extract various info, including ROM.zip, into a temp folder, but this .zip is only useful as an image to flash from recovery, not to extract individual files from. On that basis, look for one of the ROMs that were based on the official RUU - there was a de-odexed, pre-rooted one released fairly shortly after the RUU - and pull fusion.apk from there.
And don't take your rookie mistake and frustration at yourself out on other members of XDA.
Click to expand...
Click to collapse
Thanks Bro, Cheers man :highfive:
ContactFront said:
It indeed does somthing like this
Look into your C:\Users\YOURUSERNAME\AppData\Local\Temp
Click to expand...
Click to collapse
Thank you 2 bro. GJ
ContactFront said:
Haven't played with RUU for a very long time. but if I remember correctly, when you run exe it extracts rom zip file to a temp folder somewhere on your c drive, keep it open and do a search you should be able to find the zip.
Click to expand...
Click to collapse
My Desire s is running MIUI v5 android 4.1.2 rom about 4 months and it runs Perfect , the best ROM I have ever used, BTW I bought Lumia 920, and I Love it, do not want to go back to android again.

Categories

Resources