franco.kernel ksatta changes pre-release - Huawei Ideos X5 U8800

I will release my changes to the franco.kernel in this thread before franco includes them in his kernel for the upcoming releases. So this is a "pre-release" thread for franco.kernel, for the changes I'm making.
v2 (included in [16 SEP] franco.Kernel)
- Speakerphone echo fixed. Works with normal calls, not with Skype (or other voip apps probably). Skype still works like before, echo with speakerphone mode.
The fix can be disabled with
Code:
echo 0 > /sys/module/snd_soc_msm7kv2/parameters/speakerphone_echo_fix
You can post in this thread how it works. It always uses speaker_mono_tx instead of speaker dual mic broadside dev.
- Removed some logging from msm7x30.c (left there by Huawei. They must have a logging fetish or something )
mod_v1 (Included in [11 SEP] franco.Kernel)
- "Use phone's mic with headset"-feature is now user configurable.
By default uses phone's mic with headset/headphones/line-out. So if you want that, no configuration is needed.
To use headset's mic create a file called "10headsetswitch" in "/system/etc/init.d/" and paste the following to it:
"echo 0 > /sys/module/snd_soc_msm7kv2/parameters/headset_mic_switch"
Future plans
- Fix speakerphone echo in Skype. Investigate the volume problems (max. volume is too high, etc..).
Flashing instructions
- Boot to recovery
- install from zip
- choose francokernel_X_ksatta_vX.zip.
Notes for devs
The latest franco.kernel has logcat disabled by default, to enable it put this in .config:
Code:
CONFIG_ANDROID_LOGGER=y
To enable kernel debug messages (can be seen with dmesg):
Code:
git checkout 0c1adc36ed u8800-kernel/kernel/printk.c
NOTE: disable logging again before releasing anything, probably slows down the phone quite a bit when logging is on.
Credits
ksatta - use phone's mic with headset
stockwell - user config for headset mic setting
franciscofranco - the franco.kernel
Thanks
wmi543
genokolar
And everyone else if I forgot to mention someone.
Files
franco.kernel-sep11+ksatta_v2.zip - Zip file to flash phone.
franco.kernel-sep11+ksatta_v2-src.zip - V2 source for devs. msm7x30.c file is from u8800-kernel/sound/soc/msm. Also includes compiling instructions.

To make it set to using the phone mic at boot, save the following script into /system/etc/init.d/. Call it whatever you like just with a two digit number at the start (ie. 10headsetswitch)
Code:
echo 0 > /sys/module/snd_soc_msm7kv2/parameters/headset_mic_switch
As mentioned this is already configurable in Miui using x5 settings so you don't need to worry about making the script yourself but the voice quality might not be very good (will be fixed for the next version) unless you use the kernel attached from ksatta.

Please could explain how to install this kernel? Because I read the file that you have attache and in the end I finish like in the begginign without knowing how to do it.
Is only need to do by the recovery with the zip file ans what about the secund zip file the smaller one?
Sorry but Ian sure that I am not the only o w that is asking this.
Sent from my u8800 using XDA App

vlc_marcos said:
Please could explain how to install this kernel? Because I read the file that you have attache and in the end I finish like in the begginign without knowing how to do it.
Is only need to do by the recovery with the zip file ans what about the secund zip file the smaller one?
Sorry but Ian sure that I am not the only o w that is asking this.
Sent from my u8800 using XDA App
Click to expand...
Click to collapse
Yeah I was a bit unclear, sorry. To flash boot to recovery, install from zip and choose my zip.
edit: Updated first post, flashing instructions

ksatta said:
Yeah I was a bit unclear, sorry. To flash boot to recovery, install from zip and choose my zip.
Click to expand...
Click to collapse
Ok thanks. And for what is the small zip file?
So I will use in this last miui without any problems correct.
Will I get battery problems?
Sent from my u8800 using XDA App

vlc_marcos said:
Ok thanks. And for what is the small zip file?
So I will use in this last miui without any problems correct.
Will I get battery problems?
Sent from my u8800 using XDA App
Click to expand...
Click to collapse
Sigh man, I'm growing tired of your questions everywhere in every thread you can find. This is just my kernel compiled with a different file to make this "Use phone's mic with headset"-feature is now user configurable." avaliable.
No it won't take coffees for you, no it won't explode your device, no it won't turn it into an airplane and fly in circles above your head, and no it won't make you rich beyond imagining.
Sorry for the smallish OT ksatta, it ****s me reading stupid questions everywhere.
Very nice job like I told you before

franciscofranco said:
Sigh man, I'm growing tired of your questions everywhere in every thread you can find. This is just my kernel compiled with a different file to make this "Use phone's mic with headset"-feature is now user configurable." avaliable.
No it won't take coffees for you, no it won't explode your device, no it won't turn it into an airplane and fly in circles above your head, and no it won't make you rich beyond imagining.
Sorry for the smallish OT ksatta, it ****s me reading stupid questions everywhere.
Very nice job like I told you before
Click to expand...
Click to collapse
First of all Ian not from your family so stupidity is not in my genes. Secund if you are tired go to sleep.
I didn't ask to you, so you don't need to react like this. Don't be a small kid.
When I don't know I ask.
So Franco don't give me your ****y opinions when I don't ask for then.
Thanks
Sent from my u8800 using XDA App

franciscofranco said:
No it won't take coffees for you, no it won't explode your device, no it won't turn it into an airplane and fly in circles above your head, and no it won't make you rich beyond imagining.
Click to expand...
Click to collapse
I think it's a fair question, I was wondering why my phone wasn't making me coffee
vlc_marcos said:
Ok thanks. And for what is the small zip file?
So I will use in this last miui without any problems correct.
Will I get battery problems?
Click to expand...
Click to collapse
You can already do this in Miui, have been able to for a while. Flashing this version should make the voice quality better though.

Yeah, like franco said, the v1 is just user-configurability for the headset mic thing.
For anyone else wondering, I will report any changes I make in the first post. So the zips here won't have any other changes compared to franco.kernel, except the ones I report in the first post.

vlc_marcos said:
Ok thanks. And for what is the small zip file?
Click to expand...
Click to collapse
I updated the first post to be less confusing. the smaller file is only the source file, only needed by devs.

