[Q] RIL Firmware Drivers - Desire General

Hi everyone,
I'm new at xda developers, and I recently started experimenting with rooting, custom ROMs, etc. I have a question about the RIL firmware drivers. Hope you guys can help me out.
Lately I've been following the progression of baadnewz's InsertCoin ROM (http://forum.xda-developers.com/showthread.php?t=1016940), a Desire port of the Desire S ROM (with sense 2.1); you probably already know it. I want to give it a try, but - coming from CM7/prerooted stock roms - I noticed that baadnewz recommends upgrading the radio to the latest version, as well as the ril-firmware-drivers.
I understand the RIL is some kind of mediator between the ROM and the radio. Therefore, is it true that a specific RIL can only be used with a corresponding ROM (version), or has the ROM nothing to do with it? The reason I'm asking this question is because I want to make sure the newer radio+ril will still work in case I decide to return to my old stock ROM. And in general, is it ok to presume that a newer radio+ril will be at least as good as an older radio, regardless of the ROM installed? (I've never upgraded my radio btw)
Thank you!

RIL is not neccesary, use it if things dont work well, it may improve situation, but it is likely that you will have to experiment till you found one that works best for your phone & rom & radio.
RIL is stored in ROM part, so every time you change ROMs, RIL you flashed is gone.
also you do not need to upgrade your radio, do it only if stuff doesnt work fine after flashing a custom ROM.
you also mentiond coming back to stock rom - when you ran a RUU, it also flashes a RADIO and a RIL, so no worries there
every radio comes with its own RIL, but experience showed, that not necessairly they work well together when it comes do diffrent devices on diffrent networks and diffrent roms.
so - flash your rom, if it is ok that leave things be, if not - upgrade your radio, and then you can start flashing RILs
remmember to make NANDROID before flashing RIL and also that in order to flash RIL you must mount \system in recovery.
radio flashes are safest from fastboot if you are S-OFF, if not you can do them from recovery

Thank you for your reply, really appreciate it
I have one last question, just out of curiosity.. You mentioned that radio flashes are safest from fastboot. Why is that?
I'm still S-ON so I won't be able to use fastboot for flashing... Would you recommend S-OFFing to minimize the risk of bricking my phone, in case I decide to flash a new radio?
Thnx

well you can flash radio from recovery, lots of ppl do that without any problems. i never tried it myself.
i think fastboot method is safer since it doesnt involve rebooting your phone during the procedure but not sure how exactly is this safer, it just has been stated many times, that flashing radio fastboot method is SAFEST.
anyway going S-OFF (cd method i used) is super easy, just be sure not to have a2sd+ or data2xxx rom while doing that.
oh and apart from minor advantages like changing your splashscreen or the ability to delete apps from \system while booted up in android there is one BIG advantage - the option to use custom partion table. I am running InsertCoin v19 on CM7 hboot version, and is not only super fast but also it provides lots of space for apps
it definietly faster than insertcoin HD data2ext i used before going S-OFF

Related

Downgrade of Radio impossible

As the Radio 32.54.00.32U... is causing many trouble, like dropped calls, no wifi etc. with my RCMixHD 3.0 ROM, i am trying to downgrade the radio to 32.49.00.32U, which seems to cause less trouble. But everytime I start the process I end up having the same Rom, probably due to a downgrade protection.
What can I do to get rid of 32.54??
Thank you very much!
Hi,
I was having the same problems. I was given this advice:
1) Full wipe
2) Re-install rom
3) Downgrade Radio to Rom's recommended.
Worked for me I'm using .44 (can't remember all of the numbers)
Thanks for your answer
I would really like to downgrade the radio, but I don't know how, as every time I do it (using Android Flasher on my s-off desire) and check the version after the restart in settings/software, I see that it is still 32.54....
1. You don't need to wipe when flashing a radio
2. Get the radio you wish to use here and flash it like you would a new ROM:
http://forum.xda-developers.com/showthread.php?t=687464
This time I tried to do it in Amon RA Recovery, as it didn't work with clockwork.. and it worked...
Thanks for your help!

[Q] First Time Flashing and Bricking It!

