yashsingh1/xdaforums huggingface dataset:
[Click Android Development] anton_46:
+1, will be back on ICS, if battery is ok :)
[Click Android Development] KingCreole:
Installed new compilation. No way to change APN settings.
[Click Android Development] rallapag:
speed of the rom is one change

Antutu benchmark score increased from 550 (old) to 590

Battery is still draining, I need some time to understand this.

Any suggestions are welcome.

Battery draim seems like general issue in CM9 rom;

example 1

example 2

example 3

Check following posts, see if it helps

http://epiccm.blogspot.com/2012/03/battery-optimization-guide.html

http://xdaforums.com/showthread.php?t=1536231

Were you not able to change APN or not find where is it?

I could change fine.

If you can't find, here is path

Settings -> More under Wireless & Networks -> Mobile Networks -> Access Point Names

and right click to add new APN
[Click Android Development] milos11136:
In a logcat you can see that rom is trying to start this process every second : I/bluedroid( 3434): bt_enable ret -1, errno: 110 , which causes battery drain...
[Click Android Development] rallapag:
Looks like android bug

http://code.google.com/p/android/issues/detail?id=25848
[Click Android Development] rallapag:
Juice Defender(JD) seems to help on battery drain.

Fully charged before going to sleep and still at 100 after wakeup with JD set at balanced.

EDIT:

Started this morning at home (100%) and with little to moderate use during the day i have got 91% after 9 hours.

seems good to me, as I was going down to 30 to 40% with out much use from morning to evening.
[Click Android Development] anton_46:
Awesome! I am testing JD right now and it seems to work really, but only if the screen is off. When i use the OS, battery drain is again in work. Thank you very much for this program.

bug - i still cant watch youtube videos.

edit: 7 hours, screen off - 2% drain :)

I installed Apex Launcher and i think it's better, I mean it has less lag
[Click Android Development] marcolameirinhas:
i'm testing the new version now.

it seems a bit faster, battery drain is big problem but i didnt tested JD yet!

no problem with APN, mobile data working fine (since 1st boot because i used it to get Google Account setup )

i thinks its not ready for daily, but i may used a few more hours to see if there is more bugs/problems ;)

EDIT:

no gmail on market?

its not compatible with our Tattoo? its what says on market online
[Click Android Development] dbuti:
I took 24 hours with this rom and I have no problems with the battery. Consumption is 25% throughout the day. Sorry for my bad English.
[Click Android Development] rallapag:
Youtube issue is not fixed at the moment.

i will update the gapps later tonight with gmail then.

EDIT:

I have attached latest gmail apk in the second post, please use it for the moment.
[Click Android Development] VRmagician:
I've installed and try to connect with my WiFi (channel=12) but couldn't success and I've tried to solve with this thread,http://xdaforums.com/showthread.php?p=23651509#post23651509, but can't find the page that it mentioned. Another problem of mine is I couldn't find GPS's setting. Where is it?

:confused:
[Click Android Development] anton_46:
Settings -> Location services -> GPS satellites :)

or just slide down the notification bar and see the icon after the bluetooth, this is the GPS. :)
[Click Android Development] rallapag:
new version in the OP.

Few experimental features for ArmV6 included

http://review.cyanogenmod.com/#change,11167

http://review.cyanogenmod.com/#change,12235

http://review.cyanogenmod.com/#change,12236

http://review.cyanogenmod.com/#change,12727

Electron beam (Turn off animation enabled).

http://review.cyanogenmod.com/#change,12959

You can feel speed increase.

Antutu benchmark increased from 590 to 645.
[Click Android Development] kemoba:
What should I download ???
[Click Android Development] rallapag:
as the first line says "new version in the OP."

Go to Original Post and download the ROM from there.

The links in my reply point to various experimental features implemented and details about them

EDIT:uploading new gapps, will be update in first post in few minutes
[Click Android Development] IdeosDev:
Nice Progress on latest build :)

