yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] ph03n!x:
Ah ok.. I checked http://cyanogenmod.arif-ali.co.uk/rom/ and thought the updates got stuck- maybe I missed it because of the dates. I can see a ROM 12th July now in Goo as well as in your server.

On the other hand, the update (from Goo, dated 12th) has a boot image, and does not seem to have anything to delete the ppp file in case we are moving from Magldr yboot to rboot. So right now Magldr users are going to have problems :)

Looks like the latest builds have raw boot images (like native Android phones). Right now, to use it in Magldr, you have to do this:

Backup your current ROM (assuming you have a previous nightly) in ClockWorkMod

Flash the following partition layout in Magldr - make sure you have a recovery-raw.img in the same folder as your flash.cfg

misc ya 1M
recovery rrecov|ro|nospr filesize recovery-raw.img
boot[B][COLOR="Red"] rboot[/COLOR][/B]|ro 5M
system ya 150M
cache ya 2M
userdata ya|asize|hr allsize

Boot to CWM and flash the ROM

In CWM, mount /system

In a command prompt window on your computer, CD to where you have adb.exe and type adb shell rm /system/ppp. Alternatively, delete the ppp file from /system/ using WinRAR before step 3, and skip this step.

Restore your /data, flash the same a2sd script you had earlier (if you had one), Reboot and enjoy!

Important Note: This will change your boot partition in Magldr to be a raw partition instead of YAFFS2 boot partition that is more common. If you are flashing another ROM, you have to either flash a yboot partition layout, or flash a cLK boot.img (alone) after flashing the Magldr ROM like usual (adb flash_image boot boot.img).
[HD2 Android NAND Development] arif-ali:
ignore the galaxys2 and click builds, those are for those phones, which I own

The default is cLK now

I will do a magldr patch soon. If the cLK users can check to see if it works, then I will do this as well
[HD2 Android NAND Development] arif-ali:
I built it today to test, and now should work normally now

That's right, I need to move over to the dynamic deletion of the ppp, like milaq did with cm-9.

One thing at a time. Let's make sure that the kernel is working for you guys using cLK, and I will create the magldr patch/dynamic removal of ppp later
[HD2 Android NAND Development] deckoff:
Thanx for the answer :) I did up to the rboot part anyway - i tried a CNM 9 nightly the other day and had to change. The boot process just stuck, it seems the ppp folder HAS to be removed. I have to flash the older ROM, dont have the time to setup adb in windows.

PS I can use adb in linux, cant I? command propt is such a pain in the a... ;)

Thanx will for the tips, will come here crying, if anything else goes wrong :)
[HD2 Android NAND Development] ph03n!x:
It is not the ppp folder that has to be removed - just the ppp file (the ppp folder is in /system/etc). And you dont need Windows, just a shell (or a command prompt :) )to run ADB. Alternatively, you can open the ROM's zip in WinRAR, navigate to the system folder and delete the ppp file, and then flash as usual. Having the ppp file will do no harm, just that you will be using ppp in Magldr instead of RMNET.
[HD2 Android NAND Development] ph03n!x:
Had anyone on cLK gotten 12th July version to boot without any changes? I tried it after a backup n wipe, and didn't get to second boot- was stuck in radio logo.

Swyped from my HTC HD2 using XDA app
[HD2 Android NAND Development] ph03n!x:
Anyone?

@Arif - I couldn't boot on cLK with cm-7-20120713-NIGHTLY-leo.zip either. I tried using the ramdisk from the previous cmhtcleo kernel, didn't work. It stays stuck at the Radio logo, and does not get into the ramdisk logo.
[HD2 Android NAND Development] Hammerfest:
such slave drivers eh...

jkjk, will charge my HD2 tonight and test this tomorrow... let it go dead Tuesday and aint charged it since
[HD2 Android NAND Development] arif-ali:
As I don't have the device, logcats would be useful, to see exactly what is happening
[HD2 Android NAND Development] ph03n!x:
@Arif, as the phone does not reach the second boot am not able get a connection to the computer. I suspect that even the kernel is not loaded where it is stuck. Odds there a way to get dmesg or logcat at that point?

Swyped from my HTC HD2 using XDA app
[HD2 Android NAND Development] arif-ali:
If you go back into CWR, you should find /proc/last_kmsg, or something similar, which would be the kernel messages that would be useful
[HD2 Android NAND Development] ph03n!x:
There is no last_kmsg, this is with 16th July nightly. I had left it at the firstboot logo for a good 5 minutes before pulling the battery.

