Updated RIL (06.08.11) - Tilt, TyTN II, MDA Vario III Android Development

I have made some updates to the RIL which is the driver for the radio in the phone and would like some people to test it and let me know if they have any issues with signal (as in no service at all from their provider when they did before the update) and also data problems. Apply the update like any other update, from the android installer menu.
EDIT 6.8.11::
Hello again, done some more updates on the RIL for you all. Seems to sync with the modem app a little better for those that just can't let go. Still don't think it's necessary though. Anyway, a few more minor improvements I believe, give it a go.

Hi Scoot thanks for sharing new kernel and updates for us..
I didn't check ext4 or ext2 compatibility because I always do nand installation, but about RIL update I do have signal issue.
After fresh install, my device gets no services at all but after turn on and of ariplane mode and a very long wait, finally the signal reception is fine. Oh, I guess there is also a problem with data connection because sometimes even with 3G or gprs icon appears in status bar, I get no data traffic in or out when I tried to open market or browser. But when it happened, I do airplane mode again and sometimes it fix the problem
I've tried in both your CM 7 and 6.1.2 with Radio1.65.21.18

Hi Scoot, is a HaRET bootable version possible?

leona said:
Hi Scoot, is a HaRET bootable version possible?
Click to expand...
Click to collapse
Hello Leona, i appreciate the donation i received a while ago, little things like that make working on this even more rewarding and worth the challenge You can obviously test the RIL with haret and I have attached a zImage to the first post which you can put in your haret folder
The zImage is untested because i don't use haret so let me know if there are any problems.

Thanks Scoot and no problem.
The Kernal seems to boot fine.
I'm having the usual fun of trying to get into the install menu, so have not been able to apply the update yet, will let you know.

Thanks Scoot, seems to work fine - I don't get any signal problems with the your new kernel and RIL. Data is working correctly too. (using your CM6.1.2 build with radio 1.65.21.18)
What kind of changes have you made to the RIL?

mmec2 said:
Thanks Scoot, seems to work fine - I don't get any signal problems with the your new kernel and RIL. Data is working correctly too. (using your CM6.1.2 build with radio 1.65.21.18)
What kind of changes have you made to the RIL?
Click to expand...
Click to collapse
There are a couple of snags with the RIL, in terms of call performance it is much better, but with data after turning it off and turning on again it fails to get a correct IP, but going into the modem app and turning off then waiting for it to turn on and reassign an IP works so I need to look into that. THe RIL has changed massively, lots of bug fixes and extra stuff added in. Signal strength is now reporting correctly rather then just having either no bars, 2 or 4. In theory calls should come in a little faster too but we'll see. There is still work to be done, mainly to data though, i'd like to get it working like a native android phone being run from the ppp service rather then a script which deals with it all at the minute. This should then do away with the modem app so it can be fully controlled by the OS.

Hi have managed to apply the update now, and can confirm that all works well, yes I noticed that the data connection failed at first, but switching between the two o2 options seemed to fix it.

leona said:
Hi have managed to apply the update now, and can confirm that all works well, yes I noticed that the data connection failed at first, but switching between the two o2 options seemed to fix it.
Click to expand...
Click to collapse
Thanks for the feedback Leona

Scoot are the changes made to Ril kernel specific?
I have a '25 branch kernel can I update my system with your patch?

-Arturo- said:
Scoot are the changes made to Ril kernel specific?
I have a '25 branch kernel can I update my system with your patch?
Click to expand...
Click to collapse
The RIL isn't kernel specific, the kernel was just something else I had been working on so you can apply the RIL update regardless of kernel

Excellent,thanks Scoot.
It seems to be working fine except for data issues that you have mentioned before. Now it really shows the correct signal strenght, where I had zero bars before (which was kind of odd) now it shows one bar. Great update.

I update my RIL before 20 min and for now everything look fine.

I haven't tried the RIL yet, but the kernel works well. I had an issue where ramzswap was crashing the kernel whenever compcache did the insmod, but then realized that it was an old module, and that you provided zram.ko instead.
So, the question: does somebody have a compcache.sh that works with zram? Or, a zramconfig utility compiled for our target? I miss my compcache!
I'll try RIL soon.

