yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] pathologo:
No, not on 20120528. But after having WiFi on for a longer period and then turning it off won't establish a mobile data connection.

Toggle airplane mode, toggle radio, toggle data connection, toggle 2G/3G - nothing works, a reboot is required to get mobile data working again.

Google still didn't fix that? In ICS... the newest Android??
[HD2 Android NAND Development] kylew1212:
Are you guys running clk or magldr? I know this is a long running argument but that could possibly affect your mobile data connection..

I prefer clk 10-1 over magldr, and I've been using it for months. However I've been using magldr for about two days to do some testing on wifi calling and I've had a much better data connection. With clk I have had the issues you are describing.
[HD2 Android NAND Development] ph03n!x:
I have a proper data connection, and I am able to get a data connection back right after I turn off wireless - all that works. What I am not able to get to work is manually choosing if I want to connect through 2G (EDGE) or 3G (HSDPA). I have a Notification Widget for toggling between 2G/ 3G/ 2G+3G, and now no matter I do, it always stays in 2G+3G. Even if I choose "Use only 2G networks" in settings > wireless & networks > mobile networks, it automatically unchecks itself if I get back to the same menu, and I get 2G. This is if I set the build.prop property ro.telephony.defauly_network to 3 (GSM PRL mode). If I set it to 0 (WCDMA preferred), it automatically picks HSDPA as long as there is a 3G signal. I am not able to change this property using *#*#4636#*#* either - it automatically falls back to what I had set in build.prop.

Problem is I have an unlimited data plan for 2G and 2GB limit for 3G - and I use 3G when I am tethering or want to look something up real quick. I let the phone churn away in 2G mode for all sync'ing and background data stuff. Now that is being a pain.

I swear by cLK - Have used Magldr only during the initial days of NAND, have been on cLK ever since. Am currently on cLK 1.5.

Can you enable the Notification Widget for 2G/ 3G toggling (settings > system > notification drawer > Widget buttons - check Toggle 2G/ 3G, scroll down and choose 2G/ 3G Only/ 2G+3G in Network modes) and see if it toggles without problems between 2G and 3G?

I will be hooking up my phone to the laptop in a few, and will see if logcat has anything. But I remember this working just fine on the 15th nightly.
[HD2 Android NAND Development] c1cl0n:
@orange_24

Welcome to SD/MAGLDR thread of this ROM

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

=)
[HD2 Android NAND Development] kylew1212:
I would check it, however I am currently testing paranoid Android for wifi calling. I prefer call, but I can't deny I seem to have had a much better data connection today. I live in the country and service changes from g - e - 3g depending where I am at and I think that with magldr I've had a more stable data connection because it has not dropped yet even on g I have a stable connection. Don't get me wrong I'm a huge call fan!
[HD2 Android NAND Development] pathologo:
Even after really long periods of nonstop WiFi? E.g. after a whole night and longer?

I assume fix_permissions also doesn't help?

This happened with various builds already?

Do you make any changes to the ROM before flashing?
[HD2 Android NAND Development] ph03n!x:
Lol, I guess autocorrect is changing cLK to call. For my usual places of travel/ home/ offices, I have had no issues whatsoever with cLK and data.

Yes, I have Wifi on if I am around a access point (Home and office), and data comes up when I am away - Wifi is usually always on, and it has always switched to data when am not around an access point.

I have already done a bunch of troubleshooting, including fix permissions. I make a few changes before flashing - like add gapps to the ROM's zip, delete a few apps from /system/apps, etc. I will be flashing a stock ROM later today after backing up to make sure it is not something I am doing that is causing this.

I have seen this happening on the 23rd build and the 29th build. Before that I was on 15th build, which worked fine for me. And I did not flash any builds in between...
[HD2 Android NAND Development] kylew1212:
Yes haha my bad :p I meant clk instead of call. I think possibly my problems with clk is because of where I live.
[HD2 Android NAND Development] wheeliemonster:
Anyone? HW video decode working in the latest nightly? This is my final issue with ICS on HD2. I'm no coder/dev, so I can't fix it but am eagerly awaiting a fix.

PS. that's not to pressure any of the devs on here, as the HD2 has already come way WAY further than anyone could have expected! :)
[HD2 Android NAND Development] ph03n!x:
Sorry I missed that - yes, H264 with hardware decoding is working. I tested it by playing the Transformers movies that comes with the phone (MPEG4 (H264) 800x480 23.98fps/ AAC 32000Hz Stereo 63kbps). BUT the movie is not smooth - not as smooth as software decoding. I am using Moboplayer with the arm v7 codec.
[HD2 Android NAND Development] ph03n!x:
Here is a logcat for the 2G/3G toggling problem I had mentioned earlier.