I wonder if anyone else is even using the nightlies - none seem to have this no-boot issue!
[HD2 Android NAND Development] Rick_1995:
Hmm, I'm having the same issue with the latest nightlies, Doesn't boot, no last_kmsg, ramconsole is of previous boot or clean if it was poweroff. Will try again sometime with some other kernel.
[HD2 Android NAND Development] arif-ali:
I will revert to the old kernel until we know that it is working then, hopefully next nightly back to where it was before
[HD2 Android NAND Development] ph03n!x:
I am using the cmhtcleo test kernel from earlier. For the new kernel, can we have a complied zImage + modules to test and then include it in the nightlies after confirming it is working alright?
[HD2 Android NAND Development] Rick_1995:
Arif, i think it could be related to inline building but still not sure, I was never able to create a working binary of the .32 kernels using the newer gcc, last known working was the Sourcery 2010q1 or gcc-4.4.1 but android uses 4.6 or 4.7 iirc.
[HD2 Android NAND Development] arif-ali:
The most recent nightly should now be compiled with a new re-compiled kernel using 2010q1. Let me know how it is

Sent from my remote device using Tepatalk 2
[HD2 Android NAND Development] fwait:
After applied cm-7-20120726-NIGHTLY-leo.zip, MAGLDR complains "NAND kernel open failed" on boot. When I restored /boot from CWM backup, the device booted up. I noticed that boot files used to be put in a directory instead of boot.img.

And I had to do a factory reset, otherwise I can't turn on wifi. The message displayed in wifi setting was "Error" rather than "Turn on Wi-Fi".
[HD2 Android NAND Development] Rick_1995:
1) The nightlies are now for clk by default, you should use rboot config for magldr to work or should flash another magldr kernel.

2) The wifi won't turn on because you only restored /boot so the kernel modules are for the kernel in the rom zip while you're booting with the older kernel, so either flash a new kernel with modules or flash the kernel from rom to fix it.
[HD2 Android NAND Development] Rick_1995:
Just so someone might be needing this, Since the latest nightlies are in boot.img format and the kernel zips no more contain the ramdisk for magldr, I'm posting the ramdisk of yesterday's nightly if you might need it on magldr with yboot.

Had quite a lot of trouble finding something to extract it on cygwin so instead used the image header from clk to copy paste binary data, tested to be safe.
[HD2 Android NAND Development] ph03n!x:
Using 30th July Nightly for 2 days now, going fine- the kernel boots, and fast charging works good. A couple of requests-

- Can we have a kernel marker, similar to version? I mean, even the last updated date of the kernel in its version will help. The old kernel is also named cmhtcleo, and the only difference, IIRC, is that the ones from 30th Nightly read jenkins@arif-proxmox.

- Can we have the Original MAC Address patch for our kernel please? This commit is already a part of the ICS branch...

- Can we have Tytung's wired tether fix?
[HD2 Android NAND Development] Hammerfest:
requests seconded... and thanks to OP and crew for this
[HD2 Android NAND Development] ph03n!x:
@Arif - the build date for 18th Aug nightly is stuck at

Can you take a look when you find time please?
[HD2 Android NAND Development] Hammerfest:
I can confirm the date for each one says the same after the 12th, however, if someone could/would check the MD5's for a few to see if they are the same (besides file name of course)

then message arif-ali if the MD5's are the same as the 12th
[HD2 Android NAND Development] arif-ali:
Fixing now, will be fixed in the next couple of hours. All due to the issues with goo.im, that my jenkins server was failing the build due to the fact it couldn't upload to it

The ROM should be up now
[HD2 Android NAND Development] Hammerfest:
sweet will test in a bit (im still waking up...)