n2rjt said:
I haven't tried the RIL yet, but the kernel works well. I had an issue where ramzswap was crashing the kernel whenever compcache did the insmod, but then realized that it was an old module, and that you provided zram.ko instead.
So, the question: does somebody have a compcache.sh that works with zram? Or, a zramconfig utility compiled for our target? I miss my compcache!
I'll try RIL soon.
Click to expand...
Click to collapse
To answer my own question, this edit of compcache.sh seems to work for me.
Also, I have your new RIL installed now, and it seems good. Cell-tower location seems to work, although I'm not sure because I haven't moved to a different tower yet. HSDPA data works, and I have one bar right now.

Kernel works fine except standard crash during sleep (can't wake up, qwerty backlight on) once a day. Boots normallly from Haret, no waiting.
RIL kills my data connection, works after turning airplane mode on/off.
Sent from my Not So Super Froyo using XDA App

Is the connection issue strictly for Haret users, or is NAND affected as well?
I've been running 2 phones, one with .25, the other with .32.9, both Liqid's and 1.70.19.9 radio.
Also, AT&T is doing upgrades to our area right now so I might not be a good candidate for testing, but I can give feedback as soon as I get it installed.

PoXFreak said:
Is the connection issue strictly for Haret users, or is NAND affected as well?
Click to expand...
Click to collapse
It is an issue for all users, the problem is in the 'kill connection' code in the ril. I'll be trying to fix it when i get a chance but for now it doesn't stop data from working, it just means that the radio or modem needs to be turned off and on either by toggling airplane mode or using the modem app included in most builds

Tried it with 7.0.2 RLS2 /system on nand /data on ext4. Took a long time to acquire t-mobile and even longer after in/out of airplane mode. Did get a data connection but had to go back to airplane mode after using wifi (wifi worked great). Had it on about 7 hours and received a couple of calls. It woke up for me to answer after 4 rings on the caller end. Then I had to make a call and it hung up immediately after dialing the number(tried several times and numbers). Other than no out calling it settled down and was very usable. May try 6.1.2 (RLS6) tomorrow pm. Thanks for the hard work

Hey does this kernel contains the optimizations for battery use done by Krazy? Cause with his kernel i get a lot of lag after a long sleep period!

Related

[Q] CMDA Android 2.2 Froyo Wi-fi unable to scan.

Hello guys my problem is this:
I booted my windows 6.5 to android 2.2 froyo CMDA. everything was working when i saw that i cannot connect to wifi. My friend also installed same android and his wifi was working but mine isnt.. When i open wifi settings i turn on my wifi, it says scanning... but after 5 sec it automatically stops scanning and turns itself off. Then some message appears on screen : The application settings(process com.android.settings) has stopped unexpectedly.
I already have a modem at home and I used to connect on it with my WM wi-fi. I tried rebooting etc.. Nothing happens.
Its not cause of my modem because i already tried to connect to another existing wifi connections.
If you have already faced this problem and solved it or have any good suggestions,please reply.
1) WEP encryption does NOT work
2) If you updated, you MUST update both the zImage AND the modules files.
3) Some TP2's just don't work on wifi. You may be one of the unlucky ones.
arrrghhh
arrrghhh said:
1) WEP encryption does NOT work
2) If you updated, you MUST update both the zImage AND the modules files.
3) Some TP2's just don't work on wifi. You may be one of the unlucky ones.
Click to expand...
Click to collapse
Thanks.. I hope this is not my rhodium unluck's fault.
What do you mean by updating both the zImage and the module files? How can I possibly do that?
elementyy said:
Thanks.. I hope this is not my rhodium unluck's fault.
What do you mean by updating both the zImage and the module files? How can I possibly do that?
Click to expand...
Click to collapse
Go to the autobuild site and download the newest? Not sure what you mean.
arrrghhh said:
Go to the autobuild site and download the newest? Not sure what you mean.
Click to expand...
Click to collapse
I meant it is not my rhodium's fault for causing my wi-fi to brick. I don't need any update. As i said my friend has got the same files as I have he is running froyo perfectly with working wi-fi.
elementyy said:
I meant it is not my rhodium's fault for causing my wi-fi to brick. I don't need any update. As i said my friend has got the same files as I have he is running froyo perfectly with working wi-fi.
Click to expand...
Click to collapse
Well if you're not willing to troubleshoot, then I can't help you.
elementyy said:
I meant it is not my rhodium's fault for causing my wi-fi to brick. I don't need any update. As i said my friend has got the same files as I have he is running froyo perfectly with working wi-fi.
Click to expand...
Click to collapse
if you are up-to-date then it IS your devices fault