I tried this with the stock kernel as well as Marc1706's kernel v0.1.2, same prob.

The logcat is a CSV file, making it easier to read in a spreadsheet program. It would also open just fine in any text reader.

Am now going to backup my phone, wipe everything and flash just the ROM to see if there is anything different that way...
[HD2 Android NAND Development] lamahgra:
sorry

a lttle bit too late,,,,

using mxplayer an it works "ok"

on my gtab it worx a lttle bit "smoother"
[HD2 Android NAND Development] ph03n!x:
Ok, I be damned! :D

I have a custom script that would move my /data/app, /data/app-private, /data/dalvik-cache, /data/misc and /data/system to my SD-EXT partition and symlink them in /data.

I moved back the system and misc directories back to /data, and 2G/ 3G switching is working just fine! <BANG BANG BANG> That is my head, had been banging on it for 3 hours now :D

---------- Post added at 04:22 AM ---------- Previous post was at 04:15 AM ----------

Alright, if it still matters - I installed my stock T-Mobile WM6 and the MAC addresses I have now with Marc1706's kernel v0.1.2 matches with what is there in WM :)
[HD2 Android NAND Development] Arref:
How do I update through Goo manager? When I try to flash through goo, it reboots but doesn't automatically flash in recovery. Do i have to manually go into recovery and flash from there.

Also do i need to wipe cache and dalvik cache?
[HD2 Android NAND Development] pathologo:
That's not what I mean. ;)

I mean nonstop WiFi for a long time, more than just a few hours, and being connected to an access point all the time without any interruption. The problem only occurs under this condition.

Also let us know any news regarding the 2G/3G toggle.
[HD2 Android NAND Development] milaq:
bootloop in latest builds

there is a problem with the current init binary (upstream) atm. will try to find out what exactly is happening.

for now you could flash an older boot.img (e.g. from 05-29) over the current nightlies as a workaround.
[HD2 Android NAND Development] pathologo:
I clearly remember GooManager saying that OpenRecoveryScript support is needed.

Wiping cache and dalvik cache is always recommended after installing a different ROM build.
[HD2 Android NAND Development] ph03n!x:
I meant the same- wifi continually on overnight (home), or for 9+ hours (work). Data switches back on a soon as I am on the road, away from the signal.

And I fixed my 2G/ 3G issue, check couple of posts above :)

_

Swyped from my HTC HD2 (ICS 4.0.4)
[HD2 Android NAND Development] buccaneerbob:
You can flash from GooManager using TWRP 2.1.

Download twrp-leo-2.1.0.img from here http://techerrata.com/browse/twrp2.

Then flash using fastboot or adb. Instructions here http://teamw.in/project/twrp2/80

---------- Post added at 02:12 PM ---------- Previous post was at 02:04 PM ----------

Yep that works. 20120531 boots fine with the boot.img from 0529.

Cheers
[HD2 Android NAND Development] Dr_Grip:
I can confirm both of your posts: For me, data re-connects when leaving the range of my home WiFi but sometimes, after extended periods of being on WiFi, data drops and does not come back on when I turn off WiFi, even if the phone is not connected to a wireless network and has a mobile data connection established.
[HD2 Android NAND Development] pathologo:
I'm also using TWRP. It's a great recovery, isn't it? :)

I wanted to give a hint to Arref by mentioning OpenRecoveryScript. ;)

I also wanted to give 4EXT Recovery a try, although it doesn't support OpenRecoveryScript, but it seems there is no HD2 port available, yet.

This nasty Android bug has a long history.

When using MAGLDR, it's quite simple to fix by toggling airplane mode.

