yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] Quentin himself:
If you even knew what was the error, you were laughing so loud! LOL. Doesn't exist an adb command in linux which will replace the Settings.apk by "my" modded one? Because Android doesn't let me replace it ^^...

Attached "modded" Settings.apk if someone succeed to install it without including it in the ROM.zip and flashing as an upgrade the whole ROM, please let me know :) : dev-host (can't attached since the .apk is heavier than 8Mo)
[HD2 Android NAND Development] AKRRKA:
How can use volume keys to unlock phone?

In CM10.0 V1.4a version was such a setting, but here I can not find.
[HD2 Android NAND Development] Kameirus:
ive had that problem before

and it was because my system partition wasnt big enough to add in the modded apk

---------- Post added at 03:24 PM ---------- Previous post was at 03:23 PM ----------

i beleive if you read the last 2 pages you will find your answer
[HD2 Android NAND Development] Quentin himself:
No problem with that I guess: 400Mo for system. Installing like any other apk didn't work therefore I force it by copying it with root access to system/app: doesn't seem to like it LOL. System.apk has stop unexpectedly.. Shutdown just after pressing OK. Then I can't access anymore Settings. And I can't access any other folders than ones contained in sdcard... Let's do a re-install :)
[HD2 Android NAND Development] MarkAtHome:
:laugh:

I love it, but would you please mod it for me so that it reads with a Boston accent?
[HD2 Android NAND Development] emottier:
????? I reinstall this script for DataonExt and Terminal free command shows 0 for swap.

I check for swap partition on my SD card. It is Swap(Linux) primary 2MB. Checked with Mini Tool Patition Wizard Home Edition on a W7.

What Am I doing wrong?
[HD2 Android NAND Development] Kameirus:
LOL Mark i dont think they have a font for that lol

---------- Post added at 03:36 PM ---------- Previous post was at 03:35 PM ----------

hmmms that is wierd then

there must be something messed up in the apk somewhere
[HD2 Android NAND Development] Quentin himself:
I just edited one line in res/value/bool.xml and recompiled it with apktool. If you want to try by yourself I provide the download link in my previous post ;)
[HD2 Android NAND Development] le_da:
I can confirm. same for me

I can confirm. same for me
[HD2 Android NAND Development] Kameirus:
yea i will give it a shot

just have to flash back to this rom on my other hd2
[HD2 Android NAND Development] Quentin himself:
Say if it helps.

Crap. I tried to replace manually the Settings.apk directly in the zip before flashing it.. Seems to not be the good way (Crash after accpeting language when it's the first install). I don't know what I can do and what is foolish, therefore I try anything I can :p

Reminder: If anyone of you succeed to install the modded Settings.apk, tell me how do you proceed :)
[HD2 Android NAND Development] Kameirus:
i tired it and got no where

rebooted and didnt have settings in the app drawer
[HD2 Android NAND Development] Quentin himself:
Sorry for wasting your time.

If someone else want to try, it seems that the value to be changed is

<bool name="config_show_volumeRockerWake">true</bool>

in the res/values/bools.xml file in Settings.apk

I just edited it with apktool and I did it wrong (a true beginner in Android cooking/modding).
[HD2 Android NAND Development] Kameirus:
you didnt waste my time ..if just been roaming about the forum cause i am bored lol
[HD2 Android NAND Development] frantisek.nesveda:
Did you sign the APK after compiling it? Because when you compile your APK in APKtool, it doesn't sign it. To do that, you must sign it again.

And, when trying to modify a system app, it is required to have the signature same as the original APK. To do that, do the following:

1) Take the original, unmodified APK. Let's call it "OLD.APK" for now. Then take the new, modified APK, let's call it "NEW.APK".

2) Rename those to "OLD.ZIP" and "NEW.ZIP".

3) Open both those files in a ZIP editor, I use 7-zip on Windows and WinZip on Mac OS X.

4) Copy the folder res and the file resources.arsc from "NEW.ZIP" to "OLD.ZIP" (overwrite the existing ones)

5) Rename the file "OLD.ZIP" to "Settings.apk"

6) Copy "Settings.apk" to the device, move to /system/app, set correct permissions, reboot and hope for the best.

I didn't try it yet, because I don't need volume wake, but I use this method when modifying LatinIME.apk and it works well, whereas when I don't sign the APK, it FC's all the time.

I'll modify the Settings.apk soon (approx. 10 minutes) and will post my results.

EDIT: It works!

