yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] Setherio:
PDroid Patches (109)

PDroid Patches - I tried patching 111 but didn't work, I'm guessing because it's Android 4.1.2, I got the following error:

Reversed (or previously applied) patch detected! Skipping patch.
13 out of 13 hunks ignored -- saving rejects to file smali/android/app/BackStackRecord.smali.rej
1 out of 1 hunk FAILED -- saving rejects to file 'smali/android/app/ContextImpl$20.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
5 out of 5 hunks ignored -- saving rejects to file smali/android/content/ContentResolver.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file smali/android/content/pm/ContainerEncryptionParams.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/android/location/Location.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file smali/android/widget/AppSecurityPermissions.smali.rej
... apply preloaded.patch ...
!!! PATCHING FAILED FOR android/app/ContextImpl$20.smali' !!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! error: failed android/app/ContextImpl$20.smali' in framework.jar cannot be remedied
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

However, here is a PDroid Patch for those whom want to use it on 109 (which I have been using).

PDroid-flinnycm10_vision_109-update.zip

PDroid-flinnycm10_vision_109-restore.zip

If you are unfamiliar with PDroid, you can read about it on the Android Market here: PDroid Privacy Protection (Or download the apk to install - https://www.dropbox.com/s/mk7gux7m2rhbe01/PDroid_release.apk

Flash the update after flashing the rom and gapps. And don't forget to install the PDroid app from the market!

The restore file is if, for some reason, you end up in a bootloop or the patch doesn't work, it will revert the files modified.

I'll try and post a PDroid patch for 111 when I can.
[G2 and Desire Z Android Development] Flinny:
Sip itself or your methods of keeping the phone awake?
[G2 and Desire Z Android Development] mikevaldivieso:
Hey flinny, this is my first post to you, I've actually been trending your roms for a while now, i just installed 109 a few days ago, and for the most part it's been fantastic! But here are some of my issues:

#1..my biggest issue is the music not being recognized by any music player. I prefer to listen to the music on my sdcard over anything else, and have been stuck listening to pandora since I've installed 109. Pandora isnt bad, but sometimes you just wanna listen to a whole CD (Babel- Mumford&Sons!) instead of random music, either way, Root Explorer shows the music IS in fact on my SD card, but Google Music AND Apollo do NOT recognize me having ANY music on my phone. This MUST be fixed. I know its one of my priorities and might actually cause me to switch up ROMs if this isnt fixed soon.

#2 Wifi calling is not working,

#3 Phone app tends to be glitchy at times.

#4 What happened to the widget selection for the long-press on the home screen?

Other than that, this truly is a wonderful ROM, my favorite to date, and I've probably tried damn near 40 by now. Thank-you!
[G2 and Desire Z Android Development] shared_ptr:
Dude, this is not a stable ROM, you are wrong here. You are looking for Andromadus Mimicry, that’s the stable release :)

Read the OP carefully next time, make sure you understand everything. Maybe you will find out why everybody is ignoring you ;)

Also next time, don't forget to use the search function. You will be surprised how it works!
[G2 and Desire Z Android Development] Flinny:
1) look back a bit it's probably something on your SD card that mediascanner doesn't like or some .nomedia files in the wrong place.

2) Not really a prioity for me, if somebody wants to make it work again then go for it. It was never packages with plain andromadus either.

3) Not seen any glitches, the phone app itself is stock CM10 with no additional changes.

4) has not been implemented by CM in version 10 yet/if it ever will.
[G2 and Desire Z Android Development] davidrol:
SIP/Voip feedback

I don't quite get it. When I make a SIP call, there's no audio until I select the loudspeaker, then the audio is routed to the loudspeaker just fine. Upon selecting the earpiece, the audio is routed to the earpiece just fine. SIP works as expected, only not at first. I must toggle loudspeaker-earpiece to get audio to work.