Right please forgive my noobishness (is this even a word?) but Im really worried about flashing my phone for the first time.
I have partitioned my card, titanium backed up and created a nandroid back up now all thats left is flashing.
Im planning to flash this rom: http://forum.xda-developers.com/showthread.php?t=768703
What I am worried about is bricking it without lack of knowledge of radio files and how to properly do it. Something about GSM and CDMA?
Plus I saw in the thread this: "Use either Amon RA or clockworkmod Recovery < also available via rom manager from the market"
Why do I need to use them?
Help please preferably with a step-to-step guide?
Thanks in advance.
Read this:
http://forum.xda-developers.com/showthread.php?t=696189
Do I need to switch S-off?
Do I need to flash the radio files and what is the difference if I do or not?
Plus should I use ROM Manager to install the new ROM?
Wait just noticed my current baseband version is one you can download from the Leedroid site, so does that mean I dont have to flash a radio file?
you never MUST flash radios, it is only a possibility
my advice, since you are obviously new to this, dont change radio, i used the radio that came with the phone since december and it worked OK.
usually you should consider upgrading your radio if it doesnt work well e.g. bad reception, data or wifi problems etc.
when you are more confident with flashing, go S-OFF (which is super easy, seriously) and learn to use FASTBOOT which is the safest method of flashing radios or recoveries

[Q] Questions about flashing radios