On a side note/offtopic question, I know that with my Evo Shift device, I can use the ICS Kernels on CM7.2, does anyone know of ICS kernels for the HD2 that still work with CM7? The 2 I tried the other day dont seem to work at all (not all that weird given its NOT an Android native device) and caused weird screen flashing (literal) and touchscreen issues. I only ask because I it seems all of the Kernels have gone ICS and left CM7/Android_v2.3.x in the dust :(
[HD2 Android NAND Development] arif-ali:
There is one commit, that doesn't work, and therefore causes the issues. maybe worth pulling in the rest of the commits, and see if any of those continue to work on CM7.

I could potentially try importing those commits, and compile for you guys to test I guess. But not sure how soon I will be able to get that done
[HD2 Android NAND Development] ph03n!x:
@arif-ali, the nightlies have stopped building after 12th September in http://goo.im/devs/cmhtcleo/cm7 and http://cyanogenmod.arif-ali.co.uk/rom/ - is this some glitch, or are we moving to less frequent nightlies (monthlies or weeklies :) )?
[HD2 Android NAND Development] ph03n!x:
Those who use this ROM - take a look at this thread, our phones are vulnerable to the so-called "Remote Wipe Attack"!!!
[HD2 Android NAND Development] milaq:
in the meantime i've adopted the build process of the leo gb branch for my buildbots queue until arif's is up and running again.

sry for any inconvenience caused.

my bot builds weeklies (of cm7) atm; pls see here: http://xdaforums.com/showpost.php?p=32102461&postcount=708
[HD2 Android NAND Development] c1cl0n:
Hi dear developers CM7 NIGHTLY, dear cmhtcleo and arif-ali

I want ask your permissions to start new thread in HD2 Android SD Development with NativeSD port of [NIGHTLY][MAG/cLK] CyanogenMod 7 [2.3.7][Kernel: cmhtcleo/tytung] as I did it with your great rom [NIGHTLY][Full HWA] CyanogenMod 9 [4.0.4][Kernel: cmhtcleo/tytung] here

Reason: New native technology is still very yang but also very powerful for dayly use and all positive reviews of CM9 NIGHTLY SD-MAGLDR-NativeSD is aproof it

:D
[HD2 Android NAND Development] wis1152:
Im sure the Guys wont have a problem:) but await your answer (arif-ali,milaq and rick_1995) c1cl0n if no reply drop them a PM:good:
[HD2 Android NAND Development] c1cl0n:
Yes wis, I'm also asked arif-ali, milaq and rick_1995 in PM

:)
[HD2 Android NAND Development] Rick_1995:
free as in free speech, free as in free beer. Good luck with your port :)
[HD2 Android NAND Development] milaq:
signed; let us know if you need any help
[HD2 Android NAND Development] c1cl0n:
NativeSD of CM7 NIGHTLY started

Thanks to all who helped and welcome

:o
[HD2 Android NAND Development] ph03n!x:
@milaq - the builds have stopped in goo.im after 18th October. Is there something wrong, or has not much changed since then in CM?
[HD2 Android NAND Development] Rick_1995:
Afaik, the server builds only if there was a change compared to the last build.
[HD2 Android NAND Development] arif-ali:
updated

My server messed up again.

A new one building right now with the following changelog

Changelog:

Update gerrit location in manifest and docs

Change-Id: I070d46a688c5ea6cf94a8f55101f0b5e25367960

-- Ricardo Cerqueira / detail
roomservice: Handle missing netrc file

Change-Id: If981fe79dc3e2191434301239b0cd585be8b4730

-- Ricardo Cerqueira / detail
roomservice: Add support for netrc

Change-Id: I1f5e11e40125abd0c4e4c8d8294d4fc09bfdc30a

-- Ricardo Cerqueira / detail
Add simple caching to XML compilation

XML compilation stage will perform many (expensive) resource ID
lookups - for the same entries. Adding this simple cache can
dramatically improve performance of this stage (often a bottleneck)

Updated: fixed for Mac OS X (also tested on Windows, Linux)

back ported from http://review.cyanogenmod.com/#/c/24040/

Change-Id: Ib1ab82ba9bf901bc2a3f9027b47d680861d6c315
Signed-off-by: Jorrit Jongma <jorrit@jongma.org>

Conflicts:

tools/aapt/Android.mk
tools/aapt/ResourceTable.cpp

-- Jorrit Jongma / detail
Stats: Update reporting and viewing URLs

Change-Id: I348ea5e937315134ad3afdb142d4988bd9811037

-- Ricardo Cerqueira / detail
Merge "Port "Strip Unicode" feature from ICS branch into GB" into gingerbread

-- Ricardo Cerqueira / detail
Fix music resume after call.

Change-Id: Ide967fd7efc0fed3af5f0d07e917bb3aa3c00c2a

-- Danny Baumann / detail
Settings: Dutch translations

Change-Id: I491072c0f1754880b911df7bc3c71f87f1169998

-- Marco Brohet / detail
cyanogen: add ZTE Skate to vendor setup

https://github.com/tilal6991/android_device_zte_skate needs to be forked
https://github.com/tilal6991/proprietary_vendor_zte has the props

Thanks to Tom G for helping me get this onto the Skate - he has been a huge help.

Change-Id: Id5085e147fb3b94555d29230fd71f47e4b7a4ab0

-- Lalit Maganti / detail
Add Huawei U8160 to product list

Change-Id: I5f53f397cf09fc54c29160e8075eb41e7b83ccd4