After preparing the APK, I copied it to system/app, overwrote the original one, then the phone totally rebooted by itself, but after it booted back, it works well and the option to wake with volume rocker is shown and appears to be working well. (I'll post this again as a new post, so people can notice.) I've also attached the modified, working Settings.apk file.
[HD2 Android NAND Development] Quentin himself:
Oh maaan, just before sleeping. Now I stay awake to see your results :D (Don't worry, if you don't post quickly, I will fall asleep :p)

Big thanks to this small how-to, but.. "set correct permissions", do you mean "chmod CODE Settings.apk"? Which code is actually 644 (rw-r--r--)? Or setting permissions via recovery? (Does it make the same result with the same way (chmod or something else)?)

[OFF-TOPIC] (I allow myself to write this off-topic because it isn't the main subject and I really don't want to open a new thread or post anywhere for this small question)

Where do you, all devs, find how to cook ROMs ? I know there is some threads for Android ROM for Android Smartphones but I can't find some thread (in XDA or somewhere else) to explain how to deal with clK, MAGLDR, ppp, RMNet etc... when cooking a ROM. If you've time to give me your sources or how you learned (for HD2-only development (clK...) and/or whole Android cooking process), please send me a PM :) I will really appreciate ![/OFF-TOPIC]
[HD2 Android NAND Development] paulwoodward:
Thats brilliant... It sounds like a small thing but when you combine this with ButtonRemapper_v0_2.4.1.apk and disable all the front keys from waking the phone you can actually keep it in your pocket without it taking lots of pictures and ringing people at random!
[HD2 Android NAND Development] frantisek.nesveda:
It works!

After preparing the APK, I copied it to system/app, overwrote the original one, then the phone totally rebooted by itself, but after it booted back, it works well and the option to wake with volume rocker is shown and appears to be working well. I've also attached the modified, working Settings.apk file to the post with the guide.

Don't forget to set the right permissions to the file after the phone reboots, because they still are different... which leads us to the second part of your question:

I set the permissions via a file manager application on the device (I use this one), and I set them to -rw-r--r--, which is the code 644. I believe that repairing permissions in recovery would have the same effect.

[OFF-TOPIC]

I'm not really a dev or a ROM cook, I just modify some things some ways to my liking, but I find that XDA forums can be very resourceful when you don't give up the search after the first minute. I got the basic sense of how things are working in the HD2 by reading about people's problems and other people's advices for those problems. Also, I'm a kind of a tinkerer, I always try new things, and no ROM on my HD2 lasted more than a week. And I got a feeling that this one might just be the first, because it works very well for now.

[/OFF-TOPIC]
[HD2 Android NAND Development] Kameirus:
yes the one you posted does work

thanks
[HD2 Android NAND Development] MTN_HD2:
-delete

didn't read the last post ...
[HD2 Android NAND Development] Quentin himself:
Thank you for the application :)! For the fact that you need to sign system apk, I think I just misinterpreted a choice in APK Manager (option 4 : Sign apk : Don't do this if it's a system apk) that is in the "I just want to edit image and not code" part of the script >< Better read longer next time :/

For setting permissions, I don't even need to set them and the phone didn't reboot by himself (had to perform it manually) and it's working! Weird.

For the OFF-TOPIC, it wasn't just about you but all devs (Tytung, Anurag Pandey, macs18max, Seaman2k, Zeijters, etc.). I've spent almost a serious half day traversing XDA (forums, Wiki, etc.) thanks to the search function. But I think the language barrier is too much in this case (even in your mother tongue it's not really easy to find informations) and I certainly choose bad keywords. I'll carry on and try to learn by myself :) If devs can open my mind :D :p [/OFF-TOPIC]