Hoping a complete build for this lovely device and i will push latest miuiv4 2.3.16 possible in this few day :)
[Click Android Development] kemoba:
I flashed the new build yesterday, battery is really good, still holding strong at 70%, I dont use my phone for the purpose that it`s ment to be used ( calling people ), but great work rallapag.

EDIT. Just found a bug, when somebody calls the ring that is used to answer the call is low on the screen, and it is half visible...
[Click Android Development] rallapag:
Yes, I have to resize caller UI and password UI at the lockscreen.

Will try to do it this weekend.
[Click Android Development] samuel.omlin:
@rallapag

I have already got the whole kernel source for cm9 from this ICS branch here (https://github.com/arco/htc-kernel-msm7225). But, i never found out out-of-the-box kernel configure file for click out there while compiling it. So, can you share a copy of that file you're currently using to compile your click kernel on your host with me? Thanks in advance. :)
[Click Android Development] rallapag:
At the moment i am using prebuilt kernel by Arco from his device config.

Following should have been the source that was used to build the kernel

https://github.com/arco/click-kernel-2.6.35

but Arco seems to have deleted some of his projects from git
[Click Android Development] samuel.omlin:
thank you for your confirmation.

Here's this whole process of getting the default.config file from htc click with cm7.

$ cd /your/path/to/kernel/for/htc/click

$ adb devices

$ adb pull /proc/.config.gz .

$ gunzip .config.gz

$ cp config .config

And then, I'm going to have an attempt to compile the whole source of kernel from the ICS branch in the link above (https://github.com/arco/click-kernel-2.6.35) with the config file got above, in order to test it combining with unofficial cm9. I will post the final result around here if i'm done.
[Click Android Development] rallapag:
you seem to have missed my point.

Arco have deleted some of his projects including the Tattoo kernel source from the link i have provided.

You have to get in touch with him to get the source.
[Click Android Development] samuel.omlin:
Actually, this whole source for click-kernel-2.6.35 is still out there. The kernel source in this link above (https://github.com/arco/click-kernel-2.6.35) has been forged including the part of htc wildfire, other than htc tattoo. And then, the link (https://github.com/arco/click-kernel-2.6.35) is replaced by another one, called https://github.com/arco/htc-kernel-msm7225 as mentioned earlier.
[Click Android Development] KingCreole:
For Facebook contacts syncronization, you can use "HaxSync" app. It's not free, but it works.

Tapatalkeando desde mi Tattoo con ICS.
[Click Android Development] arco68:
click-kernel-2.6.35 has been replaced by htc-kernel-msm7225, that's correct. It's a combined wildfire and tattoo kernel. It contains an ICS branch, which is patched specific for ICS. It only has a defconfig (buzz_defconfig) for the wildfire though, so you may want to implement the changes in that one into click_defconfig for a proper ICS kernel.
[Click Android Development] rikkardino:
Could be possible in the next future with this combined kernel and ICS see Flash

Player working with Click ? I see Wildfire working. Thanks.
[Click Android Development] kemoba:
I think it is an overshot for our tattoo, he has only 650 MHz CPU (overclocked)... I would rather like the camera to work than flash. btw how about photographic love for our tattoo ?
[Click Android Development] vess_csm:
i agree. there is no use to have flash.
[Click Android Development] KingCreole:
If you want flash, use Puffin web browser, free or paid. It's not the best, but includes flash for all devices (free version includes it only for 14 days).
[Click Android Development] rallapag:
New update in the first post.

I have forgot to patch the phone.apk, so will update a patch soon.
[Click Android Development] kemoba:
What changed? I`m downloading it now.
[Click Android Development] rallapag:
Update to latest CM9 repo and it's version 4.0.4 now.

Lot of changes happened to CM9 developing, not easy to list here check the gerrit mentioned in the post if you want further details

and phone_patch in the first post
[Click Android Development] kemoba:
Boot animation is GREAT !!! The launcher definetly needs some resizing, the letters are half visible. It is a lot faster... Great work, keep it on..
[Click Android Development] VRmagician:
Do we still have to install patches in your 2nd post?
[Click Android Development] rallapag:
Patch from second post are not needed but phone patch is in first post is needed.

And gapps link in the first post
[Click Android Development] _yen_:
Thanks Rallapag, few reports about new build (fresh install):

- Patched Phone.apk crashes when trying to set a new APN (log below), standard one from main install work fine indeed;

- As kemoba write boot animation is huge for tattoo, looking on gerrit seems that adding

TARGET_BOOTANIMATION_NAME := vertical-240x320

at the end of cm.mk file should set the correct animation size for ldpi.

Thank for u work