But when using cLK, nothing works, you have to reboot. :(
[HD2 Android NAND Development] wheeliemonster:
Thanks for that guys. Unfortunately, I have no idea what that means for every other ROM out there! :D:eek::D:p

I presume then, that there is something in one of the CM9 libraries that is doing HW decode that's compatible with our current kernels.

Is there a dev who understands the process who may be able to explain if this is "portable" to other ROMs and whether it brings us any closer to working HW video decode on our HD2s with ICS?

Thanks
[HD2 Android NAND Development] clio94:
H264 video decode means that we can see flash videos in web sites so smooth like sense gingerbread roms with marc kernel or it is only for mp4 videos we have in sd card?
[HD2 Android NAND Development] raff5859:
i can't update this rom from 29.05, in bootanim i have freeze and reboot :X

but when i flash again 29.05 all work good, how fix this?
[HD2 Android NAND Development] Anurag pandey:
Unzip both the roms.replace the boot.img from 29.05 rom to latest rom.compress the latest rom.now u can boot
[HD2 Android NAND Development] clio94:
If you see 5 posts before you`ll find the solution in the problem you have.
[HD2 Android NAND Development] zagitta:
I have the exact same problem using the Danish dictionary and can confirm that the letter 'l' and then 'e' will crash the keyboard...

Other examples of combinations that crash the keyboard after the last letter:

ell

elæ

elø

(els... works fine oddly enough)

Could someone look into this issue?

Thanks for the ROM and in advance for the help! :)
[HD2 Android NAND Development] pathologo:
Can somebody explain to me why with this ROM I cannot find/install the app Google Search, whereas with tytung's ICS ROM it works without any problem?

This is also the case with other apps, so please don't come and tell to download and install the .apk.

Just to let you know, it's not a problem with the density and adjusting the build.prop doesn't help.
[HD2 Android NAND Development] clio94:
Guys about data clk problem.I see that in cm9 31-5 the file libhtc_ril_wrapper.so is different than the one that tytung has inside his latest kernel zip file.And also in /system there is no default.prop file that "tells" to the os to use ppp connection

Maybe is this the source of data problems?

I tried in clk v1.5 the 31-5 rom with tytung kernel (initrd.gz was from magldr patch that exists for this rom) and clk ppp patch from his kernel zip and i didnt see any strange behaviour

H264 work ok for mp4 videos i have in sd card but flash videos in web sites continue to be very laggy :(
[HD2 Android NAND Development] Anurag pandey:
U have to flash gapps
[HD2 Android NAND Development] Dr_Grip:
Would you please take your I AM A CUSTOMER AND I DEMAND TO GET HELP attitude to people who you pay and pretend to have some manners as long as you are on xda, please?

Also, this.
[HD2 Android NAND Development] hengsheng120:
If you did manage to install the old google search from the market you'd break your ics search and you'd uninstall it anyways.
[HD2 Android NAND Development] beileroord:
Well i was using this ROM a while back and noticed they had a customized 4EXT in their THREAD, i used the fastboot method (6 Mb recovery Part) to flash the .img under clk 1.5rc1 and that worked well for me and my precious HD2 :D

The Download i took was Recovery 7/172/7 for EU and US running an EXT Partition: TBD_4EXT_New_7_172_7.rar.

i re upped it to zippyshare just in case :p ; TBD_4EXT_New_7_172_7.rar

http://www16.zippyshare.com/v/87165090/file.html
[HD2 Android NAND Development] clio94:
With this recovery in clk,if you charge with powered off mobile it will not open, and you`ll need to pull battery or reset from red button
[HD2 Android NAND Development] pathologo:
Nope, that's not the solution. It has nothing to do with Google apps.

You surely need an attitude check, smartster. Or maybe you need to get some... grip?! Go troll elsewhere.

/plonk

It seems you didn't read carefully:

Nice find! :)

Thanks for that, I will have a look.

Btw, did you also try TWRP? If yes, what's your opinion about these two and how do they compare? I only find comments praising 4EXT, but with no explanation at all.
[HD2 Android NAND Development] nygmam:
Actually try it again. After my issue with bootloop on 53012, I wiped all partitions except data. I reinstalled 53012 with the bootloop, but the reverted to 52912. on first boot my search bar was gone, market didn't work and apps were missing exactly as described. I went ahead and flashed the gapps and all was restored. So the advice given was good advice, and I hope you did a wipe, and reflash both the ROM and gapps, and confirmed that all flashed correctly. you can get the 429 version of gapps if you like, i use them and they seem to work well. Not to mention I was also going to post the exact sae response, so if three of us fixed it by flashing gapps, and have everything working fine, and you are using the same ROM and gapps but not seeing anything, I would suggest redownloading and reflashing as something is not right if this didn't fix your problem.
[HD2 Android NAND Development] hengsheng120:
You are not being very specific then, and you did not give any details other than 'hey i cant find my apps using this rom' and gave a bad example of the Google search app in the play store which is clearly not compatible with ICS itself. That doesn't help other people in finding the problem or solution.
[HD2 Android NAND Development] Dr_Grip:
Let's try to not make this a "I am offended"-circle. I overreacted there, sorry.

