aazzam16661 wrote:@tytung
Looks like HD2 gonna get CM11 running using ION
It sounds great.
aazzam16661 wrote:@tytung
Looks like HD2 gonna get CM11 running using ION


a771la wrote:
install or put it in /system/vendor/app/ ?
i rename it in LowSoundFixer.apk and put in /system/vendor/app/
now it seems to work without crash


tytung wrote:I made some changes.
Please flash Settings.apk-wpa_supplicant_v2.1_adhoc-patch_for_CM-11_updater.zip and test it.
x_max_best wrote:Flashed it and it`s not working.







PoJD001 wrote:First of all thanks tytung for his tremendous work! I have been using your ROMs since 2012 and always came back to yours. I really find it amazing to be able to run Kitkat on our ancient HD2! Now a little to my problem. I actually also found the solution to it, so just posting~for others, just in case someone else is experiencing similar issue.
I have installed this ROM, logged in, after google account setup my apps, etc, I switched over to ART and waited. Unfortunatelly, the "Android is upgrading app number xxx" has never finished for me. It always stopped at some count and then bounced and never booted again. So I tried clean install again, this time no google account, so clean ROM with no apps and then enabled ART. This time it was fine and I was happilly running ART Kitkat with no issues. I was continuosly installing all the apps I wanted to use. Until I reached the problem app, that most likely caused the issue earlier too. It was Torque Pro. When I tried to install while having ART enabled, it force restarted Leo in the middle of the install process. I tried installing the same on my tablet running ART enabled Kitkat and it was fine there too.
So then I tried running logcat on both and noticed that Leo stopped before finishing compiling it all. Whereas the tablet (Nexus 10) finished compiling all. But I noticed Nexus did struggle a bit too - I saw many apps were killed while compiling and it also complained about being low on memory (the dex2oat eating more than 400MB at some point). That finally ring the bell for me. I have no swap enabled and given that Android only sees 410MB of RAM in the poor Leo, it was simply running out of memory and bouncing itself!
I didn't want to clean reinstall again to get swap out of the box in the install process, so I simply only created swap partition and switched on swap via adb and viola, the app installation did indeed finish fine (certainly after a few minutes). By running "free" during the compilation, I noticed it used almost 200MB of the swap at some point, so this was indeed a challenging job for my HD2!
So next time I know what to look at and next reinstall of the ROM will get me swap enabled too. Just in case anyone else is struggling to install some app while having ART enabled. It is indeed greedy!


Return to HD2 Android Development
Users browsing this forum: No registered users and 0 guests