Hi,
I just flashed a 2.3.3 stock-rooted ROM and well, as everyone is saying, the battery is draining way too fast!
On the actual post where i got the ROM, they provide a radio, but im a little curious about this who radio thingy.
1- I have a nandroid, restoring will bring back old radio?
2- is there a way to backup the radio if the answer to question1 is NO
3- what are the risks, and does it happen alot?, or is it a rare case?
4- they say it can brick the phone, is there any possible way to get out of that state?
1- I have a nandroid, restoring will bring back old radio?
No
2- is there a way to backup the radio if the answer to question1 is NO
Download your original radio from this thread
3- what are the risks, and does it happen alot?, or is it a rare case?
Just read the Radio Thread.
4- they say it can brick the phone, is there any possible way to get out of that state?
Once it is bricked, just send it for warranty. Most probably, they will change with a new one since they can't really know what you have done to the phone.
Hmmm, if it gets bricked, then i wont have my phone for MONTHS! since im in a different country than where i brought it, and i dont have HTC support here.
anyway, i couldnt find my radio type in the link you gave me - mine being:
12.28b.60.140eU_26.03.02.15_M3
but ofc this is the one that came with the 1.32 FW when i was degrading, so can i just extract the radio.img from the PD98IMG.zip file and the flash it? or will it cause problems?
You don't (can't) flash radio's in the same way as a ROM. Read the radio thread.
PD98IMG or the safer method IMO is fastboot (search if unsure what fastboot is).
Sent from my Ericsson T39m
na, i know what fastboot is....
but what im saying is...say i update to a new radio, and its worse than the last, can't i just take the radio.img from the 1.32 PD98IMG.zip file and use fastboot to flash it back?
Or say i found the 12.28b.60.140eU_26.03.02.15_M3.zip radio file, can i flash that?
OR is the only way to go back to the radio by flashing a RUU?(because i heard that installs a new radio).
i have radio and eng S-OFF.
CodeNameUnknown1 said:
but what im saying is...say i update to a new radio, and its worse than the last, can't i just take the radio.img from the 1.32 PD98IMG.zip file and use fastboot to flash it back?
Click to expand...
Click to collapse
Not tested that method sorry.
CodeNameUnknown1 said:
Or say i found the 12.28b.60.140eU_26.03.02.15_M3.zip radio file, can i flash that?
Click to expand...
Click to collapse
Yes.
The great thing about Radio S-OFF and ENG S-OFF is it allows you to play with radio's.
Just to clarify, and this is aimed at others new to all this, the term "flash" in this case is referring to using fastboot command (think of it like adb but with phone in HBOOT - put very simplistically) to push the file to the phone.
kol man, thanks, ...
i think the 1st method would work, cuz at the end of the day, when flashing the whole PD98IMG.zip it flashes the radio along with other stuff ... so just taking it out would, i presume, would work ...
i'll update my radio soon, maybe, and if its bad, then i'll try the method! ...
No worries.
In theory method one should be ok as the zip is essentially a bundle of files and scripts. The only reason for hesitation is some .img files are slightly modified specifically for us with PD98IMG files.
But if it does work (and hopefully if not you don't get a brick) that would be good news as I often hunt down non PD98IMG versions of things and it would save me some effort.
Please, if not too much trouble, do keep us updated (no pun).
wait .... by doing that i can get it bricked?!!?!?!?!? loool
then i guess im not doing it!, lol, im still in love with my desire hd!!!
IF, a BIG IF, the radio.img file within a ROM PD98IMG file has been tweaked in some way there could be a risk that pushing the file through fastboot could brick the phone. Doing anything with Radio files is possible the most dangerous thing you can do (certainly it's the only thing I do frequently that still makes me hold my breath).
My advice would be, if there is a "normal" zip file of the radio I'd take that and push it via fastboot (after checking the md5hash).
That may be an answer, see if the md5hash of the radio.img is the same from both sources.
i cant find my original exact radio.
i have found some radio near my current one( 12.28b.60.140eU_26.03.02.15_M3) but they have a difference in the letters (i.e. Radio_12.28b.60.140e_26.03.02.26_M - without the 'U' and its .26_M, no M3 or .15)
whats the difference, and what do they mean? -- i googled this but couldnt find an answer.
I have a question for radio.
(will borow these theme, if you dont mind)
I have ship s-off (i read that i can't flash radio becouse of this)
my Radio is 26.03.02.15_M3
This is an old version, and i would like to have a new version, becouse i have a lot of problems by flashing newer custom roms, wich have other radios recomended i quess :? ?
1. question: Is possible that i have problems flashing new rooms becouse i have an old radio ?
2. question: how to get from ship s-off to eng s-off? The standard root procedure dont work :s
Thanx for answers
gagi´d hype said:
I have ship s-off (i read that i can't flash radio becouse of this)
Click to expand...
Click to collapse
You NEED Radio (ship) S-OFF (as a start)
gagi´d hype said:
1. question: Is possible that i have problems flashing new rooms becouse i have an old radio ?
Click to expand...
Click to collapse
No. But some ROM's work better with more up to date radio. What ROM are you wishing to try?
gagi´d hype said:
2. question: how to get from ship s-off to eng s-off? The standard root procedure dont work :s
Click to expand...
Click to collapse
Follow the guides in the development forum.
http://forum.xda-developers.com/showthread.php?t=855403
Mr_JMM said:
You NEED Radio (ship) S-OFF (as a start)
No. But some ROM's work better with more up to date radio. What ROM are you wishing to try?
Follow the guides in the development forum.
http://forum.xda-developers.com/showthread.php?t=855403
Click to expand...
Click to collapse
I have tryed a lot of rooms, at the and i have an Revolutin HD with adw louncher and density on 180 (the best screan for me)
I flashed then Revolution HD with GB, i think its an 5.1.3 version, and the rom dont work properly.. I have load again the adw louncher and do the density, but there was a looot of bugs, with people app, with screen (lot of freezes) etc..
i dont know what is the problems, is it the radio or just GB room don't allow the unsense louncher and desity settings..
CodeNameUnknown1 said:
i cant find my original exact radio.
i have found some radio near my current one( 12.28b.60.140eU_26.03.02.15_M3) but they have a difference in the letters (i.e. Radio_12.28b.60.140e_26.03.02.26_M - without the 'U' and its .26_M, no M3 or .15).
Click to expand...
Click to collapse
Honest answer is I am unsure other than various protocols by various networks / manufactures (The "U" ROM I believe was provided by a specific network). There is something in there that determines if it is specific to HSDPA vs EDGE etc. but again, my memory fails me.
If you're willing to go on say so alone go for the second one as that's been tested thoroughly however, it is old so if you feel your signal, wifi, GPS isn't as good as it should be and when you're feeling more confident it could be worth trying some of the more recent ones
[EDIT]
Going back to something I said earlier, a PD98IMG file can be JUST a radio. If you don't want to use fastboot commands then here is a thread that contains PD98IMG versions of the radios.
gagi´d hype said:
I have tryed a lot of rooms, at the and i have an Revolutin HD with adw louncher and density on 180 (the best screan for me)
I flashed then Revolution HD with GB, i think its an 5.1.3 version, and the rom dont work properly.. I have load again the adw louncher and do the density, but there was a looot of bugs, with people app, with screen (lot of freezes) etc..
i dont know what is the problems, is it the radio or just GB room don't allow the unsense louncher and desity settings..
Click to expand...
Click to collapse
Not every ROM (and with it the Kernel) and especially home launcher apps are happy with resolution changes. Whenever you experience bugs like this the first step is reset things like resolution and then if still bugs remove any launcher you have added the ROM.
ARHD (Revolution) is a fantastic ROM and should be bug free.
Try LeeDroids as that is my favourite and I've never had a problem with it.
Mr_JMM said:
Not every ROM (and with it the Kernel) and especially home launcher apps are happy with resolution changes. Whenever you experience bugs like this the first step is reset things like resolution and then if still bugs remove any launcher you have added the ROM.
ARHD (Revolution) is a fantastic ROM and should be bug free.
Try LeeDroids as that is my favourite and I've never had a problem with it.
Click to expand...
Click to collapse
I have flash to the eng s-off now
I see taht a lot of rooms have problems with resolution settings, (i am a litlle angry becouse the resolution on standard sense display is like the people are blind )
That is why i use an adw louncher, and on 2.2 ARHD everything work perfect..
i hope that i will solve the problem with radio, (if not i wil goo to standard density)
ok, thank you very much for the help..
gagi´d hype said:
i hope that i will solve the problem with radio, (if not i wil goo to standard density)
Click to expand...
Click to collapse
The radio has nothing to do with your bugs.
The radio controls mobile signal, wifi, gps and bluetooth.

a few questions on the desire

Just got a few questions please hear me out ok , sorry if I posted in wrong forum
(running htc dev 2.3.3 on my gsm desire )
1. After I soff with revolutionary , does unrevoked 3 root method work ? or should I downgrade to froyo then unrevoked 3 (wanna gain root so I can change roms )
2. On revolutionary I get a invalid beta code (tried caps , lower case typing in every way I could think off ) what am I doing wrong ?
3. Are there any other ways to soff my desire besides revolutionary ?
4. Other ways to root my desire? Which are easy as unrevoked ?
5. Are there any android 4.0 roms for the desire which have the onscreen home back etc buttons ?
6. Know a stable low battery consumption rom with sense 2.1 (after the same sense found in dhd , not after 3.0 etc found in sensation )
7. Whats a good miui rom which is in English and stable (don’t care if it’s in uk English etc) for the desire ?
8. Are there any custom roms which use rru method of transfer ? same as htc’s method of transfer
9. What normally causes the system to freeze ? when I use the stock htc camera , phone etc occasionally my phone freezes up for like a 1 min then reboots ? doesn’t occur with 3rd party apps
10. What causes the system to not shut down ? I know it’s not my apps even without them it still occurs
11. Is it possible to dual boot another os on this phone ?
12. How do I know if I need to install a radio ?
I am almost a total noob but anyhow I decided to drop these questions as I couldn’t find a straight forward answer and plus my phone not being able to shut down when I need it to is a major inconvenience eg when I am at the airport or area’s which require phone to be off
Thanks
Alot of your questions do have a straight answer on the xda forum. Like the miui rom, try the miui-xj ! Easy to find. I am also new to flashing and solving problems don't get me wrong. Spend some more time reading here. And if you have to switch off your phone you can also put your phone in flightmode....pretty easy. Good luck finding your answers, maybe somebody else can give them to you but I have simply not the knowledge.
With kind regards
Sent from my miui based desire
1,4 - Once you're S-Off, you can flash a custom hboot if you like, you can flash a custom recovery (both via fastboot), and from this custom recovery you can flash custom ROMs, which are generally rooted.
6 - I personally still use baadnwz/InsertCoin-1.4.4 (when I'm not playing around with newer and fancier and/or more experimental ROMs) but that one is no longer being developed. You could look at tamirda/RevolutioN and/or some of coolexe's work, among others. Look at the 'Desire Index'-thread in the development forum.
9 - undervolting, overheating, loose connections, corrupt storage, (moisture-)damaged circuitry, …
10 - Settings->Power->Fast boot <-- uncheck it if it's checked.
11 - Not quite, but you can make nandroid+ext backups for different ROMs that you can then restore and boot. Preferably ROMs that use the same hboot.
I have no personal experience with revolutionary or with the htc 2.3.3 ruu.
12 - most of the time its recommended to flash the radio to the latest one.first run the Rom you want if the signal is bad you can always flash a newer radio later. And always read ALL the info on the OP from the rom you want.
Sent from my HTC Desire using XDA App
keith456 said:
12. How do I know if I need to install a radio ?
Click to expand...
Click to collapse
You will probably have issues with wifi or camera if you have an older radio version that is required by the installed ROM.
In some ROM threads it is specified explicitly which radio to use. And you can always ask (in the ROM thread) if somebody already didn't ask that.
7. Both Miui-xj and Miui-au are in english and i believe stable. Been using au lately but used xj for about a month for daily use with no issues.
8. Are you refering to OTA (over the air updates) if so both the above rom's support this feature.
12. I believe it depends on the rom you are using, tried a few rom's with my old radio 5.11.05.27 and never had an issue (most of them recommended the latest radio) upgraded a few days with 5.17.05.23 and the only thing i noticed was a little better wifi coverage. (could also be placebo effect )
javelar said:
7. Both Miui-xj and Miui-au are in english and i believe stable. Been using au lately but used xj for about a month for daily use with no issues.
8. Are you refering to OTA (over the air updates) if so both the above rom's support this feature.
12. I believe it depends on the rom you are using, tried a few rom's with my old radio 5.11.05.27 and never had an issue (most of them recommended the latest radio) upgraded a few days with 5.17.05.23 and the only thing i noticed was a little better wifi coverage. (could also be placebo effect )
Click to expand...
Click to collapse
re question 8 an exe which does everything flashing, installing the rom , updating radio etc , not ota
I'm not aware of any rom that flashes the radio for you, but then again I haven't tried that many rom's myself.

Unable to find/install stock RUU on hboot 1.57

I did a little too much screwing around with my One V earlier today, and I'm honestly afraid that I've hard-bricked it at this point. I have middling experience when it comes to RUU installs and flashing/experimenting with new ROMs and kernels - but my last root/ROM flash attempt didn't go as planned. I'd installed the stock RUU earlier in the day in order to get the radio update (which, as I now realize, was more or less pointless as the new radio sounds like it's a pain to deal with), and had just finished unlocking and rooting the phone. I booted into TWRP to flash my favorite ROM, and I'm pretty sure this is where I messed up: rather than just wiping System, Cache, Dalvik, and Factory Resetting, I opted to wipe everything I could select in that menu. Please don't ask why (I was tired and out of it, and had planned on re-formatting my SD card at some point - it made sense at the time...) - I now realize how stupid this was, and I'm going out of my mind trying to fix it.
I thought it would be a simple matter of flashing the RUU file I currently have, but alas, I now have hboot 1.57 and the newest radio version - so I get an "hboot is older!" error when I attempt to install this older RUU. I can't locate an RUU based on hboot 1.57, and I'm not sure whether I'm just looking in the wrong places or interpreting RUU filenames incorrectly (perhaps certain RUUs would prove compatible despite incorporating a slightly downgraded hboot...?).
Any help you can offer would be greatly appreciated - if you need any more information from me in order to provide a solution, please let me know and I'll respond as quickly as I can.
EDIT: I have a CDMA One V.
don't boots said:
I did a little too much screwing around with my One V earlier today, and I'm honestly afraid that I've hard-bricked it at this point. I have middling experience when it comes to RUU installs and flashing/experimenting with new ROMs and kernels - but my last root/ROM flash attempt didn't go as planned. I'd installed the stock RUU earlier in the day in order to get the radio update (which, as I now realize, was more or less pointless as the new radio sounds like it's a pain to deal with), and had just finished unlocking and rooting the phone. I booted into TWRP to flash my favorite ROM, and I'm pretty sure this is where I messed up: rather than just wiping System, Cache, Dalvik, and Factory Resetting, I opted to wipe everything I could select in that menu. Please don't ask why (I was tired and out of it, and had planned on re-formatting my SD card at some point - it made sense at the time...) - I now realize how stupid this was, and I'm going out of my mind trying to fix it.
I thought it would be a simple matter of flashing the RUU file I currently have, but alas, I now have hboot 1.57 and the newest radio version - so I get an "hboot is older!" error when I attempt to install this older RUU. I can't locate an RUU based on hboot 1.57, and I'm not sure whether I'm just looking in the wrong places or interpreting RUU filenames incorrectly (perhaps certain RUUs would prove compatible despite incorporating a slightly downgraded hboot...?).
Any help you can offer would be greatly appreciated - if you need any more information from me in order to provide a solution, please let me know and I'll respond as quickly as I can.
EDIT: I have a CDMA One V.
Click to expand...
Click to collapse
Well i dont have a CDMA one v but i know that the RUU for hboot greater than v1.17 had not been released.. So the best method to recover stock ROM is using a stock ROM backup with the same hboot and radio version , if anyone bought a one v recently he should be on the latest hboot and radio version , you can get a stock backup from such a person or search on xda for such a backup..
There isn't a RUU for the Hboot 1.57 and the newest radio. Sorry to give the bad news. You will either have to use a nandroid backup or install one of the custom roms such as RhythmicRom, e3remeSense or myOneV. Good luck on your rooting journey!
Thanks. I ended up successfully installing Rhythmic, but I can't get x3reme Sense (my preferred ROM) to work, for some reason (which is sort of ironic - I know Rhythmic incorporates a fix to allow for compatibility, but I thought one of the OTA updates was supposed to prevent installing anything not based on Sense). Oh, well.
If you'll use this kernel, then x3reme Sense will boot. I tried it for a while, but for a sense based rom I prefer myOne. If you want to try it, Cyanprimo will boot and run fine with the RhythmicRom v1.2 kernel. That is my daily driver(at least for now).
http://forum.xda-developers.com/showthread.php?t=2261819

Categories

Resources