[Sep. 7, 2014][ROM][KK][4.4.4][720p] NexusHD2-KitKat-CM11.0 V4.7 [Kernel: tytung_jellybean_r2]

Android development for HTC HD2/Leo
Moderator: Forum Moderator

Re: [Dec. 21, 2013][ROM][KK][4.4.2] NexusHD2-KitKat-CM11.0 V4.1 [Kernel: tytung_jellybean_r2]

Postby PoJD001 » Mon Dec 30, 2013 3:43 pm

@F.E.K. Sure. The way I did it (most likely the fastest even though not the nicest):
  1. Make sure you have a swap partition on your SD card. I didn't, so I unplugged my SD card after switching off the phone and used Partition Magic in Windows to: cut the existing fat32 partition by 1GB. Move the existing sd-ext partition to be the 2nd and use the remaining place there (1GB) to create the new swap partition.
  2. Switch on your phone and connect through to ADB. Confirm connected by e.g. "adb devices"
  3. Now run ' adb shell "swapon /dev/block/mmcblk0p3" '. If you have no sd-ext (i.e. your swap is 2nd partition), then you should use mmcblk0p2 instead.
  4. Now run ' adb shell "free" '. This should confirm you have swap enabled (the rows in swap should not show all 0, but whatever the size of the swap partition is instead).
  5. Once done with the install, run ' adb shell "swapoff /dev/block/mmcblk0p3" ' to disable swap again

The other alternative is of course cleaner and I believe done automatically by the installer if you install a clean ROM and have an existing swap partition. It would add the swap to fstab to be automounted upon boot and add some extra init stuff for android to enable swap on startup. If you want swap all the time and don't want to clean reinstal the ROM, then I guess you would have to do the above, more info e.g. here: http://forum.xda-developers.com/showthread.php?t=1659231. They used some swapper app for that. Or of course you can do it manually yourself by creating/editing the files needed. I am sure someone else already created some tools/scripts to auto mount swap for you :)

I only used the above since I am not 100% sure of potential side effects of using swap all the time. I have UHS-1 SD-CARD which was said to be unstable (even though it runs fine for me), so don't want to risk to have swap there. I will use the above again should I need swap ad hoc. You can of course do the same in some terminal emulator to avoid the need to use adb (and thus a PC/laptop to connect to it).

@rubsi: I use ART on both Nexus 10 tablet and HD2 phone. Both running Kitkat 4.4.2, CM11. It is hard for me to sensibly judge whether I have noticed any dramatical speed increase. I would say it is comparable. Even though in time I believe ART will have to be faster since it indeed avoids running any virtual machine at all and only running precompiled code, thus less processing time when running the apps. For sure the installation takes longer. Given this is very early version of ART (alpha I suppose, given that google hides it inside developer options) it is not bad at all. I think what might be better even now (even though I have no paper evidence to prove it) is the memory consumption which I believe is better in ART (at runtime of course, not at install time as seen above :) ). That makes sense too since the virtual machine (dalvik) had to have some extra memory footprint. I am running ART on both devices with pretty much no big issues.
Last edited by PoJD001 on Mon Dec 30, 2013 5:51 pm, edited 1 time in total.
PoJD001
Junior Member
 
Posts: 15
Joined: Tue Oct 22, 2013 10:32 pm
Country: Czech Republic (cz)
Has thanked: 5 times
Been thanked: 11 times

Advertisement
 

Re: [Dec. 21, 2013][ROM][KK][4.4.2] NexusHD2-KitKat-CM11.0 V4.1 [Kernel: tytung_jellybean_r2]

Postby heavymetall66 » Mon Dec 30, 2013 4:45 pm

Hi Superuser,
can somebody tell me, how i can change the lockscreen widget?
Thx
Device: HTC HD2 (LEO512)
HSPL: 2.08.HSPL
Radio: Leo_RADIO_2.15.50.14
Bootloader: Magldr v 1.13.07 from here: http://androidforum.tytung.com/amagldr-v1-13-07-t183.html
Recovery: http://forum.xda-developers.com/showthread.php?p=20000106
DataonExt Rom: Tytung NexusHD2-KitKat-CM11.0_V4.4
SystemPartition: 350MB
NativeSD: Slimroms 4.3.1 Build 2 Final THX chautruongthinh
SD Card: SanDisk 8GB Class 4
User avatar
heavymetall66
Junior Member
 
Posts: 78
Joined: Tue Jun 25, 2013 7:50 am
Country: Germany (de)
Has thanked: 93 times
Been thanked: 22 times

Re: [Dec. 21, 2013][ROM][KK][4.4.2] NexusHD2-KitKat-CM11.0 V4.1 [Kernel: tytung_jellybean_r2]

Postby bernida » Mon Dec 30, 2013 5:50 pm

^ just click and hold to remove or move lockscreen widgets

Btw guys with The swap discussion being on again, is it possible to use a partition on NAND as swap?
I mean The biggest Problem with swap in my opinion is that it bottlenecks The sdcard even more.

As many of you guys are on nativesd or dataonext and nand is unused or only partly used it would be a nice way to use The free space
Placing swap on nand would hopefully increase The Speed significantly...
bernida
Junior Member
 
Posts: 4
Joined: Wed Oct 09, 2013 4:27 am
Country: Germany (de)
Has thanked: 2 times
Been thanked: 3 times

Re: [Dec. 21, 2013][ROM][KK][4.4.2] NexusHD2-KitKat-CM11.0 V4.1 [Kernel: tytung_jellybean_r2]

Postby PoJD001 » Mon Dec 30, 2013 5:59 pm

bernida wrote:^ just click and hold to remove or move lockscreen widgets