Strange issue with Wi-Fi on android

Hi all,
I know there are loads of wifi post on here and I have searched and tried all updates and whatnot.
Initially when I dual booted my kaiser to android it kept coming up with an error on the wifi and just wouldn't start. I have put the update on that is meant to fix it and it now starts the wifi, but it just wont search for my wifi!?
If I enter it manually it just comes up with "Not in range"
Has anyone else had this issue?
Thanks,
Doomie
Doomie22 said:
Hi all,
I know there are loads of wifi post on here and I have searched and tried all updates and whatnot.
Initially when I dual booted my kaiser to android it kept coming up with an error on the wifi and just wouldn't start. I have put the update on that is meant to fix it and it now starts the wifi, but it just wont search for my wifi!?
If I enter it manually it just comes up with "Not in range"
Has anyone else had this issue?
Thanks,
Doomie
Click to expand...
Click to collapse
looks like you need a WiFi Fixer, you can look at http://www.androlib.com/android.application.org-wahtod-wififixer-qwn.aspx
Hakim Rahman said:
looks like you need a WiFi Fixer, you can look at
Click to expand...
Click to collapse
Thanks for that, just grabbed it, installed it and now it just sits scanning and still will not find any wi-fi.
change your kernel or radio version witch android version you use???
I have tried quite a few. The one I have just tried is "Scoot CyanogenMod 6.1.2 RLS6". All of them are doing exactly the same, its just making no sense.
Almost sounds like a bad radio install. I have had "0" problems with wifi using radio 1.70.19.09 OR 1.70.09.01.
Your results may vary as I've seen people using the 1.65 radio roms with no issues as well.
With dual-boot, I'm not too sure that WinMo isn't trying to control your wifi independently of Android. I have no experience in any dual-boot situations as I could never get Haret to work correctly, if at all.
I think I remember someone mentioning that you have to make sure the wifi is either on or off in WinMo before starting Haret. If someone has clarification on this, I'm sure the poster would appreciate feedback.

[Q] Wifi problems

Wildfire with
ROM: CM 7.2
Kernel: 2.6.35.14-InfinityPlay
Radio: 3.35.20.16
For the last year wifi, after a short period of time i can't download, I mean, some times i connect, get into market for example and download/update, but after some time i can't, it's not a market problem because i can't download from anywhere, regardless the app, but i can browse normally(!), the problem is only in downloading. Even if i reset wifi, go in and out of airplane mode, restart the phone etc, the problem stays. Maybe if i try the next day it works ok. I dont know how it occurs or when and why, nor how/why/when it gets fixed...
The problem started when I had rompuzzle 2.2.1 a year before, till now. Since then I have flashed stock rom with 2.2.1, jockerdroid 4.2, cm 7.1, and cm 7.2 that i have now.
I suspect it is a radio problem, but can't be sure.
*Also sometimes I have low gsm signal, even in well covered areas.
Any ideas/suggestions?
Thanks
You said you flashed stock rom, i suppose it was a stock rom from Android?
It really looks like you have a problem with your radio (like you allready say for yourself).
It seems you have the newest one, so try a lower version.
I you have troubles finding a radio because the host is down or something just pm me or try google.
Hope this helped! Kind regards.
try radio 20.10
i have tried all 3 radios, but the problem stays. But i have noticed that when i enable tether and i put in the console the command for reverse tethering *usually* it gets fixed until the next time that i disconnect from my wi-fi.
i have not the same but similar problem,after a while i get dropped from router,even if my phone says its connected...this started to happen after changing our router (which i couldnt and cant set up) and setting up "N" wifi network...i found two options,how to solve it..
1)use free app wifi fixer from google play store (which somehow manages to know if you are connected or not and can automatically reassociate with router again)
or
2)flash HCDR.Kernel_v4_Flashable.zip from op on this page http://forum.xda-developers.com/showthread.php?t=798471
maybe it help, maybe not.. gl
I have *temporary* solved the problem by following the reverse tethering guide... I don't know why but after doing this procedure I can connect normally to my router, and if it disconnects (rarely) I just repeat the steps of the guide.