I can give you an external IP to connect to my asterisk server whenever you want.
[G2 and Desire Z Android Development] mikevaldivieso:
i thought this was the place to list your issues so they can get fixed, hence the beta release? beta meaning people not involved in the development testing for glitches and errors and reporting them to the developer..if I am wrong on this issue, I do apologize and can you point me in the right direction?
[G2 and Desire Z Android Development] sp1980:
For me SIP works like in build 109. Didn't do full wipe.
[G2 and Desire Z Android Development] nevyntanis:
This isn't a beta release as far as I know, maybe I am a bit dyslexic, confusing test build with beta, dunno, regardless, listing problems isn't the problem here, its the arrogance of your post. Try present it better, you will get more help that way, and oh pls don't piss Flinny off cause I like using these builds and I don't want him stop producing them.

SIP working for me too after full wipe...
[G2 and Desire Z Android Development] natabbotts:
A few handy hints to get a better response and not come across as a superior, ungrateful so-and-so :) :-

1) Report only the problem, and what you've done to fix it

Eg. "music isn't being found for me by the following players: Apollo..."

Search the forum for possible causes. In the case of your first problem, you'll find one, and the solutions.

'Wifi calling not working' is equally unhelpful ' - state what you've tried, and include a locat or other suitable debugging info.

For "phone app glitchy at times"; again specify when it isn't working, what exactly goes wrong, and any likely causes you can think of. For example, does it glitch when the phone changes between 2G and 3G? When you rotate the device? When on loudspeaker mode?

2) never threaten to 'leave the ROM'. The dev gets nothing from you using his ROM unless you donate, or encourage other people to use it who will donate. If you leave the ROM, he isn't expected to care. It just looks self-centered and demanding.

3) be polite. The dev is dedicating his time to fix your problems, for free. The least you can do is have some manners. Don't be impatient, and do exactly as the dev asks - he knows what he's doing far better than you or anyone else would.

Hope this helps you get a better and more helpful response in future.
[G2 and Desire Z Android Development] mikevaldivieso:
OK. Here's my update on what I did and what's still wrong, I went into my SD Card, found 37 .nomedia files, deleted them all, rebooted into recovery, wiped all caches, also used vision wipe efs to do a deep cache wipe, wiped data / factory reset, flashed 109 w/ Gapps and here's what's happening.

My gallery is now recognizing all media on my SD card, YET.. Apollo AND Google Play Music are still not recognizing any music files...mind you my music is in a folder: SD\Music\ I did wait an hour to let it recognize everything, and restarted a couple times, still nothing.

the .nomedia trick worked for my gallery yet not for my music programs..any other ideas or tips?

---------- Post added at 11:39 AM ---------- Previous post was at 11:33 AM ----------

my apologies, my military background has made my demeanor a bit more dry and upfront than most, I sincerely didn't mean to threaten or come across the way I did, I just tried to be as upfront and honest as possible to get the best answer possible. I will definitely keep this in mind from now on regarding my tone in future posts. I hope I didn't offend too many people, and regret my first impression didn't go down so well.
[G2 and Desire Z Android Development] natabbotts:
No worries, all is forgotten. As for your music issues, there's probably a corrupt file somewhere. Try adding music album by album until you find the problem.
[G2 and Desire Z Android Development] shared_ptr:
Please read the post above me then this and this.

If you find the file causing issues post it here. Maybe somebody can fix the media scanner.

Also… you should not erase ALL the .nomedia files on your SD card. Most of them are needed and actually can cause problems with media scanner. You should only erase the .nomedia files in the root of your SD card (or the files in some of your media directories).

Good luck :)
[G2 and Desire Z Android Development] davidrol:
sip and 111

Thanks, I'll give another try.
[G2 and Desire Z Android Development] nevyntanis:
Its all good. Maybe try a different media player too, one the doesn't rely on playlists, I have 16gb of music, using mort player and my albums show almost instantly
[G2 and Desire Z Android Development] tomtom72:
Hi,

Had a long time with the issue of the media scanner. Here i used ttpod as music player and quickpic for photos. Started again to find the issue with the mediascanner. As first delete all the relevant .nomedia files. Copy all music and photos to tfhe pc. Cleared all caches from the music player and from the gallery and i think also the media scanner google service. Afterwards i copied one photo and one mp3 in the respective folder.

This worked for me, what i have found out was, i had 1 corrupt photo from camera360 and 1 corrupt mp3 in 600 files.