On a more productive note: I went through the CM9 commits but was unable to find anything regarding our boot.img issue. Does that mean it's still mix and match with an older Nightly in order to get it booting?
[HD2 Android NAND Development] milaq:
there were a couple of changes in system_core to the init binary. didnt have time yet to investigate further. maybe ill have some freetime during the weekend.

Sent from my HP TouchPad using my fingers
[HD2 Android NAND Development] Dr_Grip:
Take your time, the fix is simple enough. Just wanted to know if I have to apply it ;)
[HD2 Android NAND Development] nygmam:
Great news. Thanks for looking in to this. On another note, I have been flashing a file to fix the video camera flash, and it seems to solve the problem. Someone had posted a referance here to it, but din't provide much more. The file is hd2-hwvid-hwa-05042012-signed.zip (Credits to rapmv78). Can you take a look at what he changed in his file, and add it to the nightly build? It would fix the video camera and save me a step :)

Last nights version still looped, so what ever commits messed this up are still there, and am trying my hacked 060112 now. Just finished flashing, and am booting up for the first time, but it looks to be working, with the 052912 boot.img inserted, so still need to apply that fix, but by now you probably knew that ;)
[HD2 Android NAND Development] a-st:
I love this ROM because IT is Rock stable!!!

There is just one thing that's strange: the battery drain. My screen is always at low brightness but it still tells me that the backlight consumes most of the battery

View attachment 1098890
[HD2 Android NAND Development] orange_24:
hi every one ...

a few posts before I asked a question about problems with MMS. Does anyone have similar problems? Is there a solution?
[HD2 Android NAND Development] beileroord:
Well now i am using the TWRP in this thread and it does what it has to do only imo somewhat quicker ;) maybe in time the features like there are in 4ext like repartitioning sd card etc. might be built in this one too.. or the ability to delete folders etc. ^^

Best part i like is you are able to flash 10 zips @ once in TWRP..

Running 31 05 nightly (boot.img from 29th ;) ) atm with the full gapps and the 40ad2sdx-a2 script and approx 150 apps :eek: and none issues @ all.

In holland i got vodafone provider and with Clk 1.5rc1 and the TWRP recovery i got no issues @ all with the data connection.. :)
[HD2 Android NAND Development] Dr_Grip:
I think this code should not go into the ROM repositories, but into the CM9 upstream as, to my knowledge, it is not a HD2-specific problem. You should talk to rapmv78 about submitting it.

To my knowledge power management for the kgsl graphics driver is not yet implemented - so it's not the backlight but the GPU using all this power. At least that's what I think.

EDIT:

I don't use MMS, sorry, I can't help you.
[HD2 Android NAND Development] marc1706:
I'm pretty sure it's the backlight that is using a lot of power. BTW, the gpu power management can't be implemented as the leo doesn't support that. I think devices with a MDP41 or newer support. For what it's worth not even the HTC Sensation supports it and I'm not sure about the HTC One S.
[HD2 Android NAND Development] ph03n!x:
Dont go blindly by this. I'd suggest you install BetterBatteryStats (there is a free XDA edition in the forum), and see what is holding partial wakelocks since the last time you unplugged from charger. That will give you a better idea.
[HD2 Android NAND Development] milaq:
hot reboot fix

alright, i just fixed the hot reboot problem.

it seems like the changes to the init bin made it stop at boot while chmodding q6venc to 666 (660 is enough afaik).

https://github.com/cmhtcleo/android_device_htc_leo/commit/51247e3fce990aba081420e93ce9c5f281a08840

next build should boot just fine.