[Q] Wifi Issues after Stock ROM

I Installed back the Stock ROM Buzz_Froyo_hTC_Asia_India_2.25.720.1-dannejo.zip and also flashed its Kernel to InfinityPLAY
but now, my wifi is not working, it keeps on SCANNING..
Even tried to FLash the Radio to Radio_13.55.55.24H_3.35.20.10
but nothing working !
So things not working are:
1) WIFI
2) HOTSPOT
3) GPS
4) Bluetooth
Prior to this, tried Cyanogen 7.2 and 9.1 mini ! but didn't liked them as compared to Stock ROM.
though 9.1 had Hotspot n GPS issues!
so someone, suggest a solution !
happy2deepak said:
I Installed back the Stock ROM Buzz_Froyo_hTC_Asia_India_2.25.720.1-dannejo.zip and also flashed its Kernel to InfinityPLAY
but now, my wifi is not working, it keeps on SCANNING..
Even tried to FLash the Radio to Radio_13.55.55.24H_3.35.20.10
but nothing working !
So things not working are:
1) WIFI
2) HOTSPOT
3) GPS
4) Bluetooth
Prior to this, tried Cyanogen 7.2 and 9.1 mini ! but didn't liked them as compared to Stock ROM.
though 9.1 had Hotspot n GPS issues!
so someone, suggest a solution !
Click to expand...
Click to collapse
Has to be a radio problem. Maybe you didnt flashed it correctly. Just flash it a 2nd time and search a guide on xda how to do it
Only GPS not working fine
miniAndroidian said:
Has to be a radio problem. Maybe you didnt flashed it correctly. Just flash it a 2nd time and search a guide on xda how to do it
Click to expand...
Click to collapse
yeah bud, i know, it has something 2 do with Radio.
I once again, did flashed my Stock ROM but this time i wiped each and everything.!
Now Wifi, Bluetooth, n Hotspot are working, but Except for GPS
GPS still shows location on the basis of Network, not GPS satellites
So the only thing left is GPS !
now what else can i do to solve it?
and I even wish to change it Kernel, to OverClock it..! suggest me a stable one!
happy2deepak said:
yeah bud, i know, it has something 2 do with Radio.
I once again, did flashed my Stock ROM but this time i wiped each and everything.!
Now Wifi, Bluetooth, n Hotspot are working, but Except for GPS
GPS still shows location on the basis of Network, not GPS satellites
So the only thing left is GPS !
now what else can i do to solve it?
and I even wish to change it Kernel, to OverClock it..! suggest me a stable one!
Click to expand...
Click to collapse
Which Recovery are u currently using?

[ROM][7.1.2][2018-01-15][desire 816 A5][Qualcomm SoC]unofficial LineageOS (inactive)