franciscofranco said:
Sigh man, I'm growing tired of your questions everywhere in every thread you can find. This is just my kernel compiled with a different file to make this "Use phone's mic with headset"-feature is now user configurable." avaliable.
No it won't take coffees for you, no it won't explode your device, no it won't turn it into an airplane and fly in circles above your head, and no it won't make you rich beyond imagining.
Sorry for the smallish OT ksatta, it ****s me reading stupid questions everywhere.
Very nice job like I told you before
Click to expand...
Click to collapse
Mate, you seriously need to get a grip and settle down. Maybe lay off the espresso a bit. I know you are doing good things with your kernel and everyone appreciates that and is grateful. However, almost every post you make is aggressive and condescending. Ok so you have it all figured out, that's great. But the majority of us are just struggling and muddling along enjoying Android and trying to learn and contribute as we go. When you attack and belittle most posters it just make you look like a wanker.
May I suggest: if you don't wish to assist then simply don't respond. Someone else will or maybe no one will in which case the post will recede into the past and the poster will look elsewhere.

Maybe you, or anybody here can write me pm with very short info how to compile kernel [what parrameters should pass to it] and make zip package to be installable to phone? Once i tried to compile but image was 2x times bigger than original realese so i was afraid to test it
GolfCranK said:
Mate, you seriously need to get a grip and settle down. Maybe lay off the espresso a bit....
Click to expand...
Click to collapse
it's PASSION man! Who wants to read nice post i want to read **** words man!

Tommixoft said:
Maybe you, or anybody here can write me pm with very short info how to compile kernel [what parrameters should pass to it] and make zip package to be installable to phone? Once i tried to compile but image was 2x times bigger than original realese so i was afraid to test it
Click to expand...
Click to collapse
Maybe you were looking at the uncompressed Image file? zImage is the correct file. But anyway the -src.zip contains compiling instructions, I created them today with a fresh install of Ubuntu 11.04. If you test my instructions and have any problems, inform me and I'll update the instructions.
Before you edited you asked about what v1 does, there's a whole lot of text in the first post, but yes, it only makes the headset mic switch user-configurable Future releases might have more changes

Actually my version uses phone's mic by default. I made it default because franco.kernel has been using phone's mic by default. So, to avoid confusion:
If you want to use headset's mic use "echo 0 > /sys/module/snd_soc_msm7kv2/parameters/headset_mic_switch" in the script.
If you want to use phone's mic, don't do anything
edit: This applies to the v1 kernel in this thread, miui uses headset's mic by default. Reason above.

Man, this kernel fixed the only issue I had with Oxygen, and call quality is even great! Now I won't change ROMS ever in the next months (unless Huawei releases official Gingerbread). I'm not gay but this is true, I LOVE YOU!!!!

ksatta said:
Maybe you were looking at the uncompressed Image file? zImage is the correct file. But anyway the -src.zip contains compiling instructions, I created them today with a fresh install of Ubuntu 11.04. If you test my instructions and have any problems, inform me and I'll update the instructions.
Before you edited you asked about what v1 does, there's a whole lot of text in the first post, but yes, it only makes the headset mic switch user-configurable Future releases might have more changes
Click to expand...
Click to collapse
MAN! Thanks! finally someone wrote how to properly compile. THANKS!! You're awesome

ksatta said:
Actually my version uses phone's mic by default. I made it default because franco.kernel has been using phone's mic by default. So, to avoid confusion:
If you want to use headset's mic use "echo 0 > /sys/module/snd_soc_msm7kv2/parameters/headset_mic_switch" in the script.
If you want to use phone's mic, don't do anything
edit: This applies to the v1 kernel in this thread, miui uses headset's mic by default. Reason above.
Click to expand...
Click to collapse
lol sorry I edited it now.

My theory about the speakerphone echo is that the audiolibs in 2.3 roms use the wrong routing. They're probably now using the same microphone dev. id. as normal mode, when they should be using the "speakerphone mic" dev.id.
I wasn't able to confirm this yet, didn't get my debug messages out of the kernel yet Normal logcat works, but the kernel debug messages don't show up in it. Also I couldn't find a syslog file.
But I'll continue another day.

Ksatta i see you good with freaking linux stuff and sound So can you make that recording audio and video - audio quality to be good not some arm ****?
I found that codec is here arch/arm/mach-msm/qdsp5v2/audio_amrnb.c How to make that system uses different codec or this but with better sample rate ant bit rate, i can change this in file but i can't find the specification of this codec so maybe it's not supporting 44.1Khz sample rate or even 16Khz.

Thanks ksatta for this ! Was exactly what needed. Btw instead of setting that init script couldn't just change the value from 1 to 0 or it is restored after every reboot?

Related

[SOLVED] Eris "Undead Call" Problem (AOSP/Froyo/GB) Fixed!