cheers
[HD2 Android NAND Development] Dr_Grip:
Thank you. I did not know that. Rick's post I linked sounded different, so I was misled by one of the best :P
[HD2 Android NAND Development] Rick_1995:
I mentioned basic pm ops like shutting down rail which indeed leo does support, However, leo's gpu and infact even adreno 205 are not able to scale frequencies, (Sensation CAN do it, they have 3~4 power levels iirc). MDP has nothing to do with the gpu, they're different pieces of hardware with different jobs and are not related to each other in any way :confused:
[HD2 Android NAND Development] marc1706:
I was talking about the footswitch control via mdp. That won't work if the MPD revision is below 42 and the leo has the revision 31.
[HD2 Android NAND Development] Rick_1995:
internal power rail code is working.. Don't need footswitch, I'll check if doing that makes any difference to power consumption (maybe tomorrow). What about desire ? It has mdp 31 too but footswitch seems to be working there ;)
[HD2 Android NAND Development] nygmam:
I think some changes have been made upstream, he mentions a library specifically, but obviously not all. So while I will ask, I think it is still worth a look at incorporating some of his mods here.
[HD2 Android NAND Development] marc1706:
Footswitch is a nicer implementation of the power rail code.

Footswitch is not really working on the bravo:

http://pastebin.com/B5QAYP3U

Just look for footswitch-pcom. ;)

Meanwhile it says this in my kernel:

regulator: fs_gfx3d: normal
[HD2 Android NAND Development] buccaneerbob:
That fixed it. 20120602 works perfectly without having to copy across the boot.img.

Thank you.
[HD2 Android NAND Development] lamahgra:
02062012 -.. worx stable and without bootloop bug

thx@all who make that possible...
[HD2 Android NAND Development] jjpdijkstra:
is it me?

My Youtube stutters and flash turns up with grey screens? Any suggestions for a rom that is just solid out of the box? Lightweight as well? Don't want to use link2sd for only 10 apps..
[HD2 Android NAND Development] nygmam:
Look back a bit for my post on video camera. There is a link to a video camera fix. Go there, download the file I show in the post and also click on the YouTube fix link on that page. Flash both and see if that fixes your camera and YouTube issues. It fixed mine.
[HD2 Android NAND Development] pirlano:
I hope they will be included in next nightly :)
[HD2 Android NAND Development] beileroord:
well encountering some issues with wifi beeing on all night, (CLK 1.5 with Build 03-06) then its best to disable / enable it again since its reaaaly slow when u wake phone up after some hours.. any fix for that ? other then that great work on CM9 all seems to be working just fine..

about to flash the "video fix" too :) had some mp4's and some divx not playing smooth.
[HD2 Android NAND Development] milaq:
after short testing i updated the proprietary adreno drivers to the ones released by qualcomm.

https://github.com/cmhtcleo/android_vendor_htc_leo/commit/d4a84da387f2ff89d22d430cc37b4118b0b24160

pls report back in case of any issue (apart from issues already present before)

thx
[HD2 Android NAND Development] alex91powe:
the driver works well and no problems ... I'm testing them for a few days ... but I have a question .. when you upgrade the kernel with the latest news?
[HD2 Android NAND Development] Dr_Grip:
Did I miss some patch that was released after milaq's last kernel update? Link, please!
[HD2 Android NAND Development] alex91powe:
I spoke simply of the latest news about the mac adrress .. but when I spoke and was not even half an hour were uploaded: D
[HD2 Android NAND Development] a-st:
Thank you very much milaq!

Latest nightly is awesome and smooth as hell!

WIFI, BT and DATA are working fine here. Thank you for this awesome nightly :D
[HD2 Android NAND Development] daedric:
I've noticed this is (probably) one of few roms that comes by default for CLK with a patch for MAGLDR (most do the other way around, patch for clk).

Assuming i don't wan't anything with Android on SD, or Windows Mobile/Phone, would you advise CLK instead of MAGLDR ? I've heard a few issues with data, is this still true today ?
[HD2 Android NAND Development] ph03n!x:
PPP is pretty stable in ICS & cLK 1.5, at least for me. Not that I had any issues in Gingerbread and cLK 1.4..x or 1.5 either. However, a lot might depend on where you are.

@milaq - a related question. Are we using the b4 or b5 version of the cLK ril wrapper, can you tell please?
[HD2 Android NAND Development] milaq:
we're using 0.8b5 by cedesmith

clk is default mostly because magldr doesnt support boot.img style kernel/ramdisk (yet).

Sent from my HP TouchPad
[HD2 Android NAND Development] kylew1212:
I am a huge clk fan, especially since 1.5 has been released. However a few days ago I switched to magldr to do some testing with wifi calling. I have been using magldr for a little over a week compared to probably 1+ years of clk (1.3, 1.4, 1.5) and my data connection over the last week has been unbelievably better. I like everything about clk better but I can't deny the better connection I've had recently. Magldr has been better on connections in every way. In remote areas, and good service areas.