-- Conn O'Griofa / detail
[HD2 Android NAND Development] ph03n!x:
Arif/ cmhtcleo team, I bumped into xray.io, and scanned the 20th build for vulnerabilities. Turns out that the build is vulnerable for Gingerbreak. Can you look into this please?
[HD2 Android NAND Development] arif-ali:
CM7 weekly updates

Hi All,

It's been a while since I posted, due to RL issues, and work. You prob have great devs in this forum, who are continuing development on this great phone.

My jenkins server still throws out this ROM on a weekly basis, although the last change the CM7 code was 21st July, I know there are many flash junkies out there; and flash just for the sake of flashing. Each week we get around 40-50 downloads.

I am happy to continue building (if people are still interested), but if people unanimously agree, then I will shift to monthly
[HD2 Android NAND Development] vivebatu:
Still very interested to see development continue on this great device ...monthly should be ok for cm7 I guess
[HD2 Android NAND Development] 6oltsqs7:
Hope to got some news from you. Thanks man.
[HD2 Android NAND Development] vlado3399:
I'm also very interested to see new updates from you on this great build. :)
[HD2 Android NAND Development] tytung:
Fix for native tethering on cLK. (It works for AOSP. Not sure CM7)

Add <item>"ppp\\d"</item>

diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index b6582e5..0e41c06 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -132,6 +132,7 @@
tethering on a new interface called "foo2" add <item>"foo\\d"</item> to the array -->
<string-array translatable="false" name="config_tether_upstream_regexs">
<item>"rmnet\\d"</item>
[B]+ <item>"ppp\\d"</item>
[/B] <item>"eth\\d"</item>
</string-array>
[HD2 Android NAND Development] arif-ali:
Yeah, that is what I did, but I just need to test it further, and see what the problem is, need to debug further.

All my commits are here if any one wants to see them

https://github.com/arif-ali/android_device_htc_leo

btw, do you have your changes to source code for vold. I might try an get those committed to gerrit
[HD2 Android NAND Development] arif-ali:
So in RM now, you should also be able to choose which kernel you want to install, at the moment, you have the default from charan, or tytung, as per the posts on the front page.

i will add the 3rdParty zip as well

btw, if you have trouble with RM in downloading, that would mean that I am tinkering, so please try again after 5-10 mins

regards,

Arif
[HD2 Android NAND Development] wolfpack612:
fyi: for individual nightlies in rom manager it says 0 downloads for all although it says 51 before going into the list.
[HD2 Android NAND Development] chris10230:
I was wondering if anyone else has noticed that the button LED lights sometimes flash when they are not in use? I only notice it when it is dark, obviously, but has anyone else seen this behaviour?
[HD2 Android NAND Development] AirforcProductions:
While the screen is off or on?
[HD2 Android NAND Development] arif-ali:
The stats do tend to take time to start, so give it a few days, and they should synchronise up.
[HD2 Android NAND Development] sebsasko:
Build environment

Hello Arif-Ali,

I am very interested by the way to build complete rom and kernel.

Can you share your build environment ?

Another question, what is the difference between magldr and clk about system loading ?

Thanks in advance ;)

And thanks for helping Charan (and us) during his admission exam ! :)

Seb
[HD2 Android NAND Development] chris10230:
Sorry Screen on. I am guessing it was kernel issue. If I could be more specific but it is a bit of a random event. I am 90% sure it happens but when or how often I cannot be sure.

It seems that when in use they will blink at random times
[HD2 Android NAND Development] sebsasko:
It's perhaps due to change in power management.... I mean changes in "state" of HD2 (frequency, voltage...).

From my point of view, with screen on, keypad should stay on with eventually a time-out...

EDIT : And I agrre with you, I think it's a kernel issue ! But i'm not a software developer... :-)

Which kernel do you use ?
[HD2 Android NAND Development] AirforcProductions:
I have tried replicating the event, but have not been successful with replication. I have been using the build from the 19th and not had any button lighting issues, try updating to the build of the 19th
[HD2 Android NAND Development] chris10230:
Yeh I shall but still it is really random so to pinpoint will be difficult if I manage to find a better way and a fool proof method I will report but otherwise I shall let the ghost lie :)
[HD2 Android NAND Development] AirforcProductions:
Newest build May 20,2011 has been uploaded to the mirror this version integrates the usb mount fix, and it puts an accurate version on the build.prop to appear in settings>about phone. 720p and camera fix will be put into the May 20,2011 version
[HD2 Android NAND Development] diesburg:
any news on the color banding? I know it's a small issue, but it bugs the hell out of me....lol
[HD2 Android NAND Development] AirforcProductions:
color banding on? Arif might know what your talking about, but i havent been up to date on this since sunday
[HD2 Android NAND Development] drunkenfcuk:
Do you mean 720p and camera fix for the 21st?
[HD2 Android NAND Development] arif-ali:
yeah, that is what he meant.