While poking around today, I discovered that I could deterministically cause "rild" to segfault - every time I tried it.
The method I used was to turn on WiFi with the Mobile Data network already running, and then I would launch the app "Wifi Analyzer" (farproc). Almost immediately the "rild" (Radio Interface Layer Daemon) would segfault. (Strictly speaking, I don't know if using WiFi Analyzer was necessary - my WiFi has beacons turned off, and sometimes I can't establish a session straight away; using a scanner seems to get my AP to come out of it's sleep).
That consistency convinced me to use strace to attach to the already-running "rild" daemon, and spew to a log file.
Note that historically, the SIGSEGV faults that were logged to the logcat output at the moment of the "undead call" implicated a problem in the fclose() call - almost as if something was trying to close a file that had not been opened correctly.
So, there in the strace output, was this:
Code:
16:43:23 writev(6, [{"\3", 1}, {"HTC_RIL\0", 8}, {"(t=1297817003)%% $HTC_3GIND:0\\r\\n\0", 35}], 3) = 44
16:43:23 open("/data/data/com.android.dmportread/history", O_WRONLY|O_CREAT|O_APPEND, 0666) = -1 ENOENT (No such file or directory)
16:43:23 chmod("/data/data/com.android.dmportread/history", 0666) = -1 ENOENT (No such file or directory)
16:43:23 writev(6, [{"\3", 1}, {"HTC_RIL\0", 8}, {"at_notify_cdma_g23_data_entry():Can't open /data/data/com.android.dmportread/history successfully \r\n\n\0",102}], 3) = 111
16:43:23 --- SIGSEGV (Segmentation fault) @ 0 (c) ---
a quick peek at /system/lib/libhtc_ril.so shows that - yep - buried in there is a reference to
/data/data/com.android.dmportread/history
So, I tried the following:
Code:
[COLOR=green][B]
mkdir /data/data/com.android.dmportread
chown radio:radio /data/data/com.android.dmportread
touch /data/data/com.android.dmportread/history
chown radio:radio /data/data/com.android.dmportread/history
[/B][/COLOR]
and guess what - no more segfaults. [SIZE=+3]YES![/SIZE]
If this is the cause of the "undead" call (seems highly likely), the explanation appears to be due to a bug in the HTC vendor library lbhtc_ril.so : a file open() fails, but the corresponding "close()" operation takes place anyway, and that is where the fault (segmentation violation) occurs. There is a stupid dependency of the libhtc_ril.so file on the DMPortRead.apk app.
Probably the only reason that this bug does not express itself in HTC "factory" 2.1 ROMs is because of the presence of DMPortRead.apk app - presumably that creates/maintains the history file.
[SIZE=+1]See the 3rd post of this thread for downloadable patch/script files[/SIZE]
If any of you are consistently experiencing the "undead call" problem, please consider testing the above to see if you think it is the fix. (I believe it is.)
bftb0
I knew I liked you!
I'll have to try this out when I get home.
Here's a flashable .zip and also a shell script which may be used in Gscript lite - you need to unpack the "unpackme.zip" file to get to them. ("unpackme" is NOT flashable).
I realized after I was 95% of the way through putting together the installer script that there was absolutely no reason to do this in an offline fashion (that is, "overflashing" it during a recovery boot) - it is perfectly fine to do what needs to be done in a shell script any time you please with the regular OS is running. Oh well, the ROM devs can look at it and use whatever they want from it (or nothing at all).
You can run the CureUndead_v0.9.sh script either from within the Gscript Lite app (you need to give the script root privilege), or you could use adb to push it to /data/local and chmod it and execute it by hand. Note that Gscript Lite on GingerBread has this annoying bug where it prints "stderr:" for every line in the original script. It's not my script that's doing that - it's either a problem with Gscript Lite, or something unusual about GSB.
Oh, yeah - the way the script is written, you can run it as many times as you want; as a side effect, this will truncate to zero length any prior history file.
MD5's and sizes of contents of "unpackme.zip":
0bf8c49312e61c436d379a24255b12f3 CureUndead_v0.9.sh - 421 bytes
9d459f9f598f51fffa98cf832c524e50 CureUndead_v0.9.zip - 2,678 bytes (this one is flashable)
Going to try it out... Thanks for this!
nice work...
Very interesting... so this is something that would need to be done post flash, what do you think...
... we use that lights.sh script conap put together in /system/xbin/ that runs @ every boot to initialize the lights for trackball/notifications... would it work if I added the lines to that? I'm not sure if it would cause issues running it @ each boot or not?
Trying to figure out a different way to add this pre-build too.
This is huge if it's the fix. Incredible work.
oceanminded said:
This is huge if it's the fix. Incredible work.
Click to expand...
Click to collapse
I think it is the fix
workshed said:
Very interesting... so this is something that would need to be done post flash, what do you think...
... we use that lights.sh script conap put together in /system/xbin/ that runs @ every boot to initialize the lights for trackball/notifications... would it work if I added the lines to that? I'm not sure if it would cause issues running it @ each boot or not?
Trying to figure out a different way to add this pre-build too.
Click to expand...
Click to collapse
Well, I'm putting together a flashable "fix" file that just uses the installer script, so it could be rolled up into a ROM install as well.
The one thing you might want at boot (rather than only at ROM install time) is some kind of zero-ing out of the history file every once in a while, so that it doesn't grow without bound. I only watched it for a short period of time, and it was only 4 lines long; it might not ever grow big, but that seems like the right thing to do.
So I guess I'll wait until one of you genuises makes this "point and click" simple. I don't have a clue how to implement this on my own. Awesome work bftb0 !
Sheesh you're a brain OP. Awesome job!
Sent from my Ginger Tazz using XDA App
Interesting... what's the undead call bug you're talking about? I've been getting this funny bug on long calls where sometimes the phone app just crashes after 15-30mins or so. I get the crash window, and if I force quit, it shows no signal until I reboot the phone. If that's the one, a fix would be really nice. Running KaosFroyo v39 and never flashed a new radio BTW.
I've also seen the same thing on the WiFi signal. I have SSID broadcast turned off, and it takes it's sweet time picking it up on its own, but running WiFi analyzer seems to wake it up.
ufmace said:
Interesting... what's the undead call bug you're talking about? I've been getting this funny bug on long calls where sometimes the phone app just crashes after 15-30mins or so. I get the crash window, and if I force quit, it shows no signal until I reboot the phone. If that's the one, a fix would be really nice. Running KaosFroyo v39 and never flashed a new radio BTW.
I've also seen the same thing on the WiFi signal. I have SSID broadcast turned off, and it takes it's sweet time picking it up on its own, but running WiFi analyzer seems to wake it up.
Click to expand...
Click to collapse
What he is referring to is during a call you get the tones and vibration like the call has been dropped but then you can hear the person on the other end again and the call was never dropped. What you are describing is a new one to me...
CondemnedSoul said:
What he is referring to is during a call you get the tones and vibration like the call has been dropped but then you can hear the person on the other end again and the call was never dropped. What you are describing is a new one to me...
Click to expand...
Click to collapse
Ah yeah, I've had that happen too. I didn't think of it, though, since it wasn't all that annoying to me. I already ran the fix anyways, so I'll see if it helps either problem.
I haven't had the problem for some reason, but I just entered all that in a terminal window on my phone (and wasn't that tedious). Thanks!
Scott586 said:
So I guess I'll wait until one of you genuises makes this "point and click" simple. I don't have a clue how to implement this on my own. Awesome work bftb0 !
Click to expand...
Click to collapse
I put up a script in the 3rd post in this thread which you could use in the Gscript Lite app. You will still need to figure out how to use Gscript Lite, but at least no "adb" or command-prompt typing is needed.
Everybody else - I would appreciate hearing back from you after you try this, especially if you have been experiencing the "undead call" bug frequently. (I've used my phone for calling so little recently I don't think it has happened to me in more than 5 weeks.) The more often it was happening to you in the past, the more valuable your feedback is now.
bftb0
bftb0 said:
I put up a script in the 3rd post in this thread which you could use in the Gscript Lite app. You will still need to figure out how to use Gscript Lite, but at least no "adb" or command-prompt typing is needed.
Everybody else - I would appreciate hearing back from you after you try this, especially if you have been experiencing the "undead call" bug frequently. (I've used my phone for calling so little recently I don't think it has happened to me in more than 5 weeks.) The more often it was happening to you in the past, the more valuable your feedback is now.
bftb0
Click to expand...
Click to collapse
thanks for the script bf, that's all I needed to add it in the rom. I'll be a tester also, as I do experience the bug quite often, but only on long calls which isn't as frequent for me currently. Bravo sir!
P.S. I will be sure to add "# Undead call fix by bftb0" in the rom and OP page
workshed said:
thanks for the script bf, that's all I needed to add it in the rom. I'll be a tester also, as I do experience the bug quite often, but only on long calls which isn't as frequent for me currently. Bravo sir!
P.S. I will be sure to add "# Undead call fix by bftb0" in the rom and OP page
Click to expand...
Click to collapse
dope
this is good news. great job op and workshed if u add it to your gb rom lol
love you both!
flashed it on gsb1.4. i'll let you know how it goes.
:O OMG! That always happens, but I thought I was crazy XD So I'm going to try this.
Sent from my Droid Eris ♥ (running Ginger Tazz v5 [eat your heart out Jobs])