P.S. : A half day for searching seems to be really not enough and ridiculously short for finding anything (Hummm.. That generation can't wait..)
[HD2 Android NAND Development] BlackGURU:
Thank you

---------- Post added at 11:02 PM ---------- Previous post was at 11:01 PM ----------

I found the link you spoke about, but they seemed to be for the desire HD, not the HD2, will they work, cos I don't want to mess up my device.
[HD2 Android NAND Development] Kameirus:
the work on any hdpi or xhdpi phone that has theme chooser

and yes they work on the hd2 ive been using them on and off since they were released

even purchased them
[HD2 Android NAND Development] devilpera64:
I don't remember how to change partition size :P i'm still on tytung ICS 4.0.4 on NAND (no DataExt). What's the procedure? :)
[HD2 Android NAND Development] CyberClaw:
I can confirm, this happens to me as well.

When you get an sms notification, you get the reply/read/call options beneath the notification.

Read and call works fine, reply on the other hand doesn't open the small reply window, and reboots the phone.
[HD2 Android NAND Development] sonalikagaur:
Battery Status Style > "Circle with Percentage", not working, just shows a circle, no percentage value.
[HD2 Android NAND Development] NYLimited:
Isn't there an iPhone app for that? :eek:

---

I’d like to have an inferiority contest, but I don’t think I am good enough.
[HD2 Android NAND Development] zain0300:
thats not true, working fine for me. And it doesn't show the percentage if its on 100.
[HD2 Android NAND Development] sonalikagaur:
Ohh...thanks. Mine was 100% since I installed the ROM.

Just noticed.

BTW, how to disable lock screen animation.?
[HD2 Android NAND Development] mac2ric:
No Data

Have installed JB & ICS roms. Really liked JB but data do not work so have to stay on ICS till fix is provided. Please let me know if a fix is available.

Thanks for your hard work and contribution!
[HD2 Android NAND Development] zain0300:
what do you mean by lock screen animation? Screen turn on and off animation?
[HD2 Android NAND Development] singhpratik87:
People have mentioned earlier in the thread that they reflashed the ROM with PPP in aroma installer and data IS working.
[HD2 Android NAND Development] sonalikagaur:
Yes, CRT lockscreen animation. How to disable it?
[HD2 Android NAND Development] zain0300:
i guess there ain't no option to disable it at least i couldn't find it
[HD2 Android NAND Development] meenjedatnou:
I disabled mine, I think it has to do with putting all animations off instead of 0.5x or 1x.
[HD2 Android NAND Development] zain0300:
yeah but that option disables all the animations not just CRT that you said you were looking for
[HD2 Android NAND Development] shost:
USB charging

Great rom, thanks. I have problem with USB charging, When i connect the phone ot the computer it charges, but after a while screen goes off, orange led is on, but asfter another minute or two led turns off and when i unlock the phone there is no charging indicated, i have to disconnect and reconnect the usb to charge again. Led goes off when logcat says "battery_level_check: done with thread".

Logcat
[HD2 Android NAND Development] Nixda99:
init.d folder on NAND/DataOnExt

2MB are too small, primary is OK, I have 512MB, 256MB are also enough. Can you make a screenshot of your partitions, probably it is the wrong order.

When I read this post, I have the guess that the init.d script's probably only working on NativeSD. Because I'm on NativeSD, will switch to DataOnExt later.

Can somebody confirm that init.d script's are working on NAND/DataOnExt???
[HD2 Android NAND Development] meezo:
i'm still struggling with no data, tried the build.prop edit, still no luck....

any other suggestions ?
[HD2 Android NAND Development] Geeba:
So after read through there seems to be a few problems.... the main being the data not working?

Now I'm not lazy or unappreciative of all the hard work that goes into these ROM's but for less techie people perhaps the front page could be updated with the issues? I'm sure it would save half the posts in the thread... maybe mark it as beta or only the brave as there is issues? - thats how its always been on the XBMC community for example.
[HD2 Android NAND Development] meenjedatnou:
I fully agree, add known bugs and fixes topic to TopicStart page. Saves lots of valuable time of reading thru al dozens of pages. And later on it will become hundreds of pages.

Another found bug might be: Clock freezes sometimes. Not Force close, but just time stands still while all the rest functions perfectly. After a tap on the clock or a reboot, time goes on normally, so it is not a high priority but weird bug.

Furthermore I am now running the ROM 3 days to my pleasure all is working very fine and smooth ! Perfect job again Tytung
[HD2 Android NAND Development] Titicaca:
percentage working for me as well...but i got the problem with signal on notice bar, which shows very week signal where i go, but i can still make call and send text messages. :confused:

NativeSD boot from haret
[HD2 Android NAND Development] Southerncrosser:
Hi @ Slashas69, i have the same Problem like you, sometimes i can not wake up my Phone from deep Sleep.

Have you or other found a solution for this?

I tried to set the minimum Speed to 384MHZ, but it dindnt work for me. Most of the time i can not wake up the Phone.

I mean it s better then i charge my Phone.

How can i set the Animations to 0,5?

Thanks Southerncrosser
[HD2 Android NAND Development] emottier:
Ok, thank you answering. My mistake I check again my Swap partition and it the 3rd one, 1020 MB, Primary and Linux swap.

I am DataOnExt Magldr and swap shows 0 with free command in Terminal.
[HD2 Android NAND Development] shost:
I try to disable screen off when charging (in developer options) the result is the same, screen stays on, but charging stops and logcat says "battery_level_check: done with thread"
[HD2 Android NAND Development] MTN_HD2:
please read/search the thread before posting a problem. using a file explorer /w root access open /system/build.prop annd change "ro.telephony.ril.v3=signalstrengthgsmss,singlepdp,apptypesim" to "ro.telephony.ril.v3=signalstrength,singlepdp,apptypesim"
[HD2 Android NAND Development] meezo:
thanks, i've followed thread since tytung gave us this wonderful rom.

I've updated the build.prop, i get more signal bars yes, but still no data.

ps : my new build.prop looks like this ro.telephony.ril.v3=signalstrength,singlepdp,apptypesim

going to try increasing syspartition to 300 from 290 and see if that helps
[HD2 Android NAND Development] soterman:
Installed it yesterday, after formatting the sd card through recovery, and wiping (task29) the phone through the HD2 Tool. Mine is an EU 512Mb HD2, installed everything on the SD card (a red/grey Sandisk Ultra 32gb)

Rom is fast, everything that is said to be working is working, however the camera preview is distorted 50% of the times I start the app, not all the time. Rom is generally very fast, no real problems here, except one niggle. On occasion the screen doesn't wake up when I get a call. I have to press the back button and then the screen wakes up.

All in all, very impressed and happy with this rom.
[HD2 Android NAND Development] Lincoln357:
No luck here..installed on a 400/6 partition,full wipe,DataOnExt,formated ext4,did everything by instructions but stuck on CM boot animation.Tried twice and it was the same both times.I've flashed phones many many times and I know how to do it,but I don't know why it won't boot.I flashed a few roms on same partition (Xylon,MIUI resurrection,Pixeldroid...) and all of them booted and worked perfectly.I had to flash MIUI again after that and it works like a charm.

What could be the problem?
[HD2 Android NAND Development] meezo:
seems i solved my own problem, or i was just abit daft :confused:

flashed rom with PPP and it worked, the data that is....

but i still needed to edit build.prop to get all signal bars
[HD2 Android NAND Development] meezo:
for those keen, when putting my phone in my pocket, the lockscreen goes over to the camera.... damn annoying.

since there is no setting to switch this off i found this "Lockscreen Policy"

Google play https://play.google.com/store/apps/details?id=com.wordpress.chislonchow.deviceadminkeyguard&hl=en

xda http://xdaforums.com/showthread.php?t=1990756

or apk attached
[HD2 Android NAND Development] navidnouri:
Best dev ever
[HD2 Android NAND Development] jully3881:
i think there are lots of bugs, so i will wait wait wait
[HD2 Android NAND Development] zoUphd2:
I think you should install the ROM to see your self .. Just use ppp this time.
[HD2 Android NAND Development] meezo:
agreed that the only issue i had, otherwise the roms is super smooth!

but this is expected from tytung, brilliant!
[HD2 Android NAND Development] 1118nero:
is NativeSD working?

is NativeSD working?

I just have loop in boot animation....
[HD2 Android NAND Development] robisme:
Built-in file explorer is able to edit easily the BUILD.Prop.

1) give File Explorer Root permissions (parameters)