yen
[Click Android Development] VRmagician:
My WiFi couldn't work, It always Off even I've tried to On :confused: and I couldn't find HTC Calibration also.
[Click Android Development] rallapag:
here is the patch for Phone and bootanimation

flash this one from recovery for a fantastic bootanimation and the phone apk
[Click Android Development] rallapag:
Sorry little late in replying for your earlier query.

At the moment wifi only detects up to 11 channels only. I couldn't find a fix so far;

if you are using channels above 11, that could explain the issue of not finding your wifi.

Please change your wifi channel, if convenient or to CM7 if you prefer.

HTC calibrate is there, try rebooting rom or reflashing might help.
[Click Android Development] kemoba:
rallapag, can you make this patches in one build? In the MIUI thread many users are confused on what to download and flash. Will the old gapps work on this new build ? Im trying to fix the launcher app name problem but my internet connection is realy bad...
[Click Android Development] rallapag:
At the moment there is only one patch to flash for phone and bootanimation.

This is what i have attached few posts back and the link is present in the first post as well.

please take pain to flash it from recovery after the rom flash.

I would be updating the ROM soon, so it is kind of waste of resources to upload the whole ROM again.

Yes the GAPPS in the first post are still latest and work with the latest update.
[Click Android Development] KingCreole:
I've been looking into build.pro, and I saw this:

"

# Time between scans in seconds. Keep it high to minimize battery drain.

# This only affects the case in which there are remembered access points,

# but none are in range.

wifi.interface=tiwlan0

wifi.supplicant_scan_interval=45

"

Why 45? Isn't better 120, or 240? Maybe changing this can help with battery drain, as is said.
[Click Android Development] KingCreole:
And... one more thing.

As I modify the Rom zip file to delete some apps and include some others, I've noticed that into the file we can find a folder called "_MACOSX" and many files called ".DS_Store" inside other folders. Maybe deleting them before publishing the Rom, coud make it less heavy.
[Click Android Development] kemoba:
Rallapag, I want to ask you what do you use to unpack and repack .apk`s when you edit them. I used apktool, unpacked Trebuchet.apk normally and repacked without touching anything and it didn`t wanted to start.

Im trying to fix the app name bug in Trebuchet, lockscreen password bug and answer screen but they are all in .apks :D
[Click Android Development] rallapag:
I think that wouldn't make a much of difference

But i am uploading a version compiled yesterday and i have changed scan interval to 240. Let me know if it improves battery life.

Those are zero byte files created by mac os. They wont have any impact on size of the ROM.

With the latest build compiled yesterday, i dont have issue with answer screen, only thing to fix is the password on lockscreen. I will make some changes before my next compile.

icon labels on home screen can be fixed temp by disabling quick search

Build is updating at the moment.

And about apktool, i wont use the apk resulted from editing.

Instead it is best to edit the original apk ----

Do what you want to do with apk (editing xml files, editing imges or editing smali code).

Compile the apk

Then take original apk replace the resources.arcs with the compiled one if you have changed the xml files and images (i am not entirely sure of images).

When you replace resources.arcs store instead of normal compressing

and replaced the edited and compiled xml files

and replace images

if you have edited smali code copy the classed.dex file.

Now use this apk to push and test

«««««««««««««««««««««««««««««««

New build in the first post

repo sync until yesterday.

Main addition is use of libjpeg-turbo instead of libjpeg

with following feature

http://review.cyanogenmod.com/#change,13906
[Click Android Development] _yen_:
Hi Rallapag,

CM9 builds doesn't backup gapps (and contacts too) before formatting /system during an upgrade. Looking the /system/bin/backuptool.sh you're using I saw it comes from NFinity rom.

As backuptool.sh checks ro.modversion in /system/build.prop with his own signature can you kindly change the 8th line in backuptool.sh from: V=nFinityGB-1 to something like this: V=9

and check if with this change it's possible to succesfully backup and restore gapps during rom updating?

/system/bin/backuptool.functions file is only needed when using original CM9 backuptool.sh which has a different and more flexible structure using scripts in /system/addon.d dir.

Thanks

yen
[Click Android Development] rallapag:
Thanks Yen,