[MOD][HOWTO] Common Sense Modifications

So every custom ROM seems to have a couple mods in common...
This thread is to (hopefully) help anyone looking to learn to do them
and yet after doing a ton of searching, the only thing I have found is links to prebuilt files without much direction on how to do this myself. What if I don't want your red themed market? (No offense) What if all I want is a stock ROM that I customized with these generic modifications? What happens when a new build of Android is leaked and only two people know how to do the modifications manually and one releases a version claiming they are done when they aren't and the other appears to have used it as a base and then has to go back and manually do the edits and re-release? (Not saying it happened...)
How to Compile a Kernel
http://forum.xda-developers.com/showthread.php?t=1039854
More in-depth guide here:
http://forum.androidcentral.com/htc...how-build-your-own-kernel-package-source.html
How to Deodex a ROM
http://forum.xda-developers.com/showthread.php?t=1082749
Advanced Power Options
http://forum.xda-developers.com/showthread.php?t=1023960
(No Howto - but there are edits in android.policy.jar)
Remove GPS Reticle
http://forum.xda-developers.com/showthread.php?t=1001838
(No Howto - but there are edits in services.jar)
(Gingerbread edits are in the systemui.apk)
6 Bar Service Indicator
No direct download
(No Howto - but there are edits in services.jar)
(Gingerbread edits are in the systemui.apk)
Power Control Widgets
http://forum.xda-developers.com/showthread.php?t=1024220
(No Howto - prebuilt package with other edits already made)
Radio Info in Settings
http://forum.xda-developers.com/showthread.php?t=1018159
(Contains instructions on doing modification - Kudos!)
Wake on Volume Keys
/system/usr/keylayout/mecha-keypad.kl
Add "WAKE" to desired key down values:
key 114 VOLUME_DOWN WAKE
key 115 VOLUME_DOWN WAKE
Remove the "WAKE" to disable again.
Disable End Call Button
http://forum.xda-developers.com/showthread.php?t=1058072
(No Howto - prebuilt modification package)
Increase Max Alarms in HtcClock
http://forum.xda-developers.com/showthread.php?t=1052843
(No Howto - prebuilt modification package)
Install Ubuntu to Sdcard Ext Partition
http://forum.xda-developers.com/showthread.php?t=1104983
Install Ubuntu to Loop Device Image File:
http://code.google.com/p/android-cruft/wiki/LucidWithAndroid
(Loop device support for the common method is included in most kernels, but does not seem to support the process)
I am not asking anyone to write out explicit instructions on how to do each and every one of these modifications, but any help that can be offered is appreciated. Even if I can track down the original instructions for another phone, it will help those with the ability to do these things to help get them out there.
its a great idea, but some of them, the advanced power controls one for example -that one was a ***** to do lemme tell ya- require an in depth knowledge of how and why things work the way they do. many how-tos would just be passed right over.
I wrote a massive write up on how to work out the sensation resizing issues, and a few people did actually read it, though nobody actually did anything with it.
and smali is so difficult to begin with...geesh
great idea though, and if you want to write a how to of your own for some of them, i would be more than happy to get you started and answer what questions you run into.
r2DoesInc said:
its a great idea, but some of them, the advanced power controls one for example -that one was a ***** to do lemme tell ya- require an in depth knowledge of how and why things work the way they do. many how-tos would just be passed right over.
I wrote a massive write up on how to work out the sensation resizing issues, and a few people did actually read it, though nobody actually did anything with it.
and smali is so difficult to begin with...geesh
great idea though, and if you want to write a how to of your own for some of them, i would be more than happy to get you started and answer what questions you run into.
Click to expand...
Click to collapse
I know a lot will pass them over, and honestly it is like i explained to the gf today. Everyone who started with Android had a G1, some of us moved to myTouch, some of us moved to Droid, some of us moved to Thunderbolt. With each move, we brought our mods, but in the process left behind how we did them and just DID them. When I wrote kernels, I used a script on AndroidWiki that is now a 404 error. Instead I ended up with some preconfigured gui and a bunch of premade update.zip files.
It isnt really about whether anyone reads it in my opinion, its knowing the information is there for that one person that does. I appreciate the offer. The main thing is anymore if you want a mod, you have to take the theme, additions, removals, ect of the modder.
Sent from my DROID2 using Tapatalk
I have to agree. It's been a while since I have posted anywhere regarding Android, but the whole purpose of this forum (any android forum) as far as I am concerned is for developers to share not just the finished product (and the betas, alphas, pre-alphas, etc) but also the details of how they did what they did.
Sent from my ADR6400L using Tapatalk
Thanks
I was actually looking for some of these MODS
I like to stay stock rooted, but their are some MODS that are too tempting to pass up.
I would love to have a how-to for the power controls.
I'm gonna try to pull it apart, it's the last one I haven't done by hand.
I didn't make any sort of docs about what I did though, just diffing stock from the provided package.
But that one is big.
Anyway, good list to have in any case.
D
Very handy. I would also love to learn how to create a 5 row icon app drawer. Thats the only thing im missing in my current rom im using. Any tutorials, then I could do it myself?
dukins said:
Very handy. I would also love to learn how to create a 5 row icon app drawer. Thats the only thing im missing in my current rom im using. Any tutorials, then I could do it myself?
Click to expand...
Click to collapse
That is done with a layout modification in the home app. That is from way back in G1 days and I know there is documentation somewhere. I'll look for it.
What I am trying to accomplish is something like http://forum.xda-developers.com/showpost.php?p=13969789&postcount=585 without having to dig for parts. Often it is harder to find working parts than to simply modify the ones that are already running.
Sent from my ADR6400L using Tapatalk
I for one would love to learn how to create themes and eventually my own roms. I found a theming guide in these forums that had a lot of information in it, but felt it was missing a lot of whys's for example when you can just modify a PNG to produce a particular look and when do you have to edit XML files. Be nice if some documented maybe there creation of a rom/theme and explaned everything along the way. Then someone could build the same rom/theme and learn by doing. I know when I got my active directory Certifications I learned at home on my own and used some training videos. I built the network right along with the training videos in Vmware. Best way to learn in my opinion is by doing.
Sent from my ADR6400L using XDA Premium App
twistedumbrella said:
That is done with a layout modification in the home app. That is from way back in G1 days and I know there is documentation somewhere. I'll look for it.
I will be releasing a Jane Bamf Ginger ROM later that is semi stock. It has extended power options, bamf toolkit, removed gps icon, 3.0 weather, 6 bar, Google talk with video, but stock theme, animations, sounds, and the weather will be optional.
Sent from my ADR6400L using Tapatalk
Click to expand...
Click to collapse
Can we remove the Gps icon? So at I've only seen it being hidden. Thanks.
Is there any instructions, or is anyone willing to send me instructions, on how to do the 6 bar modifications myself? Also trying to find the information for the accurate/smooth battery indicator but coming up empty handed.
thanks for posting twisted
Thank you for the thread!
I would really love a write up of manual removal of 5 row app drawer back to 4. That is the main reason I'm not trying any themed stuff right now because everyone has it and I'm not a fan. It must be similar to the lead that was said about adding 5 rows a few posts back...
Sent from my ADR6400L using XDA App
I agree completely. JCase had promised us in the Fascinate forum a step by step on how to mod an .apk (specifically, a Car Dock one that Adrynalyne had made) to customize it. Then, alas, our beloved Thunderbolt came out, and he became preoccupied...
The HOW is deff needed for those up and coming devs and those that just like to tinker.
New kernel making guide added
Testing and finishing a guide on ubuntu for android without loop support
Working on some other guides
Sent from my DROID2 using Tapatalk