Maybe this can help. This is more a general jb issue, not rom related, i think.
[G2 and Desire Z Android Development] mikevaldivieso:
Using Google Play Music Manager, I've been able to re-download all my music from my computer to Google's cloud based server and then to my phone from this server, not a fix, but this will do for now until I can figure out where the corrupt file is? *scratches head*
[G2 and Desire Z Android Development] davidrol:
SIP-All is well!

Thanks sp1980. I finally succeeded after a redo. Something went wrong with the first upgrade? I wasn't able to copy/paste the userinit script in /etc/init.d as usual. So I ran the script from the SDcard using ROM Manager Lite and it works the same at boot.

Thanks flinny for the upgrade and prompt attention.:good:
[G2 and Desire Z Android Development] arpitnathany:
Coming from 101 after a full wipe i find that the rom is not as smooth as before, while it is faster, scrolling swiping etc is noticeably choppy and jittery even in browser such as opera mini scrolling is jittery. anybody else notice this.
[G2 and Desire Z Android Development] Flinny:
Strange I find it smoother. I did remove maps though as the last update seemed to be murdering me phone
[G2 and Desire Z Android Development] Flinny:
On another note does anyone with an otg cable have one that provides it's own power? I'm thinking that is probably the problem....
[G2 and Desire Z Android Development] shared_ptr:
I think a powered USB hub should also work...
[G2 and Desire Z Android Development] Indiwiz:
ahh, just noticed we have 4.1.2 (:

what are the differences besides Nexus 7 getting rotating launcher?
[G2 and Desire Z Android Development] Flinny:
Maybe don't have one here thought so it'll have to wait for a bit :>

Have been investigating the initial volume bug.... first 10 reboots I had to change the volume before getting any output either from BT,Headset or speaker... now all of a sudden and I've done nothing but reboot over and over it's working and I can't get it not to work again, I've changed nothing though so it's all very strange and makes figuring out the cause harder. Anyone got a fool proof way of making it not work?:)
[G2 and Desire Z Android Development] niphoet:
I've done my best to keep up with the thread, but I have problem and I'm not sure if it is a known issue or just my phone. My speaker phone does not work at all. I can't hear the other person and they can't hear me. Is this common or just my phone?

Thanks for the ROM!
[G2 and Desire Z Android Development] DRSdroid:
So i'm considering jumping to this ROM as my daily driver.. Can anyone tell me what the most common issues are currently with it? I use GPS often, bluetooth occasionally, and wifi constantly. I always rely on the ability to wirelessly tether to my phones data connection. Is all of that possible with the current build?
[G2 and Desire Z Android Development] nevyntanis:
I use this as my dd, use wifi tether all the time, works great, just the notification tether widget acts up every now and then, also use gps every day and this by far works better than most other ROMS. Try it, I don't think you will be disappointed, just bear in mind its still a test build.
[G2 and Desire Z Android Development] whistlerGreg:
It's relatively stable, but be prepared to cop some / a lot of lag with heavy use. Maps for me seems to bring the phone to a crawl, I don't think the old g2 really has enough ram to run JB well.
[G2 and Desire Z Android Development] dragon-son:
Maps works relatively smoothly for me. I think the G2 has sufficient memory to run JB with no major issues. I mean most times I'm only using about half the memory. Sometimes I have in excess of 210Mb free if I kill all my apps.

Well just re-flashed 111 build and there was no sound initially. I didn't even notice really until I heard the sounds when turned off USB storage after uploading the pic and it automagically started working. Adding code of logcat just before uploading pic and through turning off USB storage. Maybe it might help with the audio issue. Attaching full log cat as well if you wanted to take a look at it

[ 10-12 09:59:17.414 296: 331 E/CM PowerHAL ]

Error opening /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate: No such file or directory

[ 10-12 09:59:17.604 121: 290 E/AudioHardwareMSM7X30 ]

updateDeviceInfo: E rx_device 6 and tx_device 11

[ 10-12 09:59:17.614 121: 290 E/AudioHardwareMSM7X30 ]

updateDeviceInfo: X cur_rx 6 cur_tx 11

[ 10-12 09:59:17.624 126: 126 E/HtcEbdLog ]

[write_kernel_log] Need Rotate Log! g_outByteCount = 1048580

[ 10-12 09:59:21.518 121: 290 E/AudioHardwareMSM7X30 ]

updateDeviceInfo: E rx_device 6 and tx_device 11

[ 10-12 09:59:21.518 121: 290 E/AudioHardwareMSM7X30 ]

updateDeviceInfo: X cur_rx 6 cur_tx 11

[ 10-12 09:59:22.219 10421:10421 W/Sidekick_GmmLocationProviderImpl ]

Unable to bind to GMM NLP

[ 10-12 10:01:51.865 296: 312 E/CM PowerHAL ]

Error opening /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate: No such file or directory

[ 10-12 10:01:51.905 408: 408 W/PowerUI ]

unknown intent: Intent { act=android.intent.action.ACTION_POWER_CONNECTED flg=0x8000010 }

[ 10-12 10:02:51.924 296: 323 E/CM PowerHAL ]

Error opening /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate: No such file or directory
[G2 and Desire Z Android Development] whistlerGreg:
Hmm, I wonder what I'm doing wrong then, full wipes, clean installs, installing apps from market rather than titanium, it generally works fine until i flick between a few things then it becomes so slow that sometimes it's worth pulling the battery rather than waiting for the power button to respond. The common denominator that really seems to bring in the lag (for me) is maps. Anyhow, even with that I can't go back to CM7.
[G2 and Desire Z Android Development] Zelych:
In build 111 I have the following problems - not record video. After rebooting record goes, but after a bit of time using the phone anymore. First, the application stops responding and a later attempt had dropped immediately. Another problem I have with music. First take no playback issues worked with ordinary headphones when I joined after a few hours of original HTC headphones and player (Player for) while played, but no sound was heard. Again and helped restart.
[G2 and Desire Z Android Development] MontRayJak:
Amazing work Flinny!!

I'm actually in the same boat as you, Greg. Chrome is even worse, taking ~5 minutes to load this thread. Other than Chrome and Maps, once an application is loaded it runs great, so I'm assuming the lag has to do with swapping assets. After a reboot, using RAM Manager I usually have around 80MB free, but using the native app manager it shows 126MB free.

Maybe I'm missing something here?

Yesterday I had the latest stock G2, so I--

Downgraded

Temp Rooted

Perm Rooted

Installed Rom Manager

Installed Clockwork Recovery

Wiped data/Factory reset

Wiped cache partition

Installed latest Mimicry

Installed gapps ICS package

Played with it for a moment

Wiped data/Factory reset

Wiped cache partition

Installed this ROM

Installed gapps JB package

Connected my (4) Google Accounts and let the market restore the applications (cancelled most of them, though).

Did I miss a step?

I'm a fairly tech savvy person, but I'm out of the loop with custom roms. I was totally into CM and custom ROMs while I had the G1 but once I got the G2 I never had a need for it. Stock just felt so much cleaner, more reliable, and less maintenance. This ROM has completely changed my mind. Aside from the lag and occasional graphical glitch, I've had 0 issues. Music, audio, video, alarms, everything works great. Seriously, amazing work, I really appreciate it.
[G2 and Desire Z Android Development] demkantor:
chances are you need to format system/cache/data to ext4

there are super wipe zips that can do this for you, the best way is to do it via 4ext recovery. and you get the added benifit that its a far superior recovery than clock work, here's a tutorial how to do it

http://xdaforums.com/showthread.php?p=27796375

just read the first few posts
[G2 and Desire Z Android Development] MontRayJak:
Ah, okay. Great! Thanks, I'll give it a shot.
[G2 and Desire Z Android Development] MrWhsprs:
Build 111 seems to have fixed the disappearing widgets after reboot problem, for me.
[G2 and Desire Z Android Development] v1r0x:
hey flinny,

I don't want to offend you in any way. Just a thing I was wondering about.

In daily use this build seems smoother/more stable than the "old" ics beta builds. So I was wondering why there are still the test builds. So many little bugs? Or something missing in jb builds which worked in ics?

Just wondering ;)
[G2 and Desire Z Android Development] MontRayJak:
Finished formatting as EXT4 last night.

