yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] agbommarito:
I think the mod will only work on this particular Tytung ROM on the HD2. The file that gets modified (SystemUI.apk) is specifically compiled for a particular device.

You could probably make a similar mod for the Galaxy S2. Search the forums for how to use the program apktool and install it on your PC. You also need to have Java installed. It's good to have the Android SDK installed also so that you can zipalign the final package, though this is optional. After apktool is installed, the steps are:

1) Extract the framework-res.apk and SystemUI.apk files from the ROM that you want to modify.

2) Install the framework-res-apk file using the command apktool if framework-res.apk

3) Decompile the SystemUI.apk file using the command apktool d SystemUI.apk

4) Modify the SystemUI files. I suggest decompiling one of my mods, both the original SystemUI.apk file and the modded SystemUI.apk file. Compare the two directory trees to see what files were changed. Using that example, you'd have to then modify the Galaxy S2 files.

5) Recompile the SystemUI.apk file using the command apktool b SystemUI.apk

6) Replace everything in the original SystemUI.apk file with the modded files, leaving only the META-INF folder.

7) Zipalign the new SystemUI.apk file. Search the Google Android docs for how to use zipalign.

7) The final step is to flash the new SystemUI.apk file. My mods use the Aroma installer based on the example of Tytung's ROM installer. You can also unzip your entire ROM on the PC, replace the old SystemUI.apk file with the new one. Then zip the ROM again and flash it to your device. That keeps you from having to learn how to program Aroma.

Good luck if you decide to try this.
[HD2 Android NAND Development] slashas69:
You can make volume hw buttons to wake up the phone ;)
[HD2 Android NAND Development] gogodu5sU:
What agbommarito said is that you can't use any other button to turn the phone on if it is off.

Though you could plug in the usb cable and press the reset button to boot the phone.;) ...on clk.
[HD2 Android NAND Development] agbommarito:
You can use any of the seven hardware buttons (volume up, volume down, call, home, menu, back or end call) to wake the phone up from sleep mode if you use something like ButtonRemapper to program the Android keyboard table. But if the phone has been turned completely off, the end call button is the only one that will turn it on.

You are correct. Plugging in a USB cable and pressing the reset button in the battery compartment will boot the phone. Just plugging in a USB cable will boot the phone if you are using Magldr. I think that the 512M European version of the HD2 doesn't have the reset button. That only appeared on the 1024M TMOUS version.
[HD2 Android NAND Development] gogodu5sU:
The 512M European version of the HD2 does have a reset button.
[HD2 Android NAND Development] clarkg:
I would guess that they would be released on his site where the download link in the first post of this thread points to. I'm sure we are all used to going there to download his ROMs. I for one would be happy enough to keep checking it for a new release.
[HD2 Android NAND Development] agbommarito:
I have a TMOUS version HD2. I had vaguely remembered that there was a version of the HD2 without the button, but I guess I was mistaken.
[HD2 Android NAND Development] anil@aol.com:
Thank you. Will try it as soon as I get some time. Will let you know if I succeed.
[HD2 Android NAND Development] gary.swallow:
com.android.settings has stopped

Hi guys,

I have been using Tytung ROMs for a couple of years now with no issues.

This version however gives me an issue.

The ROM installs fine and launches the welcome screen (language select) but as soon as it leaves this screen it gives the "Unfortunately, com.android.settings has stopped" message...it allows me to go through the rest of the setup process and gets to the home screen ok..

Everything works fine until I open the settings screen and it gives the error again (and again..and again).

The settings icon in the launcher etc is the android guy with "com.android.settings" under it rather than the usual icon with "settings" under it..

Any other Tytung ROM flashes perfectly every time.

I have Task29 multiple times, Magldr and CLK versions, different partition sizes (minimal install 200 and full 285) also 300MB...

I am just downloading the 2.1 version of this ROM now to see if it is just 2.2 that fails..

I have tried this 20 or 30 times now but it always gives the same error (also downloaded the ROM from all servers and using different computers etc...MD5 always checks ok)...

I may have to go back to the Android 4.1 ROM as that was perfectly stable..

Anyone got any ideas?

EU HD2

Data on EXT (1GB partition)

16GB SD card

---------- Post added at 11:09 AM ---------- Previous post was at 10:45 AM ----------

Nope...V2.1 does the same...will not let me into the settings..icons are Android guy still...

:confused:
[HD2 Android NAND Development] Robbie P:
Hi gary.swallow

try fixing permissions

Also try applications/all/settings clear cache and data

might work
[HD2 Android NAND Development] gary.swallow:
Hi Robbie,