Potential Call Delay Fix in Gingerbread

I thought I'd start my own post, since some incorrect information has been going around. The libaudio.so file that has been linked to is only to fix the wonk on the Nexus One and has nothing to do with the Gingerbread call delay. It is hardware specific, and may cause issues in other phones. If you don't have a Nexus One, you probably shouldn't install this file. It is already in the CM nightlies, and will be in 7.0.4 when it is released.
I have submitted a patch to gerrit that reduces the call delay in my testing. I've posted a test build in the Nexus One nightlies thread, and fitsnugly has cherry-picked it for his Nexus One and G2x builds. Several others have said that it is working for them.
The patch is here:
http://review.cyanogenmod.com/#change,5420
Thanks for your patch! This is great work.
My change has been merged into Cyanogenmod.
thanks for your brilliant findings!
Thanks jyxent for working on this! This has been the most annoying bug (to me) that I've had to deal with.
I am correct, in my understanding of the comments at review.cyanogenmod.com, that what you did essentially restored the code to how it was in Froyo? Just curious.
Not exactly. Google changed PhoneUtils to use CallManager to set the audio mode, instead of setting it to MODE_IN_CALL directly. There is some delay before a call becomes active once it is answered. CallManager checks this state when setting the audio mode, and was not setting MODE_IN_CALL, since it thought the call was still ringing. I just added a check to make sure that MODE_IN_CALL is set if a call was just answered and the call is still considered ringing.
This makes the behavior similar to froyo, but it wasn't just restoring the original code.
I think it works when answering from the handset but not when you answer using the earphone..is this possible????
got a problem today using this patch
phone was ringing: went to answer and slided...
in the meantime an SMS arrived (when I was sliding to answer)
result: the phone call hanged & audio output was set to loudspeaker + phone app freezed (black screen)
the other party could not hear me
hmm sorry for posting a dumbass question but
I need to download the callmanager.java right?
How should I install it, can I just replace the existing file using e.g. Super Manager (maybe making a copy beforehand)?
And if so, where is this file stored? I did a search on my phone but no results
thx
B
berre said:
hmm sorry for posting a dumbass question but
I need to download the callmanager.java right?
How should I install it, can I just replace the existing file using e.g. Super Manager (maybe making a copy beforehand)?
And if so, where is this file stored? I did a search on my phone but no results
thx
B
Click to expand...
Click to collapse
It isn't possible to just replace a file to get this fix. The ROM has to be compiled with the added patch.
This patch is included in the CyanogenMod nightly builds, as well as the 7.1 release candidate. As for other ROMs, it might be best to just ask in their respective threads.

Aurora Performance Tips/Tricks/Tweaks