Wow, it's like night and day. There's still a little bit of lag when switching apps but overall it's tolerable and totally worth it. I've always been spoiled with the I/O speed of this phone, so it'll just take some adjusting-- or more tinkering :D.

Even Maps is usable again. Chrome... well, once it's loaded it's fine.

Battery life is great and I haven't found a bug yet... (aside from the known video bugs)

Thanks a million to both you and Flinny!
[G2 and Desire Z Android Development] agazza:
CameraZOOM FX works flawlessly, both camera and videorecorder.

Getting really good now :)
[G2 and Desire Z Android Development] stranded.eu:
Hi, thanks for doing this!

One question though, what's up twith the buttons (home, menu, back, search)? Why aren't they responsive at all? Is this fixable at all? Sometimes they work ok and sometimes they just won't register my touch, also the area of reaction seems to be a lot smaller, I need to hit the icons with my thumb EXACTLY for them to work.

Thanks in advance for the answer
[G2 and Desire Z Android Development] dragon-son:
I've been getting this in build 111 as well. Not as responsive as previous builds. I've re-flashed 3 times using the G2/DZ AIO wipe tool each time with dual wipe. All 3 times the buttons have seemed not quite as responsive and I have to press them exactly. Was fine in build 109 though. Not sure what type of log file, or where in logcat to look for errors for this.