Btw guys with The swap discussion being on again, is it possible to use a partition on NAND as swap?
I mean The biggest Problem with swap in my opinion is that it bottlenecks The sdcard even more.

As many of you guys are on nativesd or dataonext and nand is unused or only partly used it would be a nice way to use The free space
Placing swap on nand would hopefully increase The Speed significantly...


Well, I have the EU version, so I don't have that much spare NAND. I use 400MB in recovery to be safe and have some space in case of bad NAND sectors. Just given how many times I have flashed Leo so far....

By moving even swap there I guess that would completely kill the NAND in time. It is not designed for many rewrites as I would say.So while it might be possible (I think I saw it somewhere on xda), I would not recommend doing so. Just my 2 cents though.... Speedwise indeed, but on the other hand, it should not be by any means considered an extension to RAM. It is just a safe point for the kernel to able to run some greedy processes.So I think slower SD card is fine for that...
PoJD001
Junior Member
 
Posts: 15
Joined: Tue Oct 22, 2013 10:32 pm
Country: Czech Republic (cz)
Has thanked: 5 times
Been thanked: 11 times

Re: [Dec. 21, 2013][ROM][KK][4.4.2] NexusHD2-KitKat-CM11.0 V4.1 [Kernel: tytung_jellybean_r2]

Postby MarVel » Mon Dec 30, 2013 6:31 pm

Can you tell me what is going to be fixed/worked on in the next update of the rom?
MarVel
Junior Member
 
Posts: 16
Joined: Tue Sep 03, 2013 7:32 am
Country: Bulgaria (bg)
Has thanked: 1 time
Been thanked: 2 times

Re: [Dec. 21, 2013][ROM][KK][4.4.2] NexusHD2-KitKat-CM11.0 V4.1 [Kernel: tytung_jellybean_r2]

Postby ersinozler » Mon Dec 30, 2013 8:12 pm

Hello all and thank you for your great works Tytung!

Unfortunetly Not Working
1. Google Now ( Search results screen comes black)
Image

2. Gallery ( I can not see the preview of the pictures) (Same black screen, i can select and touch screen works if you hit the right place, the picture opens)
Image

3. Lock Screen Calender (Do not show the event, reminders etc.)

Any help or guidance will be highly appreciated

Wish you all a nice new year! Cheers
ersinozler
Junior Member
 
Posts: 6
Joined: Sun Aug 25, 2013 9:38 am
Country: Turkey (tr)
Has thanked: 3 times
Been thanked: 0 time

Re: [Dec. 21, 2013][ROM][KK][4.4.2] NexusHD2-KitKat-CM11.0 V4.1 [Kernel: tytung_jellybean_r2]

Postby Delibit » Mon Dec 30, 2013 9:59 pm

the app included in the rom 'hwa config' allows you to switch from gpu to cpu to render apps. please make good use of it.
Delibit
Junior Member
 
Posts: 24
Joined: Sat Sep 21, 2013 10:26 pm
Country: Belgium (be)
Has thanked: 0 time
Been thanked: 0 time

Re: [Dec. 21, 2013][ROM][KK][4.4.2] NexusHD2-KitKat-CM11.0 V4.1 [Kernel: tytung_jellybean_r2]

Postby MarkAtHome » Tue Dec 31, 2013 1:07 am

MarVel wrote:Can you tell me what is going to be fixed/worked on in the next update of the rom?
Like everyone else, you will find out when Tytung releases it. Patience, little one.
Image
User avatar
MarkAtHome
Forum Moderator
 
Posts: 97
Joined: Mon Jun 24, 2013 10:17 pm
Has thanked: 60 times
Been thanked: 65 times

Re: [Dec. 21, 2013][ROM][KK][4.4.2] NexusHD2-KitKat-CM11.0 V4.1 [Kernel: tytung_jellybean_r2]

Postby dictator4 » Tue Dec 31, 2013 2:33 am

Hello!

Is there any way to enable the "choose program menu" i mean, when i wanted to call someone, a window popped up, asking me which way i want to call the number "skype" or "phone".
If i was watching videos on your NexusHD2-JellyBean-CM10.1.3 it asked me in which program i want to run that video: "browser.. " "moboplayer" etc..
is there any way to turn this back on with this 4.4.2?

if i want to watch a video , i search it in the browser, and the browser trying to run it (in a very low resolution/and not full screen)..
pls help me to get back to this.
sry for my english
dictator4
Junior Member
 
Posts: 39
Joined: Fri Jul 12, 2013 2:11 pm
Country: Hungary (hu)
Has thanked: 4 times
Been thanked: 2 times

Re: [Dec. 21, 2013][ROM][KK][4.4.2] NexusHD2-KitKat-CM11.0 V4.1 [Kernel: tytung_jellybean_r2]

Postby NYLimited » Tue Dec 31, 2013 2:47 am

dictator4 wrote:Is there any way to enable the "choose program menu" i mean, when i wanted to call someone, a window popped up, asking me which way i want to call the number "skype" or "phone".
If i was watching videos on your NexusHD2-JellyBean-CM10.1.3 it asked me in which program i want to run that video: "browser.. " "moboplayer" etc..
is there any way to turn this back on with this 4.4.2?


Long press the icon of the app that comes up as default, select "app info".
On the next screen (you may have to scroll down) select "clear defaults".

Repeat this for any program that is launched automatically where you want to have a choice.
User avatar
NYLimited
Forum Moderator
 
Posts: 395
Joined: Mon Jun 24, 2013 5:01 pm
Location: 40.75659° N 73.98626° W
Country: United States (us)
Has thanked: 128 times
Been thanked: 255 times

PreviousNext

Return to HD2 Android Development

Who is online

Users browsing this forum: No registered users and 0 guests

cron