yashsingh1/xdaforums huggingface dataset:
[Droid Incredible Android Development] tiny4579:
So I was able to shrink the gapps even further to have 30 MB free on the system. I removed GoogleTTS and Google Now (can be installed from Play Store) and some tts files as they were for other languages as well as some libs related to apps that I've already removed. I think I can get it to the point I could throw the offline files back in. Let me know if GoogleTTS is a necessity as PicoTTS is already built in. Big thanks to IAmTheOneTheyCallNeo for his link of apps that can be cleaned out.
[Droid Incredible Android Development] -SmithTech-:
Battery Life?

How is the battery life on this ROM?

Currently getting 9 days on standby on the stock ROM, hoping to at least get close to that on an AOSP ROM.
[Droid Incredible Android Development] tydiamond11:
It would not bother me any not have googlett but I usaly only use the offline stuff
[Droid Incredible Android Development] tiny4579:
Yeah, PicoTTS should work. I just tested and with what I have now, with the offline files, hotword recognition and google now work fine. Though I can't really think of a scenario where I'd need offline files with searching. If I get approval from foreign language users I can remove the extra languages in the next build which should shrink the build enough to integrate the offline files in the next gapps packages but as it is now, it's quite easy to get enough free space as you only need to clear about 5 MB now.
[Droid Incredible Android Development] roflhorse:
I think removing languages makes the most sense here. This is a primarily English speaking community on xda, I don't see many getting left out by removing them.
[Droid Incredible Android Development] Neo:
A flashable can always be made for those who need the extra language support.
[Droid Incredible Android Development] tiny4579:
If I did this I'd keep some languages and not remove them all.
[Droid Incredible Android Development] mh0520:
I've been going the opposite direction... Removing pico and using Google tts. It's a little more pleasant sounding, in my opinion. I'm not sure if maybe pico has other benefits over Google tts though.
[Droid Incredible Android Development] kramer56:
My alarm didn't go off this morning. When I woke I looked at phone and it said clock not responding. It had notification on the Noti bar but i couldn't clear it. Clicked on clock about 5 times and got same error. Rebooted n now seems fine. Anyone else had this yet.
[Droid Incredible Android Development] Neo:
I think Miss Pico on the other end of the line is a robot... :silly:

Google tts sounds sounds like a legit individual :laugh: Especially when she says "Destonation"
[Droid Incredible Android Development] tiny4579:
Yeah, I tested both and it's a night and day difference. I agree about that. I'll make sure Google Stays. You can remove Pico if you want from system but well I might as well remove Pico from the builds unless someone else wants it. The funny thing is that with Pico you still need to install additional voice engines which require the play store. Seems pointless. I don't think anyone is going to have a play store less install.

FYI. Uploading build a bit later. Probably the neatest feature is the bluetooth tethering. I'd be great for tethering your tablet or non data smartphone. I'm keeping Google TTS as it's just better and trying with the removed languages.