btw, The numbers on the Mod Version will be as if it was created on the 19th. it was created at the same time as usual, but on a US server, so the date has been skewed back, So ignore that date on the build.

Edit: the things I will be adding today or tomorrow to the main build

Color Banding (hopefully, found the stuff to change, thanks to tytung)

720p video playback

hosts file, so no adverts

vold is already fixed (USB storage)

try to fix PPP USB tethering (wifi tethering seems to be working) (cLK only) (it works for rmnet)
[HD2 Android NAND Development] drunkenfcuk:
Will the color banding be fixed entirely? Obviously, it's been 'fixed' before, which greatly decreased the degree of banding, but it's still there.

Thanks, and keep up the great work :)

By the way, does anyone know how Charan is getting on? Is he still working on the HD2 kernel? I know he's had a lot of issues lately with his laptop, which have slowed him up somewhat...
[HD2 Android NAND Development] arif-ali:
The color banding fix that tytung has done, and there is a thread and his libs available. That is what I am going to implement, and see if it fixes. He has mentioned in that the one of the variables that we need to compile against, and that (as you say) has fixed some portion of it. But the surgaceflinger code needs to also re-compiled, or copied over

wrt charansingh, On twitter, he mentioned that he had his laptop working, and he had started syncing the CM repos, so seems like he might be back

"OMG my laptop charger just started working, needed me spitting at its connection end lol"
[HD2 Android NAND Development] Rick_1995:
Hey guys, Mirror 2 is ready.

I have written a script for file handling there which is open source ofc :)

domain set up is remaining, for edge lovers here is the raw link -> http://edudroid.in/rickg9x/xda_cm/

Files are being uploaded, be patient. arif, will be sending you FTP credentials soon. for help on how the php script works read the comments inside :)
[HD2 Android NAND Development] AirforcProductions:
An update for Charan, his laptop is in fact working, but he has entrance exams on the 8th of june, he told me after this he will need about 15 days to fully finish the kernel
[HD2 Android NAND Development] chris10230:
Great news, and to Charan good luck in them!
[HD2 Android NAND Development] Mafioso:
You mean a .37 kernel or a .32 one?
[HD2 Android NAND Development] AirforcProductions:
Its the. 37
[HD2 Android NAND Development] arif-ali:
RM OTA going down until further notice

apologies for the inconvenience caused
[HD2 Android NAND Development] diesburg:
Why is OTA down for now.
[HD2 Android NAND Development] arif-ali:
My webserver has been swamped with hacks and DoS attacks since I enabled OTA, and my whole networking has gone down. I will be moving the manifest to dropbox, so hopefully it should be up as soon as possible.

I can't get to xda at the moment via my laptop even. Doing this from phone
[HD2 Android NAND Development] diesburg:
If there's anything else you can move to my server to make things works, let me know. And in the next few days, i might be picking up another hosting plan. If I get another hosting plan, I'm only paying for the hosting and getting a free .co.cc domain but it will be open for anything. I'm getting ready to move though and I may not have internet for a few days. Forgot to do a wifi scan on my phone when we looked at the house..... but surely theres an open network or at least one WEP network I can use.... we'll see....lol....worst case scenario, I won't have internet for a couple weeks and will have to do anything I wanna do on the net at work.
[HD2 Android NAND Development] Rick_1995:
Hey, diesburg, i see you have implemented my script quite nicely :D

i was wondering if it was possible for you to mantain the source code of the script available for users in the spirit of open source like i have done at http://edudroid.in/rickg9x/xda_cm/ (the Host2). i was busy with the script till now, will be getting a domain name soon :)

also i will make a documentation for the script soon on how it manages, lables files. seems like the one on your server is a bit outdated :p with favicon.ico missing.

i am still uploading files to Host 2 :/ i get only 100 kb/s upload on ftp.
[HD2 Android NAND Development] arif-ali:
That was me just testing, not diesburg, to see how it would look, I think it has a nice touch to it, but will modify a bit to get more out of it, like stats
[HD2 Android NAND Development] Rick_1995:
Thats exactly whats i was working on :o

but the problem i face is that since their are 2 hosts, and php does not support external URLs in fopen, it could get a bit nasty trying to combine stats for both the mirrors, or servers later on.
[HD2 Android NAND Development] AirforcProductions:
Due to the downtime, and recent unavailability of infrastructure, (for me at least) Please Expect the next nightlies for May 21, 2011 to come some time during the day and we will be back on our normal update schedule tomorrow night, sorry for any inconvience