Fix permissions (from recovery)..no good.

Clear cache (from recovery)..no good.

Factory reset (from recovery)..no good

I cannot get into any settings menu (wifi,apps,ringtones etc)...It just gives the same error
[HD2 Android NAND Development] Robbie P:
Try increasing system partition to 390, your data is on ext4 so you dont need the extra nand space.

Also try increasing your 1gb ext4 and format it with recovery.
[HD2 Android NAND Development] symbuzzer:
probably your settings.apk writed on bad nand block. Look my signature and mark your bad blocks. After that make a bit bigger system partition and reflash rom again.
[HD2 Android NAND Development] gary.swallow:
On it like a car bonnet :silly:

Let you know...
[HD2 Android NAND Development] M.Q.:
You can also try to work it around without marking bad blocks - after installation, using adb (or qtAdb) copy the settings.apk (or any other causing the error) from the rom.zip to the phone /system/app folder.
[HD2 Android NAND Development] symbuzzer:
yes but bad nand block will still remain unmarked. I dont know about writing algortihm on nand but maybe another data will write on it and another problem will occur.
[HD2 Android NAND Development] gary.swallow:
Task 29...Updated to latest Black CLK and checked bad blocks..found one (block 2016, host userdata, marked)...

Repartitioned to 390MB using CLK.

Made EXT 2GB.

Installed ROM..

Now it says "Unfortunately, Setup Wizard has stopped"...:eek:

so it has gone one step backwards...

does not do anything now..does not get to homescreen or setup phone...

Back to recovery..fixed permissions..."Unfortunately, Setup Wizard has stopped"...

Flashing back to 4.1 (after repartition etc) works perfect..

Back to 4.2 same issues.."Unfortunately, Setup Wizard has stopped"...:
[HD2 Android NAND Development] symbuzzer:
Check md5 of your zip file and compare with tytungs in first post
[HD2 Android NAND Development] gary.swallow:
Checks perfectly..very strange..do not get this issue with any other Tytung ROM..

---------- Post added at 04:34 PM ---------- Previous post was at 04:11 PM ----------

Switched back to MAGLDR after (another) Task29...

ROM installed..

This time it says "Android is upgrading ..optimising 85 apps"..

then com.android.setupwizard has stopped....

---------- Post added at 05:02 PM ---------- Previous post was at 04:34 PM ----------

Pixeldroid JB 4.2.2 V1.0 works fine but I want Tytung!!
[HD2 Android NAND Development] Robbie P:
This usually means that the /data partition on your sd ext4 partition has not been deleted, so it re-installs existing apps etc.

I think you need to format your ext4 using 4ext recovery (you could also first try formatting whole card with sdformatter 3.1 or 4.0, then partition your card with 4ext recovery), then re-install.

Sorry that you have had all these problems, and hope that you will get there eventually.

car bonnet:D
[HD2 Android NAND Development] gary.swallow:
Task 29.

Install MAGLDR.

Formatted SD card with new FAT32 and EXT4 partitions using Ubuntu.

Copied ROM to SD using MAGLDR USB MASS STG.

Made 390MB System partition....and...."setup wizard has stopped"...:crying:

Looks like I am sticking with 4.1 for now....

Thanks for your help guys....:cyclops:
[HD2 Android NAND Development] HotRod11686:
Try making your partition 400mb with 45mb cache. I was having similar problems before and doing this fixed it completely after a full task 29, using the latest HD2 tookit - installed CWM 5.0.2.6 and installing the entire rom on the nand

try that and see if it works for you.

---------- Post added at 06:31 PM ---------- Previous post was at 06:25 PM ----------

FIXED

- If anyone else is still experiencing this issue when changing the DPI below 200 then you will need to install another launcher such as APEX/NOVA because the included Trebuchet launcher will not re-size the screen to match the new lcd density - seems to be a glitch in the launcher.
[HD2 Android NAND Development] gary.swallow:
Fixed it :D:D:D:D

400MB with 40MB cache (would not let me do a bigger cache)..

Data to EXT and it BOOTS!!!!

Seems to be working perfectly.

Thanks HotRod11686 :highfive:

Also thanks to Robbie P, symbuzzer and M.Q.

I thought I was going to be stuck with the ancient 4.1 OS :p
[HD2 Android NAND Development] bad.bid:
i have used the 5 nav bar buttons i explained in pac rom. the aokp navbar helped me do it. i used button remapper to turn off functions of all keys except keep 'wake dropped' functions to home and call (green) button without changing volume buttons. and i mostly used volume wake. and since the buttons are not stripped off, software mods will not turn off its capability to switch on the phone. i dont switch off and on much, so its not as much wear as using it for wake.