@kramer56, not sure what's up with the alarm. Can you save a logcat next time? Did you catch the details of the error? Not responding usually means there is a wait option and the app is caught in a loop or taking too long to perform a task.
[Droid Incredible Android Development] tiny4579:
New build uploaded. Much smaller gapps packages but some things to note with the changes. First, Google now has been pulled as it can be installed from the play store without issue (Search box doesn't show in trebuchet until it's installed but at least it's not a buggy one). GoogleTTS has been left in due to the better quality audio it provides. Pico's text engines were removed but can be installed from the play store onto your sd card if you want to use pico. This may be the most controversial but I stripped the extra languages from the ROM. The only languages present are English (US and UK), French, German, Spanish, and Italian. On a plus side the offline files can be installed without deleting anything with the new gapps and still have about 10MB to spare.

The extras from the previous build were pulled so there really isn't a point of announcing them. I recommend wiping system on this one to ensure that the old gapps don't get copied back or flash the new gapps prior to the build and they'll get backed up (not the offline files). If done right you should have about 10MB free after offline files are flashed.
[Droid Incredible Android Development] mh0520:
Any chance that flashing the new gapps before wiping system and flashing the new build will backup predictive text data?

Hoping not to have to start over with the keyboard every build. Thanks either way.
[Droid Incredible Android Development] kramer56:
Tiny I hit wait twice but it didn't do anything. I feel your correct when you say it looped into another app or something. Thought it was wierd I never had that happen on cm yet but always did it on miui.

So did you put that PIE thing in rom or is it not out yet. I been looking for it although I might not want it but just remember it mentioned awhile back and i did not find it anywhere on my phone. Maybe it isn't worth it?
[Droid Incredible Android Development] tydiamond11:
Would the offline voice files work on the infection jb? I was just Curious lol

Anything else anyone would say about it?
[Droid Incredible Android Development] kramer56:
can I ask what is meant by offline voice files and what they do, seems to be allot of talk about them.
[Droid Incredible Android Development] tydiamond11:
They let you speak when you do not have wifi or data service, Like say in a text or document. It is very cool to see it work with out you being online!
[Droid Incredible Android Development] Kaepernick:
Yeah, using the set on boot option. As you said, its a minor annoyance. I'm just glad its not just on my end. Thought maybe it was a CPU issue.

Flashed the newest build and gapps. Have 81mb of free system space. I might flash the offline voice files. I don't really use it much though.
[Droid Incredible Android Development] tiny4579:
Yes they should. They're not ROM specific.
[Droid Incredible Android Development] tiny4579:
Wiping system will have no effect on app data. I think you may have lost data due to my switch of keyboard app. Should not happen again I hope. If you flash gapps then wipe system wiping system will just wipe what you flashed. With my suggested method you should have extra space. Try backing up user dictionary before flashing as a failsafe.
[Droid Incredible Android Development] Kaepernick:
Offline voice dictation is pretty laggy. Is that normal for this phone? Seems kind of useless like this.
[Droid Incredible Android Development] tydiamond11:
I have not noticed it being slow just maybe the software you have on it maybe I do not know. Ever sense I did a compete wipe i have had the fastest thing lol
[Droid Incredible Android Development] musical_chairs:
Yep, offline voice dictation is much slower than online, always has been, This ain't no quad-core processor you know... I suppose the usefulness is debatable, most of us can probably type at least as fast.
[Droid Incredible Android Development] tiny4579:
I think it's kind of useless to begin with. I'm looking into Neo's tweaks. I doubt I'd use most of them but some like the animations could smooth things out but they do change the feel of the ROM a bit. I've never personally bought into the seeder thing for long. Definitely impressed with his build.
[Droid Incredible Android Development] mh0520:
Do the new gapps packages have the script to restore then after a flash? Also, does wiping system prevent this restore from happening either way?

Sorry if these are dumb questions. :(
[Droid Incredible Android Development] tiny4579:
App data is not in /system so there's nothing to backup. App data is in /data/data and unless you're wiping that you won't lose any ROM or app settings. I think it's the swapping keyboard as the name and signature would have changed leading to a loss in app data for the keyboard. Just nandroid and try.
[Droid Incredible Android Development] mh0520:
Thanks for the explanation.

I tried it out. I didn't backup user dictionary but I did backup the keyboard itself. No luck. My UART dictionary entries made it through fine, it just stops making typing suggestions after I flash a new build. Maybe is not worth tracking down but I'll keep trying to figure out how to restore this data.

What's weird is that to try it out earlier today I typed for a while to build up some predictions and then I backed up and wiped Android Keyboard. Predictions went away and I had to type again for a little while before it would start suggesting words again. So it seems related to android keyboard but when I wipe and subsequently restore the android keyboard data it doesn't bring back suggestions. It still takes a while before the predictions start working again. Seems odd. I'll post if I find a solution.

Thanks again.
[Droid Incredible Android Development] tiny4579:
No that line . build/envsetup.sh is correct. There's no need to change permissions on that file. . build/envsetup.sh is synonymous to source build/envsetup.sh. I think this is why you're havin problems.

What do you get when you run:

. build/envsetup.sh by itself. You should be able to run the brunch command next.

Thanks for the heads up. I didn't catch that inconsistency earlier. The build instructions were updated to specify the same location but you can modify it as needed to fit your environment or desired location.
[Droid Incredible Android Development] kramer56:
full wipe on this build meaning factory reset or just cache/dalvik

I wiped cahe/dalvik and changed order of the things to be flashed and put gapps first, we see what happens
[Droid Incredible Android Development] tiny4579:
I didn't say to full wipe for this one. I said a format system but what your have should be fine. Full error means factory reset.
[Droid Incredible Android Development] tODDaLLeN:
DOH!!! I feel so stupid not to have tried it as written. I was unfamiliar with the "." syntax for source'ing a script and assumed there had to be a typo. Now that the script affects the current shell the brunch command works too.

Anyway, it works! And works. And works. I've gotten a fair number of messages and warnings, etc. but the build is churning along.
[Droid Incredible Android Development] plexiglas81:
For /system space savings, I have been removing the res\drawable-sw600dp-nodpi and res\drawable-sw720dp-nodpi folders from Trebuchet as the wallpapers in res\drawable-nodpi are the only ones in the 960x800 format. Saves about 10MB. How does a launcher choose which bank of wallpapers to use?
[Droid Incredible Android Development] tiny4579:
The whole reason I pulled all this stuff out is that there's really no need to delete stuff. As long as you have space left you're good. It's based on the DPI. This is an HDPI device BTW.
[Droid Incredible Android Development] GnatGoSplat:
Why would you need to save space on /system? I didn't think anything writes to it other than the original flash.
[Droid Incredible Android Development] tODDaLLeN:
Success! Thanks tiny!

Package Complete: /home/todd/cm10/out/target/product/inc/cm-10.1-20130406-TINY-inc.zip

real	306m7.646s

user	222m23.786s

sys	17m54.763s
[Droid Incredible Android Development] Chehri:
Loving the ROM!

Question though, how can I set the protocol for MMS? I went to my APN settings and checked but there's no option to change it to WAP 2.0. Without it my picture messaging doesn't work (forwarding incoming pictures to my email at the moment, but can't send anything).
[Droid Incredible Android Development] Osiris19:
The keyboard zip in op doesn't seem to work with the latest build.
[Droid Incredible Android Development] tiny4579:
That is because I fixed it and if you flash the zip you'll break that function. Also why I removed the reference to it in the second post.
[Droid Incredible Android Development] Osiris19:
Ahh, okay. Sounds good.
[Droid Incredible Android Development] Neo:
You can also open each wallpaper that IS used via the Paint app on your PC and immediately re-save it. It will drop the image file size considerably and you won't even notice a difference on your phone. I do this to non Play Store available launchers and it's very effective. See how much more space you can save by make ng Trebuchet even smaller this way.

-Neo
[Droid Incredible Android Development] skakid9090:
ADB Driver

Can't get my phone to connect with adb after upgrading from Gingerbread. Are there different HTC drivers available for JB or something? It worked fine before upgrading, USB debugging is enabled.
[Droid Incredible Android Development] GnatGoSplat:
ADB doesn't work for me either. Oddly enough, I had it working once in the 3-30 version, but I only tried it just that once so I don't know if it only works intermittently or if it always worked in that version.
[Droid Incredible Android Development] Neo:
One you have upgraded to android 4.2.2, you will also need to upgrade your adb.

I have something that will make it easy for all of you. Simply download this file of mine:

http://androidrevolutions.com/neo/files/platform-tools_r16-windows.zip

Take the contents of that platform-tools folder and let it overwrite your current adb contents.

Done.

Tiny feel free to pull the file and add to your op or downloads section if you like.
[Droid Incredible Android Development] tiny4579:
That's not the issue. I already implemented a workaround of disabling ro.adb.secure. That does not address the new issue. The only workaround I know of is to enable adb networking in developer options.
[Droid Incredible Android Development] Neo:
What I said however is in fact an issue though. Once you upgrade to android 4.2.2, adb will require updating. That zip will do that. I'm not familiar with this other issue you've posted.
[Droid Incredible Android Development] tiny4579:
Just adding the adb secure is disabled so you can login to adb with the older tools and also because the prompt doesn't work. Still recommended to upgrade though.
[Droid Incredible Android Development] Pons:
For those having adb driver issues, have any of ya'll tried...THIS?!

Universal ADB (Android Debug Bridge) Driver for Windows, by Koush

I haven't yet, as I just stumbled upon it at work. Will definitely try it when I get to the cubby hole in 10ish hours. Granted, this seems to be just the drivers, and not the actual adb package. But handy if you work with multiple devices, and have issues with getting the driver to work.
[Droid Incredible Android Development] doublejrecords:
File manager?

On a more random note - did we lose the CM10 file manager somewhere along the way? Didn't it used to be in the builds?
[Droid Incredible Android Development] Pons:
Yes, looks like tiny took it out about 25 days ago.

https://github.com/tiny4579/android_vendor_cm/commit/ee60047fb2ba79a641dcd665dced61b27879814f
[Droid Incredible Android Development] doublejrecords:
Oh... Ok. Its no biggie, there's tons of options out there and I just got one from the Store, I just thought the CM10 one was nice though. (As was having it already there)

As always, thanks for your work tiny...
[Droid Incredible Android Development] zimlokks:
i could post a update zip to flash it :) if u would like.

Flowed Away From My Samsung GS2 E4GT
[Droid Incredible Android Development] Pons:
Not trying to start an OT discussion, but I remove CMFileManager anyways, to save /system space (and it doesn't have all the features I need/want), and use this instead.

[Android 2.1+] FX File Explorer: a "desktop-class" file/media manager
[Droid Incredible Android Development] moonlight@china:
Can you add kernel support for supersonic(EVO 4G),Thanks
[Droid Incredible Android Development] Pons:
As in, you're requesting tiny to make an incredikernel for the supersonic?
[Droid Incredible Android Development] tiny4579:
I'm not going to support supersonic. Mainly because I don't own it. There's an Evervolv kernel for supersonic. What's wrong with that one?
[Droid Incredible Android Development] tlipur:
The camera that comes on from the lock screen is there a way to dissable it? Its hella annoying,swipe right and it comes on...
[Droid Incredible Android Development] Neo:
Don't swipe right?

\o/ ?
[Droid Incredible Android Development] tiny4579:
I was going to say Lockscreen policy from the play store will do what this person wants.
[Droid Incredible Android Development] Neo:
I still think not swiping right was a good idea :D
[Droid Incredible Android Development] tiny4579:
Still in testing but these hopefully will help and if I like them on the toro I'll include them on the inc but if you want to self build you can add these to your cherry picks. These are from AOSP master

#dalvik memory leak fixes/updates
cd ~/android/cm10/dalvik
#Fix a minor leak in handleVM_CreateString
#https://android-review.googlesource.com/#/c/55023/
git fetch https://android.googlesource.com/platform/dalvik refs/changes/23/55023/1 && git cherry-pick FETCH_HEAD
#Fix a minor leaks caused by failed initializations.(typo)
#https://android-review.googlesource.com/#/c/55130/
git fetch https://android.googlesource.com/platform/dalvik refs/changes/30/55130/1 && git cherry-pick FETCH_HEAD
#Fix a leak in Dalvik_dalvik_system_DexFile_openDexFile
#https://android-review.googlesource.com/#/c/54985/
git fetch https://android.googlesource.com/platform/dalvik refs/changes/85/54985/1 && git cherry-pick FETCH_HEAD
#Tiny optimization for complier templates for arm.
#https://android-review.googlesource.com/#/c/55129/
git fetch https://android.googlesource.com/platform/dalvik refs/changes/29/55129/1 && git cherry-pick FETCH_HEAD
[Droid Incredible Android Development] zachf714:
Rascarlo is using them on rasbean and it made a noticeable difference
[Droid Incredible Android Development] tiny4579:
I just built them tonight for the gnex. Will integrate them on the inc this weekend (which starts tomorrow after work).
[Droid Incredible Android Development] kramer56:
Does the usb tether not work. I tried to use it the other day and it just kept fc. Maybe I'm missing something in setting or options idk
[Droid Incredible Android Development] zimlokks:
i heard its broken. Not sure but thats what i read over at the P.A.C-MAN(i know its not the same title but close enough lol) thread

Flowed Away From My Samsung GS2 E4GT
[Droid Incredible Android Development] tiny4579:
Yep is broken
[Droid Incredible Android Development] GnatGoSplat:
How is the color of the notification LED configured? I've noticed notifications on mine are always blinking amber. Stock ROM and my other HTC phones with stock and custom ROMs are blinking green for notifications, but blink amber for low battery. I'm always thinking my battery is about to die, is there any way to configure the notifications to where they are always green except for low battery? I've gone through the settings and couldn't find anything related to notification color.
[Droid Incredible Android Development] Neo:
Have you tried using this? https://play.google.com/store/apps/details?id=com.rageconsulting.android.lightflowlite

We have the same problem on the HTC Rezound after having come to AOSP. This helped some for us
[Droid Incredible Android Development] Kaepernick:
Made an interesting discovery. If you like Trebuchet but don't want it to fill up system space, you can install it like a regular app. Download a different launcher like Nova or whatever. Uninstall trebuchet using an app like Titanium or something. Then take the Trebuchet.apk file and put it on the sdcard. Install like usual and there you go. More system space and you can mess with your favorite launcher.
[Droid Incredible Android Development] Neo:
Only one flaw to this discovery :) When you install the app, it immediately goes to /data/app. Rather than move it to your sdcard creating two copies of the launcher, save yourself the trouble and just move it to /data/app, fix perms and reboot
[Droid Incredible Android Development] tiny4579:
The big question is why the concern for the free system space. I've made the ROM smaller on purpose so basically there is no need to free up system space any more manually, even to flash the offline voice files. There is no gain by moving system apps to data unless you're somehow still running out of space. It disappoints me to hear that there still is a desire to do it after my effort over several builds to make it unnecessary. The offline files are mostly useless anyway in my opinion but someone may find them handy.
[Droid Incredible Android Development] Kaepernick:
Yeah, I suppose that would cut some of the work. Wonder if the rom could be built with it in data/app instead of in system.

By the way, is there any way to get the TouchWiz launcher on here? Just want to try it out.
[Droid Incredible Android Development] zachf714:
I think is just the desire to have the number of free space bigger because I you really only need like maybe 10mb free
[Droid Incredible Android Development] Kaepernick:
I mainly did it just to do it, really. Most space I got with your rom and have it still function the way I want is 81MB, I think, which is cool, but ultimately pointless, I suppose. I appreciate your efforts, of course. The last build had more than enough space in system by default.
[Droid Incredible Android Development] tiny4579:
It could be but it's not going to happen. The reason is that wiping data would make the ROM unusable without reflashing the ROM. Ideally a user should be able to wipe data for any reason they want and have a fully working OS. I think the touchwiz launcher has been discussed in one of these threads and it's most likely doable. I'm not sure if it has to be pushed to /system/app or can go to /data/app.
[Droid Incredible Android Development] zachf714:
I posted a zip for a 10.1 compatible one in the tw 5.2 thread over here
[Droid Incredible Android Development] Kaepernick:
I didn't even think of that. Definitely makes sense.

Just found it. Thanks.
[Droid Incredible Android Development] GnatGoSplat:
I just tried that app. I configured all the notifications to be green. It doesn't seem to work when the phone is asleep (no LED at all). When the phone is on, it does work, but lights the LED solid (no blinking).

There is actually a color and blink duration setting under System, but it doesn't seem to do anything and doesn't save the chosen color.
[Droid Incredible Android Development] tiny4579:
I think the trick would be to modify the framework to accomplish the LED color notification but I'm not sure where the code is for that.

Anyway, I'm working on a new build with linaro optimizations in. Basically I took what I found for Linaro on my Galaxy Nexus, which is a whole bunch of patches from the cm-10.1-linaro branch on CM's gerrit. Then I replaced CM's build and bionic projects with the ones from loosethisskin. There were a few patches to apply for the Galaxy Nexus still to make it build with linaro and strict aliasing; however, they don't exist here. Fortunately there are a few command line environment variables that can be set to just warn if strict aliasing checks fail. It will also use the -O3 optimization. Give me a bit to verify it will work and I'll push the code up later today.
[Droid Incredible Android Development] tiny4579:
An updated manifest so those who want to build from source as well as the README is updated on my github.

I also posted the ROM. It's more of a focus on keeping up with CM and building with the new cherry picks and linaro than a bugfix. It's CM updates so I didn't introduce anything different other than what I just stated above.
[Droid Incredible Android Development] kramer56:
Had anyone else noticed that searching for gps is happening very very often like about every 30 second. My battery life is just horrible and it just keeps doing it
[Droid Incredible Android Development] zombolt:
I turn off gps when I'm not using it because it seemed to turn on unnecessarily