2) browse to root/System

3) Long press on Buil.Pro, then "open with". Choose "editor" with the blue icon.

4) edit, save (floppy appears on the upper right corner

5) reboot. enjoy.

No need to buy another tool or to mount the partition on the PC

thanks for this great rom.
[HD2 Android NAND Development] MTN_HD2:
i tried "appty pesim" but it didn't work, so i removed the space then it did... idk. whatever works for you
[HD2 Android NAND Development] schlumpfschlaubi:
i have no working VPN too. related to which app i use I get the error "no network" or "network device not available" or "kernel has no tun.ko"

i must go back to 1.4a because VPN is important for me in daily use. :(

ps: system configuration in signature
[HD2 Android NAND Development] Kameirus:
good find ..works great

thanks
[HD2 Android NAND Development] m_dht:
AWESOME :good:, downloaded, testing it for few days... BRB
[HD2 Android NAND Development] asim.khan4:
SD Card / EXT mount

Since this morning my phone suffered a standby resume issue thrice. Then I pulled out the battery, waited for few seconds and gave it a start, it wont boot the rom, so I went into AD recovery for some basic troubleshooting and thats when I realised that I could not access my SD Card from recovery. I had to mount the SD card and EXT partition in recovery and then boot successfully.. any idea anyone why would this happen? or what would cause the SD Card / EXT partition to unmount?

I am on NativeSD version with MAGLDR 250MB (custom install).. and I am using a Sandisk 32GB UHS-1 card

---------- Post added at 09:29 PM ---------- Previous post was at 09:18 PM ----------

Installation aborted is what I got.. Is that what you got too?
[HD2 Android NAND Development] Lincoln357:
At my first 2 tries to flash this rom I got the message in Aroma installer: "no ext4 partition" or something,like there was no ext4 partition,it managed to install the rom from the third attempt.This is the first time I saw something like this :confused:
[HD2 Android NAND Development] asim.khan4:
try mounting the SD Card and EXT partition before install .. just something that may help
[HD2 Android NAND Development] Lincoln357:
I did it at third attempt...but got stuck on boot animation.:(
[HD2 Android NAND Development] asim.khan4:
As recommended by Rahil Keyboard backlight controller did the trick :)

---------- Post added at 09:46 PM ---------- Previous post was at 09:45 PM ----------

The boot animation lasted for almost 5 mins when I installed ..
[HD2 Android NAND Development] Lincoln357:
Yep...and I waited for almost 30 mins until I pulled out the battery,same happened again and then I flashed back MIUI Resurrection,which works perfectly :confused:
[HD2 Android NAND Development] arminvm:
I don't know of it is only my problem or others are expriencing it too. The notification sound is very load! I mean I cannot set it to a low volume and at every amont it is like if I have set it to a very high volume (but it is set to the minimum possible volume). Any idea?
[HD2 Android NAND Development] zain0300:
Asim bhai the zip i attached ain't flashable. You have to extract it and push the file to system/etc/init.d and set permissions. If you are using this rom on ext4 (NativeSD) it should work and you do not need no application. Here is the zip again give it a shot
[HD2 Android NAND Development] asim.khan4:
Steps I followed

This is how I went about it if that helps in anyway buddy

- wipe task 29

- install MAGLDR with 250MB partition (5MB cache size) for custom install

- SD card --> FAT32 primary partition with 32KB cluster size 2GB EXT4 partition with default cluster

- Install Tytung's Rom

- boot into recovery, Set SD BOOT directory to the 'NativeSD' folder and Boot Source to android on SD

- Reboot Recovery

---------- Post added at 10:25 PM ---------- Previous post was at 10:20 PM ----------

Ah - gotcha.. Pathano wala damag chal raha tha tab ;) .. for now I have got what I needed, but its a good script to keep handy for future use.. Shukhriya!!
[HD2 Android NAND Development] zain0300:
hahaa nai ho jata hay aisa.