the main issue here is, can we make such a mod?

(or maybe port aokp navbar into here if its not forbidden)
[HD2 Android NAND Development] gogodu5sU:
You could try this - http://xdaforums.com/showpost.php?p=27029441&postcount=500

I don't think that the navbar has changed in cm10/10.1 but i didn't look.

If the guide still works you would have up to 6 buttons, don't flash the zip from that post.
[HD2 Android NAND Development] SyrianBrain:
Hello

thnx for the Rom

i tried to install it

but when i chose it from SD card

Error msg : cant open the file ... bad

installation aborted

any idea please ?
[HD2 Android NAND Development] TeleMaks:
You have corrupted file image. Re-download it again (from other mirror maybe).
[HD2 Android NAND Development] tytung:
Just checked it.

I didn't include HWUI framework patch for CM10.1 yet.

I will add it.
[HD2 Android NAND Development] MarkAtHome:
Hi Tytung - I have one for you... Have you come across a situation where all of a sudden app launcher displays EMPTY in the center of the screen, and no apps are listed?

All apps can be accessed via Play Store's OPEN, TB, ROM Toolbox, etc.

This is not limited to the default app launcher - I have 24 app launchers installed to experiment with and most display EMPTY, instead of listing installed apps.

For the time being I am switching to Smart Launcher Pro, if I need to access an app not on my various homescreens.

I have not found anything re this issue. It had happened before, but it automagically fixed itself.

Am at a loss as to where to look.

FWIW, restoring a recent known good backup did not fix it. :(

____________________

Sent from my HD2 JB-CM10.1 with XDA Premium
[HD2 Android NAND Development] Lolo78:
I Guys,

Don't kwow were i make a mistake...

Task 29.

Install MAGLDR.

Formatted SD card with new FAT32 and EXT4 (1024) partitions using minipartition tool Wizard .

Install the rom and see that the ext 4 is detect a the begining of install but after first boot the free space is to 0kb :(

Normaly it's automatic no ?

do i have to flsah something else for data to ext?
[HD2 Android NAND Development] adell_:
What is your system partition size? Is the ext4 a primary partition?
[HD2 Android NAND Development] Lolo78:
Hi,

I've made installation Via Nand + ext (Option 2 in aroma) I've set the Partition to 285 M and do a full install and made a 1024 Ext 4 set as primary like my fat 32 set too as primary...
[HD2 Android NAND Development] adell_:
Try to resize your system partition to 360 MB or more.
[HD2 Android NAND Development] Lolo78:
Ok i will try that but How works data ext on this rom because normaly if the full installation take 285MB why the Ext 4 is not detected ?
[HD2 Android NAND Development] frantisek.nesveda:
What recovery do you use? I suggest you try to partition your SD card with your recovery, I've been doing that every time and it works for me.

In recovery, go to Advanced - Partition SD Card, for Ext size choose what you wish, and for swap size choose 0 (or anything different, if you want to use swap).
[HD2 Android NAND Development] adell_:
I don't know. Maybe your HD2's NAND has some bad blocks. Some users have this issue and increasing the system partition size fixes it.
[HD2 Android NAND Development] tytung:
V2.3 (Jun. 23, 2013)

Updated to CM-10.1.0-RC5 source code.

Updated to LowSoundFixer_v1.0.7.apk for fixing the low sound issue for CM-10.x. (Updated BT events. Not sure fix BT or not) (Credit: tytung)

Backported source code to fix native USB Tethering for CM-10.1 (frameworks_base) (Credit: tytung)

Added HWUI framework patch for CM-10.1 to support HWUI deny app HwaSettings.apk (Credits: royale1223 and tytung)

Allowed users to remove DSP Manager in the AROMA Installer. (Credit: tytung)

Fixed the black screen of incoming calls. (updated build.prop)

Updated the etc/init.d/99_lowmemorykiller tweak.

Updated to the latest hosts file (May-21-2013) for blocking ads.

Updated to Google Calendar 201305280

Updated to Google Maps 6.14.4

Updated to Google Play Store 4.1.6

Updated to Google Play services 3.1.36

Updated to Google Search 2.5.8.6757

Updated to Gmail 4.5-694836

Updated to YouTube 4.5.17

Downloads:

ROM: Mod edit: Link removed

This is a copyrighted ROM including the features (e.g., hardware video decoding/encoding, WiFi Ad Hoc network, and native WiFi tethering for CM 10.1) developed by tytung for HD2.

To distribute this ROM in any way (including but not limited to mirror, theme, port, repackage this ROM) is strictly forbidden and violates the copyright laws.

Tool: NativeSD Recovery v1.0 for NativeSD users.

Mod edit: Removed
[HD2 Android NAND Development] chautruongthinh:
Thanks your hard work. I am waiting for this all month!!
[HD2 Android NAND Development] symbuzzer:
tytung has advertisments in his new board, dont forget;)
[HD2 Android NAND Development] Ultraboss:
Thx a lot tytung !!! I have waited a lowsoundfixer update for my bluetooth car headset and a fix for black screen !!
[HD2 Android NAND Development] Nikola G.:
Thank you for the update tytung. Was eagerly waiting for that black-screen fix.
[HD2 Android NAND Development] Martin Mystere:
I have fully working Native to SD v2.2 and I would appreciate if someone could tell me is it possible just to update this last build over previous one but not to loose data or it just has to overwrite previous?
[HD2 Android NAND Development] mrbarnie:
how to really nand flash

hello,

up to now i used the sd-card version of it but i want to save memory and speed up the device.

therefore i wanted to flash version 2.3 nand with data on sdcard.

will the whole rom be NAND flashed? when i start the rom i see that MGLRD113 boots from sd card although i

flashed it with aroma installer for NAND+ data on ext)