I will change the backuptool.sh accordingly in the next version.
[Click Android Development] kemoba:
On review.cyanogenmod.com there are some HTC ICS camera HAL`s and wildfire version of this has made some great progress with camera. Can we get it ?
[Click Android Development] george.baskharon:
I just have a question .. Why do you release a ROM that is slow and some apps are crashing and a lot of thing are not working .. well its great job to be doing this but can't you release it after fixing the important issues.. waiting for its update :)
[Click Android Development] marcolameirinhas:
that kind of things need to be tested, and the community its perfect to do that!

and also we like to participate with opinions, feedbacks, and see what devs are doing for us and our "old" phones ;)
[Click Android Development] andynroid:
Yeap we are here to help the Dev to find bugs n identify areas for improvement to make this release to be an Alpha just like the community of arco68's CM9 ICS for the SGW i8150....

o_O Sent From My Ancora ICS CM9
[Click Android Development] vess_csm:
it is very hard for me to access the tab bar. any one else have this problem?

i can barely pull it down, need to use my nail

oops, my bad. recalibrated the screen and it's ok now :)
[Click Android Development] kemoba:
Try to calibrate your screen, i dont have that problem
[Click Android Development] pellepropp:
Thanks.

Looks great so far.

I didn't belive that someone would get ICS work on our old Tattoo. So I will keep my for some time more. Was on my way to buy a new phone but now I 'll wait to I find my dreamphone. Motorola Razr seams to by the one I dream about almost but some issue I want that Motorola don't have.
[Click Android Development] vess_csm:
better get the htc one s than the razr, orthe one x.. at least i think so.

why not the g nexus?
[Click Android Development] pellepropp:
I like the Idea with the concept around the phone, connect it to the lapdock and so on. And the price for the Razr is 230€ cheaper here in Sweden than One x.

But Yes HTC One seams to be a great phone but I want some accessories like what Motorola offer.
[Click Android Development] rallapag:
latest build from yesterday (20120408)

http://www.mediafire.com/?m4idme8cg7304q2

it has an issue with bluetooth, i am looking in to it.

synced to latest repo and slight memory tweaks

adjusted launcher and pattern lock

have to adjust lockscreen keyboard, but found a solution, will do it in next build.

Modified backuptool script (let me know if you see your gapps are wiped).

can some one post me snapshot of pattern lockscreen, from previous build.

I just want to check, if I have really adjusted or not.

Attached picture here is from latest build.
[Click Android Development] kemoba:
Im downloading it now... I cant save the screenshot *weird*, but i can say that you improved pattern lock

on the old rom the emergency call is not visible

---------- Post added at 09:55 AM ---------- Previous post was at 09:29 AM ----------

I flashed the new build, it dont see any bigger performance inprovements, Pattern lock on the old rom is a bit big, you cant see the emergency call button. I couldnt save the screenshot, dont know why. Great work with trebuchet, gapps are ok. I wanted to ask is there a way we can add apps to lockscreen, not just the camera app but maybe the phone like in MIUI ?
[Click Android Development] _yen_:
Hi Rallapag,

modifications on backuptool are ok and gapps preserved, thanks.

Just this morning (my bad) it comes in mind an alternative method that use standard cm9 backuptool files: just adding 70-gapps.sh from gapps package...

Thanks you and Happy Easter (even if a bit late :) )

yen
[Click Android Development] VRmagician:
Lockscreen as kemoba said.

Could you please improve screenshot (after long press Power button) to function?

Do I have to wipe everything when I update from last version to new version from the beginning or just install new version?

Thanks
[Click Android Development] kemoba:
Just install if you are updating from a previous build, if you are upgrading from a completly different ROM like nfinity then do a wipe
[Click Android Development] rallapag:
Tweak reported to me as PM
[Click Android Development] VRmagician:
Installed and trying some features such as below:

Screen Capture still couldn't function.

Display shows better than previous version (can display full text under icon, previous version text couldn't read because text's been shown only top part).

Calibration is better.

Last in my opinion I think this version runs faster than previous.

:)
[Click Android Development] rallapag:
zram init script

Due to an issue with busybox (i think) zram (similar to compcache in CM7) is not started by default.

CM7 uses 18% of RAM for compcache and here in my script i am using 15% RAM for zram.

Flash the attached from recovery and you will slight increase in responsiveness.

for more info on compcache check following link

http://wiki.cyanogenmod.com/wiki/Swap_and_Compcache
[Click Android Development] ---blacksoul---:
I tested CM9 on HTC TATTOO and especially after the last update (and even after installing zram) is much faster (apart from the start after entering the PIN code), when restart an app hangs for too long (especially when you lock the system app) and the boot is always displayed a message that the application clock stops abnormally, one thing that really bothered me is that the ROM occupies so much space on internal memory >.< so it makes me unable to update some apps (like Gmail or YouTube)
[Click Android Development] ---blacksoul---:
I found another bug with Aptoide in practice when the loading bar finishes loading it deforms and before the initial window to open up the entire screen flashes

Inviato dal mio HTC TATTOO (CM9) usando xda premium
[Click Android Development] rallapag:
Dalvik cache is moved to cache, so there should be enough space (at least 140mb)

in data.

Unless you have lot of apps, i dont see any problem updating apps. Even system should have 20mb extra space when the ROM and the stripped gapps from first page are flashed.

Other issues of app force close are seen even with better phones, so i hope these issues are in development list to deal.
[Click Android Development] ---blacksoul---:
Thank you rallapag however Dalvik cache has been moved in the cache by default

Inviato dal mio HTC TATTOO (CM9) tramite xda premium
[Click Android Development] lanny25:
This ROM looks good enough to me. Just waiting for a YouTube patch to make it my daily ROM
[Click Android Development] rallapag:
new update on the way

repo sync until April 13th

Adjusted pin lockscreen and tab lockscreen

but pattern lockscreen is bit smaller, will adjust in next release
[Click Android Development] goran95:
would this rom in future have a final realase ,working camera, gallery etc...?

btw. great rom :) :D
[Click Android Development] ---blacksoul---:
I found another bug with YouTube videos I do not start

Inviato dal mio HTC TATTOO (CM9) tramite xda premium
[Click Android Development] rallapag:
button lights and decent lockscreen layout

Hi All,

I have adjusted the lockscreen layout and fixed the issue with button lights for the latest version (update_2012-04-13).

Please attached zip from recovery.
[Click Android Development] kemoba:
Well it works :D
[Click Android Development] rallapag:
reduce lag of dialer

can someone test following init script to see if it reduces lag of dialer

I have used the info from following thread

http://xdaforums.com/showthread.php?t=1271637

and modified to see i can keep dialer and launcher from being killed.

So we can get dialer quickly.

can't promise it will always be in memory, considering the low memory of our devices

let me know if it helps

flash the attached zip from recovery
[Click Android Development] kemoba:
Will do, you will get a response in next 10 minutes

EDIT. Better but still sluggish
[Click Android Development] jakonicki93:
Any progress on this ROM?

rallapag, I sent you PM where I said that my Wifi stops working after flashing gapps to my phone.
[Click Android Development] rallapag:
Haven't got much time lately.

Please elobarate on your issue.
[Click Android Development] jakonicki93:
Okay. Not a problem.

First of all, I wipe all of the data/cache/system and dalvik-cache, then I install your CM9 ROM... Everything works fine, it boots, I connect on my Wifi with no problems. And then it's where problems begin. I reboot to recovery to install gapps (The one you provided on first page) and when I flash gapps, phone boots nicely but Wifi isn't connecting for some reason.

I tried to reconnect, forget network and then connect again, but it always hangs on connecting (message: Obtaining IP address and then it shows something like, Avoided poor connection). And that's it. I can't download anything nor use internet on my phone. Wifi router is in my room, connected to my computer, using 16Mbit connection and it works flawlessy when gapps are not flashed. From the moment I flash gapps, everything's going wild :D

That's it. Sorry for the long text.
[Click Android Development] rallapag:
Don't worry, its good to have the background to suggest possible solutions

Could wipe data and dalvik cache and see if helps your wifi problems.

If not start again with fresh flash and flash latest gapps (20120422) under CM9 from following link

http://goo.im/gapps

Let me know how things go
[Click Android Development] jakonicki93:
I re-flashed again as you said and now everything works with no issues at all. Thanks!
[Click Android Development] rallapag:
new build in the first post

and new gapps are also available

download CM9 version from http://goo-inside.me/gapps
[Click Android Development] kemoba:
Any major changes ?
[Click Android Development] rallapag:
nothing device specific, but tweaked some graphic and memory issues.

Hoping that should improve the speed.

Let me know if you feel it better
[Click Android Development] kemoba:
Not a problem, will flash later. Now im on GBSense