I like this disclaimer.
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Now upgraded to daily driver!
I don't expect any serious issues with this now, and will call it stable.
Not working: LiveDisplay, themes, you tell me with logs
Root no longer built in with Lineage OS. Use SuperSU
Works: NFC, Wifi, BT, tether, rotation, root, sound, video, MTP, GPS/network location, calls, mobile data, MMS, SMS messages, still camera, videocamera, flashlight, ?
File manager root functions working on 12-28-2016 build.
Also includes microg signature spoofing.
60 step volume control
Pixel home button animation from CypherOS
Use nanomod for microg if you want.
I can't test on dwg/dug but there's a build up for you anyway.
Flash with twrp for htc a5 from twrp.me use 3.0.2 or it may bootloop.
for clean flash, wipe>advanced wipe>system, cache, and data
if wifi and or bluetooth go funny on first boot, reboot a time or two and it should settle down.
seems to dirty flash nicely. wipe dalvik cache and cache. Be aware that dirty flashes may cause weird little glitches you can avoid with a clean flash then setting it all up from scratch.
Then flash rom.
If you had gapps and dirty flashed, be sure to flash arm-7.1 gapps before rebooting. If you're using microg, you shouldn't need to copy anything into /system, that set of gapps installs just fine as user apps, and should survive a dirty flash.
ROM folder link in post 2.
Download the md5sum file with the rom so twrp can verify it isn't corrupted before flashing.
for those having issues with boot reverting to fastboot from corrupted /data partitions who do not want to format /data to fix it; (single SIM version. If you need a dual SIM version pm me and I'll build/upload one.)
attached here on this post, unpack boot.img from non-flashable zip file.
Back up your boot.img with trwp before flashing.
flash by fastboot or recovery, for latest ROM release with the errors=panic flag set in the fstab.
Source: cm lineageos, branch cm-14.1
roomservice.xml with my tweaks
https://github.com/bigsuperprojects/android_roomservice
patches (signature spoofing and enhanced volume control)
https://github.com/bigsuperprojects/cm-14-patches
pixel home button animation
https://github.com/bigsuperprojects...mmit/51f6d0f98ea614d61f9500397fe6761867a232c9
download folder
reserved for screenshots
Tweaks
@rjcool1999 put together
stock htc camera and gallery
Hi bigsupersquid,
My phone is dual sim a5_dug. I used open_gapps-arm-7.0-aroma-20160925.zip
Works : wireless, bluetooth, rotation, fm radio, root, location (tested with maps)
No : Phone calls, mobile data, camera, sd-card
New build uploading
Phone still broken but MMS and mobile data working on chl once the ril randomly starts up
A5_Dug
Its great to hear that first Alpha released.. Thanks buddy..hope we will get a cell working version soon...
This looks very promising. Great progress,thanks @bigsupersqiud.
First I wanna say this ROM is amazing
no mobile data ,phone call , camera ,ROOT work on my a5 ul. I've got my carrier name and APN by the phone itself,but no mobile data.
SD card worked for me !!
Check it out
BTY,How can I do to let my official filpcase worked on cyanogen
frank9184 said:
First I wanna say this ROM is amazing
no mobile data ,phone call , camera ,ROOT work on my a5 ul. I've got my carrier name and APN by the phone itself,but no mobile data.
Check it out
Click to expand...
Click to collapse
Root works but cm14 file manager is known to have issues with root.
You might try other apps that need root. Connectbot or built in terminal work fine with su, for example.
Definitely no phone calls, incoming or outgoing calls both cause soft reboots.
Mobile data works on my chl... When the ril actually starts up. Until then, no sim it says. Only on the second release, though. First release, no data even when ril is running.
You can try entering your apn in cellular network settings maybe, but not until it shows a cell signal.
There's a hidden framework file with APNs, I didn't get data until I fixed it. Post your complete apn and carrier and I'll see if it needs added.
bigsupersquid said:
Root works but cm14 file manager is known to have issues with root.
You might try other apps that need root. Connectbot or built in terminal work fine with su, for example.
Definitely no phone calls, incoming or outgoing calls both cause soft reboots.
Mobile data works on my chl... When the ril actually starts up. Until then, no sim it says. Only on the second release, though. First release, no data even when ril is running.
You can try entering your apn in cellular network settings maybe, but not until it shows a cell signal.
There's a hidden framework file with APNs, I didn't get data until I fixed it. Post your complete apn and carrier and I'll see if it needs added.
Click to expand...
Click to collapse
I will dig it at framework.apk later .
Besides ,how can I do to let my official filpcase worked on cyanogen? Use dotmatrix.apk on stock ROM ?
frank9184 said:
I will dig it at framework.apk later .
Besides ,how can I do to let my official filpcase worked on cyanogen? Use dotmatrix.apk on stock ROM ?
Click to expand...
Click to collapse
You could try the apk from stock on the same cm android version (5.0 to cm12, 6.0 to cm13) and see if it works. Think the Hall sensor (magnet sensor) isn't getting registered properly as an input device though, log says it's a keypad instead.
Decompiling framework may not be feasible yet unless small/baksmali are updated for N. I don't know if they are or not. I build the file in instead.
If you can post your carrier MCCMNC it'll help me debug that. Virgin mobile us is 311490, sprint us is 310120 or 31000.
You can find it in your log on cm12 or cm13 in adb while it's running and connected to data...
logcat -db all | grep -i apn
Should give a big spammy list of APNs being tried and used by the system.
Or the /data/data/com.android.providers.telephony/databases/telephony.db from cm13 with data connected, has the info I need in it as well
logcat -db all | grep -i apn
http://pasted.co/78e345aa
P.S.I don't know which site is better for me to paste the log .So I using the site which is searched by Google
And the dB
http://www.mediafire.com/download/kc5wsus34ag3qbz/telephony_-_副本.db
I don't know why attach file is broke with cyanogen mod 13 broswer
AFAIK, magnet sensor don't work on any cyanogen build ,even place dot matrix.apk which is let stock ROM magnet worked
bigsupersquid said:
Root works but cm14 file manager is known to have issues with root.
You might try other apps that need root. Connectbot or built in terminal work fine with su, for example.
Definitely no phone calls, incoming or outgoing calls both cause soft reboots.
Mobile data works on my chl... When the ril actually starts up. Until then, no sim it says. Only on the second release, though. First release, no data even when ril is running.
You can try entering your apn in cellular network settings maybe, but not until it shows a cell signal.
There's a hidden framework file with APNs, I didn't get data until I fixed it. Post your complete apn and carrier and I'll see if it needs added.
Click to expand...
Click to collapse
The same reboot problem got fixed on moto g while calling..you can check that if that solves the reboot problem....thanks for your hard work mate
nageswarswain said:
The same reboot problem got fixed on moto g while calling..you can check that if that solves the reboot problem....thanks for your hard work mate
Click to expand...
Click to collapse
Wonder if they used @mickybart 's lovely ril.
I found it skimming XDA Sony forum I think.
9/27 release uploading, can make and receive calls once the dang ril kicks in. Still APN glitches for non sprint/virgin mobile.
bigsupersquid said:
Wonder if they used @mickybart 's lovely ril.
I found it skimming XDA Sony forum I think.
9/27 release uploading, can make and receive calls once the dang ril kicks in. Still APN glitches for non sprint/virgin mobile.
Click to expand...
Click to collapse
Will it work on a5dwg too???
A5dwg is getting very less support.
Even the 3g 2g selection is not get solved on cm13 over 5 months... Hope that bug will not continue in 7.0
Keep up the good work...I will flash it on a5dwg tomorrow and let you know the results
nageswarswain said:
Will it work on a5dwg too???
A5dwg is getting very less support.
Even the 3g 2g selection is not get solved on cm13 over 5 months... Hope that bug will not continue in 7.0
Keep up the good work...I will flash it on a5dwg tomorrow and let you know the results
Click to expand...
Click to collapse
I dunno but the same ril worked in cm13 for ul and dwg.
I'd be happy to extend support if someone wants to send a dwg or dug to make immediate tests with.
Otherwise it just gets the same changes as the chl/ul. //edit: sometimes I grab m8d changes for dual sim to test as well... Not always though. Really need one in hand to test with. A lot of builds don't get uploaded cause they test bad somewhere. Takes hours to upload a build and they fail uploading partway through often.
bigsupersquid said:
I dunno but the same ril worked in cm13 for ul and dwg.
I'd be happy to extend support if someone wants to send a dwg or dug to make immediate tests with.
Otherwise it just gets the same changes as the chl/ul. //edit: sometimes I grab m8d changes for dual sim to test as well... Not always though. Really need one in hand to test with. A lot of builds don't get uploaded cause they test bad somewhere. Takes hours to upload a build and they fail uploading partway through often.
Click to expand...
Click to collapse
I actually mean that flashing this on a5dwg for testing will be OK or will it brick the device..??very confuse as there is various models in HTC desire 816
Sim not worked?
Enviado desde mi hi6210sft mediante Tapatalk
nageswarswain said:
I actually mean that flashing this on a5dwg for testing will be OK or will it brick the device..??very confuse as there is various models in HTC desire 816
Click to expand...
Click to collapse
fine on ul tl chl dwg dug. not for mediatek variants.
matamata15c said:
Sim not worked
Enviado desde mi hi6210sft mediante Tapatalk
Click to expand...
Click to collapse
yeah, ril is pretty messed up, sometimes doesn't turn on for whole reboot on mine, sometimes pops on within a few minutes. random and unpredictable

Categories

Resources