please let me know what am I doing wrong, currently I have no clue what went wrong

thanks

mrbarnie
[HD2 Android NAND Development] clio94:
Τytung you are a great developer.But android in hd2 is not only you.Many people work on it.Many people try to do their best.If all these people made their forum for their kernel,roms,mods we as users had to go to thousand forums.Your decision not to answer to any questions in xda and

"demand" from users to go to a new forum i think is unacceptable.Android in hd2 works 3 years now, because of many people work.Other devs are good to start to build a new android version.You are good to fix bugs and giving a stable version.Everyone puts his little work to give to us as users a complete work
[HD2 Android NAND Development] tytung:
You misread my words.

I said that I won't answer "any questions related to my ROMs" on xda.

So any bug reports of my ROMs should be post in my forum.

The reason why I created my forum starts from this post. Please read it if you miss it. (Thanks to xda moderators: kin... and pul...)

Feel free to visit my forum or stay on xda.
[HD2 Android NAND Development] Good_vibes:
I see, so "they" wanna remain hypocrites.. That's the shame for the community and everyone around it! :mad:

Following wherever u take us tytung!
[HD2 Android NAND Development] clio94:
Οk i admit that i didnt know the whole situation.You`re right to do your move
[HD2 Android NAND Development] Rahil S:
Tytung you are the reason that HD2 is still alive and always updated with latest,stable,fast and smooth ROM .

Mod needs to understand this.

We are always there with you always.

Cheers to your great work, you absolutely rock dude.
[HD2 Android NAND Development] Nikola G.:
After installing the latest 2.3 version, the black screen during incoming calls still exists.

Does this needs a fresh install in order for the black screen of incoming calls to be fixed?
[HD2 Android NAND Development] agbommarito:
Power Button Mod

Attached is an updated power button mod for V2.3 of Tytung's JellyBean ROM.

This version is like the one I did recently for the V1.5 Tytung ROM. The options for having the button visible or invisible are no longer selected in the Aroma installer. Instead there are two button choices within the Cyanogen navigation bar settings menu. You can switch back and forth between these two options "on-the-fly". You can also disable the mod by selecting the "Empty" button.

Flash the attached ZIP file from recovery. After rebooting, go to Settings, then click System->Navigation Bar->Lock Icon. Click the small plus sign on the left side of the navigation bar, then scroll to the power button option you want and click it. Finally, click the Lock Icon again.

The mod adds two new softkey options to the navigation bar edit menu. The new softkeys function like the "power off" physical button at the lower right of the HD2. Click the softkey to put the HD2 to sleep. Press and hold the softkey to bring up the power menu. The main purpose of the mod is to prevent a little wear and tear on the physical button. HD2's are getting rather old, and for many of us the physical buttons are wearing out.

The two softkeys differ only in the coloring of the icons used. One softkey is termed visible. It displays a power icon that is colored white, so that it appears visible on the normally black navigation bar. The other softkey is termed invisible. It displays a power icon that is colored black, so that it is not visible on the navigation bar because it blends in with the background.
[HD2 Android NAND Development] bojanbl:
If XDA community doesn't understand you, any of us who appreciate your work will go over to your forum and leave XDA... I already registered on your site and will follow you because I think that you (with few other devs) keep HD2 up to date...
[HD2 Android NAND Development] AKRRKA:
In continuation to this and this and this and this, and this, and this, and this, and this especially for master tytung, more many thanks!

More thanks for you hard work!
[HD2 Android NAND Development] famewolf:
Donation made for fixing usb tethering. Transaction ID: 8FF34202T52193023
[HD2 Android NAND Development] gilbert32:
perhaps add this :p
[HD2 Android NAND Development] Lolo78:
Ok just buy a new Sd for Native Sd install and dowload the V2.3

I've made :

Task 29.

Install MAGLDR.

Formatted SD card with new FAT32 and EXT4 partitions using mini partition wizard (both as primary).

All is working expcept Data (3G) ...

what is the problem ?
[HD2 Android NAND Development] Osprey00:
FYI, the green "URL Protector" pages with the links to the individual download sites don't seem to be rendering properly in Chrome, at least for me. If it's happening to anyone else, you might be able to click on the dot hovering over the "htt" at the start of the URL to go to the download sites. You can also just put the URL into IE, which renders the pages properly.

Thanks to tytung for the new version.
[HD2 Android NAND Development] jully3881:
i think now it has some bugs so i want wait wait wait wait wait
[HD2 Android NAND Development] jerry608:
The 2.3 version seems to have a problem with the keyboard light, and the issue was not found in the previous version. the keyboard light is lighted when I touch the screen each time. any helps?

Thanks！
[HD2 Android NAND Development] googlephone:
Tytung,

V2.3 full nand install failed, stuck at "cyanogenmod" circle.

I redownloaded the rom from different links and tried with the same result.

flash back to V2.2, it is working again.

Anyone succeed in full nand install for V2.3???
[HD2 Android NAND Development] trungsoo:
i made a fresh install with every version from 2.1 to the new 2.3 of this rom and it's always working like a charm with no issue so far (only minor one such as graphic bug but nevermind). why did you guys have so much bugs which i have never encountered?

my system partition: 300
[HD2 Android NAND Development] googlephone:
Which link are you using for download?

My system is 300MB with 16MB free for V2.2 and 18MB free for V2.3 (checked in recovery).

I didn't do fresh install. Never had problem for upgrade before.

And flash back to V2.2 is working.

Maybe it's time for fress install but it's time consuming.....
[HD2 Android NAND Development] DaPicard:
2.3 BT not working :(

tytung: (Updated BT events. Not sure fix BT or not)

Does not work, but if you switch BT OFF and ON it works.
[HD2 Android NAND Development] NYLimited:
I am not sure but this version might need a little more space, especially if you have bad blocks. Not all HD2 are identical.

----

Often wrong. Never in doubt.
[HD2 Android NAND Development] trungsoo:
i always choose deposit link but i don't think that's related to your issue. maybe you should increase your system partition as [MENTION=770489]NYLimited[/MENTION] adviced
[HD2 Android NAND Development] 0perat0r:
I thought it stuck at CM boot animation too. this took longer than normal NexusHD2 CM 10 & 10.1 roms but after waiting like 7 minutes it booted up with cLK 1.5 300mb sys with NAND install.

Oh btw, after enabling zram at 18% it freezes after first boot. then after another reboot everything works like a charm. Thanx tytung!
[HD2 Android NAND Development] die_braut:
I have a special question about CM10.1:

I lock my phone with unlock pattern and when I try to unlock it, the unlock pattern is physically smaller than in CM10. There is, on the left side of the screen, a bar or something and I can slide the pattern screen to the right. I do not want that, I want the same lock screen as in CM 10, with the same size of the unlock pattern.

Can I disable these multiple lock screens and only have one lock screen?

I hope you guys can help me, this bothers me a lot.

Thanks :)
[HD2 Android NAND Development] AKRRKA:
CyanogenMod 10.1.0 Release
[HD2 Android NAND Development] trungsoo:
i found the mifileexplorer.apk in the mods folder alongside softkey and buildprop. did you put it there by mistake [MENTION=2677399]tytung[/MENTION] ? :P
[HD2 Android NAND Development] die_braut:
Solved I by myself:

There is an app called "Lockscreen Policy". There, you can disable the multiple lockscreen.

My unlock pattern is still too small, but its something :)
[HD2 Android NAND Development] rlichtefeld:
Under Settings > Lockscreen, select Maximize Widgets.

Rob
[HD2 Android NAND Development] rgshah3:
only a black screen after the htc logo!! anyone with the problem and fixes?