In this thread we should share our own little tweaks to this amazing ROM.
I'll add to this first post any stuff that is proven to increase speed or makes using the ROM easier or more enjoyable
Note, this isn't intended to include mods and addons, as there is already a great thread for that
IMPORTANT:
Always backup stuff! And reboot after teaking!
Please note that, the ones I've found more useful, I add a USEFUL tag in front of them
____________________________________
BUILD.PROP tweaks
With root explorer or any other method of your liking, go to /system/ and edit the file build.prop.
- To increase max fps limit possible, add:
Code:
windowsmgr.max_events_per_sec=150
I'm not sure this one is really useful, I think android already sets this already to around 1.5x screen refresh rate. The gains could be negligible.
- Disable error checking, add:
Code:
ro.kernel.android.checkjni=0
- USEFUL Stop debugging icon from appearing in status bar (doesn't disable adb), add:
Code:
persist.adb.notify=0
- USEFUL Force home launcher into memory, add:
Code:
ro.HOME_APP_ADJ=1
_______________________________________________
OTHER TWEAKS AND TRICKS
- VERY, Extremely, Mega-USEFUL - Go to:
Code:
/system/lib/elg
Open egl.cfg and delete the 1st line (0 0 android), reboot the phone.
Everything should be much smoother, I notice this especially opening folders with a lot of icons in Apex Launcher. I think this disables the default android software rendering method and uses only GPU. Don't ask me if this is different than setting composition mode to gpu in build.prop, I don't know, I just know everything is much faster
USEFUL - Only works with Aurora 2.07+ and synaptics screen - Tweak your screen duplicate filter, like in x5settings for .32 kernels.
Go to:
sys/module/synaptics_i2c_rmi_1564/parameters/sensitivity
Open the file "sensitivity" and tweak the value. Default is 4. Higher values reduce screen flickering/jitter but screen can become less sensitive, lower values, the contrary. Personally I use 8, works very good for my fingers, adjust you value accordingly. Note, this takes effect immediately, but doesn't stick after a reboot. To make it stick after a reboot, go to "/system/etc/", open one of the scripts, I recommend "ini.qcom.post_boot.sh", and add this at the end:
Code:
echo 8 > sys/module/synaptics_i2c_rmi_1564/parameters/sensitivity
where 8 is the value you want. Save, reboot and check is the value is there, in the "sensitivity" file.
- USEFUL - Great tips on how to save battery without turning everything off (bonus, doesn't use BS calibration myth):
http://www.androidcentral.com/keeping-your-charge-how-improve-battery-life-your-android-phone
Works AMAZINGLY thank you
Edit1: Also may i ask what CPU settings do you use? any overclocks/governor?
Edit2: I got that funny text glitch just before, i decided to wipe cache and dalvik and i haven't had it again yet. Ill get a screen shot if it happens again but im pretty sure you know what i mean, all the text for apps look like squiggly lines/really odd ive seen this happen normally in previous versions of aurora but oh well ill come back with more info if anything else happens thanks again!
thank you mate. Two quick questions. If i disable kernel debugging will this affect logcat? And what cpu composition does?
Cheers
Sent from my U8800 using xda premium
spirosbond said:
thank you mate. Two quick questions. If i disable kernel debugging will this affect logcat? And what cpu composition does?
Cheers
Sent from my U8800 using xda premium
Click to expand...
Click to collapse
Regarding the logcat, yes, probably disables that functionality, I've read in other sites, it just disables checking for errors, thus performance improvements. When I have time, I'll check if logcat is still there... the composition thing I think it tells the OS to always use GPU no matter what, I see a great improvement with that one, don't know if anything is affected, but so far, everything is great
EDIT: these tweaks were from here:
http://forum.xda-developers.com/showthread.php?t=1578065
Sent from my U8800
Here are some more:
http://www.freeyourandroid.com/guide/build-prop-modifications
If you try some, please post results, to add to first post.
spirosbond said:
thank you mate. Two quick questions. If i disable kernel debugging will this affect logcat? And what cpu composition does?
Cheers
Sent from my U8800 using xda premium
Click to expand...
Click to collapse
Logcat still works
Added synaptics TS setting like there was in X5settings app (Touchscreen Filter).
fjsferreira said:
Added synaptics TS setting like there was in X5settings app (Touchscreen Filter).
Click to expand...
Click to collapse
hi there, i have changed it right now to value 10 and its the same, its trembling...
i have kernel v3 from Dzo 2.0.5 rom.
and have restart the phone too
r1c4rd0 said:
hi there, i have changed it right now to value 10 and its the same, its trembling...
i have kernel v3 from Dzo 2.0.5 rom.
and have restart the phone too
Click to expand...
Click to collapse
Yes, I think so, maybe it was just placebo... also, it doesn't stick after a reboot, the ROM would need init.d startup script support and a script to change the value everytime... try change it to 40 or something, and report, it it still trembles, I'll remove from the first post...
fjsferreira said:
Yes, I think so, maybe it was just placebo... also, it doesn't stick after a reboot, the ROM would need init.d startup script support and a script to change the value everytime... try change it to 40 or something, and report, it it still trembles, I'll remove from the first post...
Click to expand...
Click to collapse
will try it right now
edit: changed the value and no diference... then i restart and no diference too...
I think it doesn't work... I've changed it to 1 and notice no difference... I'll remove that thing from front post and post here if anyone wants to study it...
- Something to try, it seems not to work... - Improve synaptics screen sensitivity!
Do you miss x5Settings setting about touchscreen filter? I've been studying x5settings source code and found out what file needs to be changed to achieve the same result in Aurora. Go to:
- sys/module/synaptics_i2c_rmi_1564/parameters/
Edit the file "sensitivity" and set a value appropriate for you. I've set it to 8 and touchscreen seems better now. Maximum value I think is 64, and that works great too. I think this isn't placebo Pinch to zoom in pics doesn't "tremble" when holding the fingers on the screen as it did before, here.
EDIT: it doesn't stick after a reboot! And values change by itself, don't know why, maybe it doesn't even work... Try it for your self
fjsferreira said:
- Something to try, it seems not to work... - Improve synaptics screen sensitivity!
Do you miss x5Settings setting about touchscreen filter? I've been studying x5settings source code and found out what file needs to be changed to achieve the same result in Aurora. Go to:
- sys/module/synaptics_i2c_rmi_1564/parameters/
Edit the file "sensitivity" and set a value appropriate for you. I've set it to 8 and touchscreen seems better now. Maximum value I think is 64, and that works great too. I think this isn't placebo Pinch to zoom in pics doesn't "tremble" when holding the fingers on the screen as it did before, here.
EDIT: it doesn't stick after a reboot! And values change by itself, don't know why, maybe it doesn't even work... Try it for your self
Click to expand...
Click to collapse
hey fjsferreira if you want stick after a reboot, you must to paste this command "echo 8 > /sys/module/synaptics_i2c_rmi_1564/parameters/sensitivity" (without the quotes) into 1 of the files in /etc/init.d
number 8 is choise by us... but make 8 for this example
r1c4rd0 said:
hey fjsferreira if you want stick after a reboot, you must to paste this command "echo 8 > /sys/module/synaptics_i2c_rmi_1564/parameters/sensitivity" (without the quotes) into 1 of the files in /etc/init.d
number 8 is choise by us... but make 8 for this example
Click to expand...
Click to collapse
The problem is, there isn't an /etc/init.d :S maybe it can be added to one of the scripts in /etc/
fjsferreira said:
The problem is, there isn't an /etc/init.d :S maybe it can be added to one of the scripts in /etc/
Click to expand...
Click to collapse
yes it can...
r1c4rd0 said:
yes it can...
Click to expand...
Click to collapse
Yes, it did, thank you... now I'm waiting to see if dzo responds in Aurora thread confirming this is working. I have a sense it works somehow, damn placebo is powerful!
fjsferreira said:
Yes, it did, thank you... now I'm waiting to see if dzo responds in Aurora thread confirming this is working. I have a sense it works somehow, damn placebo is powerful!
Click to expand...
Click to collapse
yes it works, but i think its related to his new v3.0 kernel...
in .35 kernel, if i´m not worng, we can change that value.
i think placebo dont work with me lol
fjsferreira said:
Yes, it did, thank you... now I'm waiting to see if dzo responds in Aurora thread confirming this is working. I have a sense it works somehow, damn placebo is powerful!
Click to expand...
Click to collapse
I tried 8 and 10 but the flickering didn't reduce. Thanks for the tip though. I hope you get it working...
Question:
What is the difference between the mod:" get rid of cpu composition" and setting the line
debug.composition.type=gpu
at build.prop?
By making the above change doolde jump graphics where improved
Cheers
You have ro.HOME_APP_ADJ=0 to force the launcher into the memory, but wouldn't the right value be 1?
FlashTH said:
You have ro.HOME_APP_ADJ=0 to force the launcher into the memory, but wouldn't the right value be 1?
Click to expand...
Click to collapse
Correct. I've fixed it, thank you!
Sent from my U8800
i dont know if you notice, but wen the phone is charging touchscreen feels more jumpy...
can anyone confirm this?
maybe this will interest dzo in the ics port? in this site there are the amtel and synaptics drivers:
port ics input drivers
drivers from HTC Legend touch the same as desire:
drivers synaptics from htc
thanks

AOKP - Requests for development (Th3Bill's rom)

Well guys we have a pretty good chance to include everything (...what is possible) we ever wanted on our Atrix...
in an other thread th3bill (the dev. behind AOKP milestone 6 port) opened there were alot of request for features on the next builds, th3bill offered to open a discusion which include all requests in one place.
** Th3bill, we love your work and your willing to do for others. your private time "wasted" on porting and developing is not ovious and we do appriciate it. keep on the excellent work and again a major thank, us - the users.
since nobody did it so far i'll start:
i whould like the next build to include:
1. call recording option.
2. video call option.
3. webtop interface?
4. google music.
5. led color control in order to customize notifications.
6. o.c kernel.
7. some other cpu governors.
8. google's android jellybean featuers? espacially build-in voice recognition.
things to fix (what i've noticed):
1. video cam - known problem.
2. browser issus (fc when changing ls and portrait).
3. edit custom brightness levels (fc).
4. can't change signal and wifi colors.
5. also battery bar won't show up.
6. wifi direct won't work.
7. wifi hot spot works and immidiatly stops(maybe it's just my device).
-By now your port is the best rom my atrix had so...big thanks !!!
-I know you working too hard already (DON'T FORGET TO HAVE FUN !!, i wrote all of the things i think can be added. with or without them it is still almost perfect.
guys it is your turn now...make some suggestions for improvement:
Hey Everyone!
I'm sure most of you know me by now. Those of you who do not, I am NOT the type of rom porter who gets upset by questions/requests/PMs. Just understand that I build 3 builds of MIUI (Photon, Atrix, Infuse), 2 builds of AOKP (Photon, Atrix), 2 builds of Paranoid Android (Photon, Atrix), as well as help Jokersax11 with various projects, including our Kitchen Sink. That being said, it might take me a little bit to respond...but I will.
---------- Post added at 10:02 PM ---------- Previous post was at 09:53 PM ----------
toomaiv said:
Well guys we have a pretty good chance to include everything (...what is possible) we ever wanted on our Atrix...
in an other thread th3bill (the dev. behind AOKP milestone 6 port) opened there were alot of request for features on the next builds, th3bill offered to open a discusion which include all requests in one place.
** Th3bill, we love your work and your willing to do for others. your private time "wasted" on porting and developing is not ovious and we do appriciate it. keep on the excellent work and again a major thank, us - the users.
since nobody did it so far i'll start:
i whould like the next build to include:
1. call recording option.
2. video call option.
3. webtop interface?
4. google music.
5. led color control in order to customize notifications.
6. o.c kernel.
7. some other cpu governors.
8. google's android jellybean featuers? espacially build-in voice recognition.
things to fix (what i've noticed):
1. video cam - known problem.
2. browser issus (fc when changing ls and portrait).
3. edit custom brightness levels (fc).
4. can't change signal and wifi colors.
5. also battery bar won't show up.
6. wifi direct won't work.
7. wifi hot spot works and immidiatly stops(maybe it's just my device).
-By now your port is the best rom my atrix had so...big thanks !!!
-I know you working too hard already (DON'T FORGET TO HAVE FUN !!, i wrote all of the things i think can be added. with or without them it is still almost perfect.
guys it is your turn now...make some suggestions for improvement:
Click to expand...
Click to collapse
Enhancements:
1) Call recording, I need to play around with this rom some more...see if it has the capability...maybe I can pull from MIUI...can't guarantee, though
2) That will be tough until Moto gives libs
3) Loki and I have talked at length about this...we're trying to figure out a way to do it, but it will take a hybrid kernel and a lot of work. Not that we won't TRY...
4) This will be in the next release
5) Have an app in mind that I can include? Beauty Aroma is that I can include almost anything
6) I am working with Jokersax11 on making some that are compatible with our base. I know that some are kinda compatible, but not all....
7) By governors, I am assuming you're talking about some form of setcpu?
8) I have the apps on my PC...well some of them.
With respect to fixes, 1 and 2...those won't be till Moto plays nice with me and gives me drivers for ICS.
3) I need a logcat on this one please
4 and 5) Not too sure about these ones. I'll try them with my phone if I get a chance. If you can logcat, that'd be great
6) I think this is an ICS thing. Don't know that any of them do Ad-hoc at the moment
7) You need to forget whatever network you are near if you're connected...and make sure that wifi is ON before beginning tether
Sorry if I am a downer on some of it, but I would rather be honest with everything I tell you all. I have much love for the Android Community
I know of you and your builds well Th3Bill, unfortunately I'm just now working on my 10 posts, I have flashed everything for Atrix and Photon.
Much thanks
My Phone
log file
3) I need a logcat on this one please
4 and 5) Not too sure about these ones. I'll try them with my phone if I get a chance. If you can logcat, that'd be great
7) You need to forget whatever network you are near if you're connected...and make sure that wifi is ON before beginning tether
Sorry if I am a downer on some of it, but I would rather be honest with everything I tell you all. I have much love for the Android Community [/QUOTE]
Hi,
3+4+5) attached .txt file. (tried to make it shorter as possible.cleared log then did 3 then 4 then 5 and saved it)
7) you are right - worked.
tomer
really???
hey guys / girls,
there is not a single thing you would like to see on the next builds??
***DOESN'T MAKE ANY SENSE***
SO COME ON AND MAKE A WISH!!!
p.s
i defenetly would like a mod (or better - a buildin solution) that will trick the google play to show me all apps. (not the ones comptible with my specific device/settings).
tomer
toomaiv said:
hey guys / girls,
there is not a single thing you would like to see on the next builds??
***DOESN'T MAKE ANY SENSE***
SO COME ON AND MAKE A WISH!!!
p.s
i defenetly would like a mod (or better - a buildin solution) that will trick the google play to show me all apps. (not the ones comptible with my specific device/settings).
tomer
Click to expand...
Click to collapse
You can try changing the build I'd in the build.prop...but I'm not sure if that would work even...
Sent from my MB855 using xda premium
Just installed latest build an wanted to say thanks for bill's an jokers hard work..
I personally use the car dock alot an the transitions between audio playing and incoming call tends to be troublesome. When calls answered the phone doesn't port it over the USB. Usually speaker/headset and have to redock in call for it to work... also DSP manager doesn't have effect over the USB audio out. Only reason I revert to original moto rom.
That aside best cm9 based rom yet.
Sent from my MB860 using xda app-developers app
Also AOKP states it now supports adhoc.... tried on 2 different setups and no joy...
This is wifi direct I gather..
LS support also varies through various android tasks.
Sent from my MB860 using xda app-developers app
On paranoid android for the atrix when in tablet mode it won't allow me to make the recent apps the Sense htc style one, is there a fix for this?
Question/Report
Not sure if this is the right place to report issues. My luck, probably not. Here it goes..
I had your build 40. worked great!
updated to milestone 6 7b. worked better (yaay)
tried to update to milestone 6 revision. No wipe, same as previous, sent atrix into bootloop. tried few more times, same thing.
tried again with full wipe. Bootloop. tried again. bootloop. flashed 7b full wipe, works great again (yaay).
Just curious if you have any idea why my phone doesn't like the new one. saw in the rom thread a few others had same issue or similar, no answers there as of yet. i'm hesitant it try again unless you can think of something i could possibly be doing wrong somehow. Anything i can send or tell you that could help, let me know. Thanks
As for requests, i prefer Apex launcher over Nova. Maybe include it? it would be nice if i could uninstall Nova also
You Rock!
*So i tried installing again and it works now. not sure what the problem was*
Closer
hi,
not really worked...users didn't cooporate and besides cm 10 (JB) is already here and not bad, so this is closed!!
i wanna thank Th3Bill for his effort and wish you will continue develop for us.
tomer
CAN CLOSE THREAD
Hello
Hello One asks what is the kernel that I have to install
Call Recording and if possible hardware acceleration
paarkhi said:
Call Recording and if possible hardware acceleration
Click to expand...
Click to collapse
Hwa is in the ROM under advanced.
Call recording isn't yet supported by kernel. Funny you posted this as joker and I are discussing how to fix now
Sent from my MB855 using xda premium
Problems
I'm not sure if this is the right place to ask this. If not, i apologize.
I flashed your AOKP build 3 on my international atrix. The ROM doesn't recognize internal and external storage for me. When my phone boots it says that is safe to remove sd card. I used the two options EMMC and SD with or without build.prop tweaks. Also i flash this with FULL wipe (system, etc) The other thing that i cannot find are GApps. Can I use CM10 GApps for this rom ?
Thanks in advance.
So, are there options for an OCed kernel yet?
* Moved to development thread. *
I would really love to see an option to "Show only contacts with phone numbers" on Contact list settings...MIUI has this option and this is super usefull for me
MIUI SMS app is great too, but it doesn´t show smileys
Thanks
I have a good one! WebOS and Sense style multitasking (with long press home).
Sent from my MB860 using xda app-developers app
Facebook Sync
If this has been answered then i missed it and i searched first .
Is there a fix for the facebook sync
__________________________________________________________
MB860 running 4.1.2

Categories

Resources