Also when I flashed 111 build this morning, there was no sound again on initial install, but when I plugged in the charger on the computer the sound automagically started working. Logcat shows exact stuff as before for audio. Anything else I can provide to help, just let me know, and I will get it for you.
[G2 and Desire Z Android Development] stranded.eu:
Oh I didn't mean the 111 only, I meant any other build of this rom, I always have enormous lags on the buttons.
[G2 and Desire Z Android Development] trsanning:
Has anyone else run in to an issue where you default notification ring tone changes to unknown? It hasn't happened for the ring tone but gas for notification at least 6 times in the past 3 days on 111.
[G2 and Desire Z Android Development] stranded.eu:
Not on this rom but for me it always happened after something messed up the microSD card, scan it with something or put the ringtone in phone memory.
[G2 and Desire Z Android Development] Matze5800:
Yeah, happens for me as well, but not specially with 111, all earlier builds showed this behavior too.

Gesendet von meinem HTC Vision mit Tapatalk 2
[G2 and Desire Z Android Development] dragon-son:
It got me thinking if this might be a setting that I could change without having to know to much stuff.

*Was reading general section earlier and one of the posts for a ROM that's being developed referenced build.prop tweaks for better touch response.

*Did a general Google search for build.prop tweaks for better touch response and found a XDA post with universal tweaks for build.prop one of the settings was referenced as touch.pressure.scale

*Did another Google search for build.prop touch.presure.scale and found http://source.android.com/tech/input/touch-devices.html

From the examples it shows here, and what was posted in XDA thread, I added this to the build.prop file.

touch.pressure.calibration = amplitude

touch.pressure.scale = 0.001

Then rebooted. May just be placebo, but seems more responsive to me. I can run my fingers back and forth over the captivate buttons now and it constantly vibrates, where before it would only vibrate slightly. Again I could be way off as I'm not a DEV, I'm just trying to be helpful. As with any change you try to make to system files, always make a backup first!
[G2 and Desire Z Android Development] kian.bisadi:
Dear , Auto Rotate Not Work for me, and sensor in game not work :(
[G2 and Desire Z Android Development] Flinny:
Build 113

Kernel patched to 3.0.46

BFQ v5 I/O sheduler added

Lots of CM display patches

Synced with CM

Circular battery icon with/without a % is now an option

Lots of Display patches. Overlay is automatically turned off for video now so no need to turn HW overlay off manually anymore.

Fixes video playback and panoramic preview by default until we get some new props from qcom with them fixed properly I expect.

Once this audio bug is sorted I think I'm almost happy to release a beta :)

As for the touchscreen...

touch.pressure.calibration = amplitude

touch.pressure.scale = 0.01

is what the .idc for the touchpad currently.. it's possible chaning it to 0.001 makes it more responsive... Will give it a try myself
[G2 and Desire Z Android Development] thebogmonster:
Flashing now.

Will keep you informed.

Thanks for all your work Flinny as always.

Bog
[G2 and Desire Z Android Development] iplexus4:
Flinny, why camera can not into face effects\face detection, camcoder continious focus?