Yeah its heck usefull almost works with every rom.
[HD2 Android NAND Development] mainweb:
It seems like all 4.2.2 ROM have problem with hard button backlight

and it seems at the moment this is the only solution.....

Zain0300 why don't you get in touch with Devs so that they could integrate into ROM.

so we don't have to do it manually

Thank Zain0300
[HD2 Android NAND Development] Rahil S:
If you problem with hardware key light try an simple called Keyboard backlight controller from play store.

It is free and works great.
[HD2 Android NAND Development] mainweb:
Thanks,

I have this issue with all 4.2.2 ROMs

but I prefer that Zip file from Zain0300. it works just fine
[HD2 Android NAND Development] asim.khan4:
SD Card / EXT mount

Anyone got an answer for this yet????

Since this morning my phone suffered a standby resume issue thrice. Then I pulled out the battery, waited for few seconds and gave it a start, it wont boot the rom, so I went into AD recovery for some basic troubleshooting and thats when I realised that I could not access my SD Card from recovery. I had to mount the SD card and EXT partition in recovery and then boot successfully.. any idea anyone why would this happen? or what would cause the SD Card / EXT partition to unmount?

I am on NativeSD version with MAGLDR 250MB (custom install).. and I am using a Sandisk 32GB UHS-1 card
[HD2 Android NAND Development] pifko:
i forgot to disable soft keys when upgraded rom, do i need re-flash now or there is another way to disable them ?
[HD2 Android NAND Development] TeleMaks:
There is a very simple programm - "Softkey enabler-disabler". Only 2 functions: enable & disable. :laugh: Enjoy!
[HD2 Android NAND Development] Lincoln357:
No need to flash rom again,you have a flashable zip file in OP,flash it via recovery and it will open Aroma installer with 2 options, enable or disable,and that's it.
[HD2 Android NAND Development] irotier:
A really nice ROM! its smooth, really fast, pinch2zoom works perfekt - you made a good job.

My only problem is that i am missing xylon-settings, so i have to go back to my old rom, knowing there is anoter one running smoother :(
[HD2 Android NAND Development] TeleMaks:
Linkoln357's method is better, use it!
[HD2 Android NAND Development] pifko:
didnt work.

what is OP ?