yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] mstrk242:
I tried the new initrd with rc1 (19th build). Tried it with a fresh install, and with current data. Crashes right after the boot animation, sometimes even gets as far as the lockscreen. Logcat always seems to end here :

http://pastebin.com/RQDPu1s5

(If you need the full logcat let me know, I'll re-do it.)

Seems to display the same behavior as if you tried to run an sd build on magldr that didn't have the proper ril-wrapper line in the initrd. I'll play with it and see if I can get it working.

Edit: Do you no longer use the ril-wrapper? I was looking in the new initrd you up'd, and the service for ril-daemon doesn't point to the wrapper anymore. Is this intentional? (If it isn't, I'm guessing this is why it doesn't boot.)

Edit again: My linux box just died on me :( Anyone here have a working box and some free time to update the initrd? I'm guessing replacing service ril-daemon /system/bin/rild with service ril-daemon /system/bin/rild -l /system/lib/libhtc_ril_wrapper.so -- -d /dev/smd0 nand_init rmnet_mode will allow it to boot, but I can't test it.)
[HD2 Android NAND Development] mstrk242:
I can confirm that the missing ril-wrapper line on the ril-daemon service under the init.rc is why it won't boot. After changing the line to what I think it's supposed to be, system boots, I get a network connection. However, I'm still getting cpu scaling issues (still stays at max all the time, although I can't see anything in the logs that would cause this.) Also, the bluetooth doesn't seem to stutter anymore, but it's extremely flaky. Hard lockups with bluetooth on, sometimes the bluetooth turns itself on and off, I'll keep experimenting.

CPU scaling wasn't fixed, it seems. Bluetooth, stuttering fixed, but it's extremely unstable.

Anytime I try to use bluetooth media, I get this spammed in the logs:

E/A2DP ( 115): Error receiving IPC data from bluetoothd: Try again (11)

E/A2DP ( 115): audioservice_expect failed for BT_GETCAPABILITIES_RSP

D/A2DP ( 115): bluetooth_close

E/A2dpAudioInterface( 115): a2dp_write failed err: -110

W/AudioFlinger( 115): write blocked for 5051 msecs, 5 delayed writes, thread 0x

1aff8

Also, when I got bluetooth to connect to the headset, and tried to play music, I get this in the logs:

I/AudioService( 933): Remote Control registerMediaButtonEventReceiver() for

ComponentInfo{com.android.music/com.android.music.MediaButtonIntentReceiver}

W/AudioTrack( 1508): obtainBuffer timed out (is the CPU pegged?) 0x433988 user=0

0003511, server=00000a00

W/AudioTrack( 1508): obtainBuffer timed out (is the CPU pegged?) 0x433988 user=0

0003511, server=00000a00

W/AudioTrack( 1508): obtainBuffer timed out (is the CPU pegged?) 0x433988 user=0

0003511, server=00000a00

W/AudioTrack( 1508): obtainBuffer timed out (is the CPU pegged?) 0x433988 user=0

0003511, server=00000a00

W/AudioTrack( 1508): obtainBuffer timed out (is the CPU pegged?) 0x433988 user=0

0003511, server=00000a00

W/AudioTrack( 1508): obtainBuffer timed out (is the CPU pegged?) 0x433988 user=0

0003511, server=00000a00

E/A2DP ( 922): Error receiving error code for BT_ERROR: Try again (11)

E/A2DP ( 922): audioservice_expect failed for BT_GETCAPABILITIES_RSP

D/A2DP ( 922): bluetooth_close

E/A2dpAudioInterface( 922): a2dp_write failed err: -110

W/AudioFlinger( 922): write blocked for 9094 msecs, 1 delayed writes, thread 0x

24ee0

Hope this helps.
[HD2 Android NAND Development] aarick:
Mispost..sorry..
[HD2 Android NAND Development] fhasovic:
I might do this, but I was unsuccessful in trying it so far... Any manual for doing it?
[HD2 Android NAND Development] bhilgeman:
Ugh, I hadn't had any issue with CPU scaling UNTIL I wiped my cache partition and wiped the dalvik-cache. Now its stuck at 100%..
[HD2 Android NAND Development] fhasovic:
Well, finally I have working environment for building gingerbread :-) Just built HyperDroid from source... What is repo address from this cm7? I would like to try it...
[HD2 Android NAND Development] Lint6:
yea ok..think the fact I have no idea what I'm doing is severly hampering my attempts to help...since I'm just looking to compile, can anyone offer some help?
[HD2 Android NAND Development] MontAlbert:
There is a thread by sykopomp.. (or something to that affect) on how to compile. Or there is a wiki on cyanogenmod website .. would link both but on my phone atm

Sent from my Cyanogenised HD2
[HD2 Android NAND Development] Lint6:
think I may have gotten it..building now..when its done I'll of course have to be the guinea pig and test it..but may have it uploaded before I go to bed
[HD2 Android NAND Development] MontAlbert:
http://xdaforums.com/showthread.php?t=915435 if you need any more help

Sent from my Cyanogenised HD2
[HD2 Android NAND Development] Lint6:
wel it stopped on me. It seems to be nothing software related on my laptop. The Message I got is

I'm learning by trial and error..so yea...I have no idea what that means
[HD2 Android NAND Development] gallit:
Again, there is an excellent Wiki there.

Just need to adapt a bit for Leo.

First time compilation is long.

After that, next ones (sync & compile) are less than 30mn long.

(Pentium 4 - 2go Ram)

My last build is here
[HD2 Android NAND Development] gallit:
Lint6, you need to extract proprietary files.

Check on the wiki from Cyanogen.
[HD2 Android NAND Development] xdroidtester:
Building android

Can gingerbread only be compiled on a 64 bit system?
[HD2 Android NAND Development] Lint6:
Thanks, I did forget that step. Don't have time now but I'll give it another go tonight when I get home from work
[HD2 Android NAND Development] xlanhackerx:
Could you please post your modified initrd.gz ?

Could you combined it with CWR (zip file) so we could flash it directly ?
[HD2 Android NAND Development] bhilgeman:
That is correct.
[HD2 Android NAND Development] mstrk242:
I'm not going to make a CWM update zip, someone else can feel free, but this is the new initrd that char posted with the ril-wrapper line added back in, allowing it to boot. (Someone requested it.) Use at your own risk.
[HD2 Android NAND Development] brainmaster:
Here it is. And the default one from the 14.02 Build.

Testing your Initrd - CPU scales for me fine and the governor is now changeable on Build 14.02.
[HD2 Android NAND Development] xdroidtester:
Hi Gallit,

Didn't you get an error on libgps.so when building the CM7?

Edit: My fault, somehow extract-files didn't get the libgps.so the first time.
[HD2 Android NAND Development] mattfmartin:
Will the new initrd work on rc1?
[HD2 Android NAND Development] xdroidtester:
Interesting day

Nice day. Learned a lot.

Installed VMplayer on my 32bit Windows PC.

Installed ubuntu on the VMPlayer.

Followed the instructions on wiki on how to compile CM7 mod.

End of the day I compiled my first android LEO CM7 mod :)

One question: The mod doesn't change the kernel. Is that correct?
[HD2 Android NAND Development] brainmaster:
It should. The Charnsingh compiled it after he compiled the RC1.
[HD2 Android NAND Development] mstrk242:
Yeah, it works. That's what I was testing on.
[HD2 Android NAND Development] wingman1487:
So with this is the RC1 stable or still a little squarely (up to par with 14.02)?
[HD2 Android NAND Development] mstrk242:
I'm not really sure. I only tested it for about 5 minutes, noticed that the bluetooth is not working right, and went back to the 9th nightly. Infact, I have hardly used the 14th nightly either. (I use bt too much for it to not work, otherwise I'd test further.) It does seem to fix the cpu scaling and governor issue, but that's about as far as I went. I'd say do a nandroid backup, and test it.
[HD2 Android NAND Development] brainmaster:
I made two new Battery mods, CWM flash zip files:

Gradient:

Honeycomb:
[HD2 Android NAND Development] mattfmartin:
@brainmaster

For that initrd.zip, are we supposed to load rc1 first then load the zip?

Also nice bat mods:p
[HD2 Android NAND Development] Lint6:
ok...I've seriously been trying to learn this...I really have. I did the proprietary files extraction and now get

make: *** no rule to make target 'vendor/htc/leo/proprietary/libsgps.so', needed by 'out/target/product/leo/system/lib/libsgps.so'. Stop

I've been trying to help...I just think I'm totally in over my head. It was going so well too :mad:
[HD2 Android NAND Development] xdroidtester:
Hi Lint6,

I had the same issue. Just run the pull libgps.so command from the extract-file script. That should fix it

Good luck
[HD2 Android NAND Development] Lint6:
alright, gonna try thatif I can get this working, I'll be more then happy to do it nightly and upload it to mediafire or something so everyone can download it

well it shows it copying, but still gives me that error
[HD2 Android NAND Development] xdroidtester:
And libgps.so is in the proprietary directory?
[HD2 Android NAND Development] Lint6:
no..no it wasn't...slowly sorting this out..thanks for the help
[HD2 Android NAND Development] mattfmartin:
I applaud your effort for someone who hasn't compiled before.
[HD2 Android NAND Development] xfichtenelchx:
Hey Guys, can you help me?

I don´t get any of these Nightlies running on my Euro HD2. The Latest was laggy und killed itself all the time, the 14.02 is stuck at gogogo...i have no clue why they don´t work. Am i the only one with this problem?

MAGLDR 1.13 and cwm installed
[HD2 Android NAND Development] Lint6:
As someone who knows jack about linux, I applaud my own effort lol..

ok..its done..its still RC1, and its kanged..dunno what that means..

Would it be possible to write a script that I can run nightly to do this an upload it to mediafire automatically?

Ahh..ok..kanged just means its not an "official" CM build...think all is good..
[HD2 Android NAND Development] xdroidtester:
Super!

I have the same RC1 version. For me it is also no problem to upload it on a daily basis.
[HD2 Android NAND Development] Lint6:
So it seems like as long as Char can update it, we have 2 users who are totally willing to compile and upload
[HD2 Android NAND Development] mattfmartin:
I think Pongster might know how to make those scripts you want for auto compile.
[HD2 Android NAND Development] Lint6:
I'll message him. My work schedule doesn't always work out for me to wait for it to compile, then upload. If I could just type in a command on my laptop and go to bed while it does the rest..awesome
[HD2 Android NAND Development] scariola:
What I use is TeamViewer for access to my laptop from my HD2. Pretty useful for when you want to do something on your laptop when you're nowhere near it.

Just install for linux, get the app for android, set up takes maybe 5 minutes, no configuring more then password access, it just works. Then you can login, check status, throw file onto mediafire for everyone from wherever you have internet access.

Just a thought. BTW Thanks for helping with this, can't wait for this working!!
[HD2 Android NAND Development] brainmaster:
Its for pre-RC1 and also for RC1. I still have the 14.02 Build and the test initrd works fine.
[HD2 Android NAND Development] tageeboy:
Server space

Guys I have server space if you need a repository to upload the files to. Just let me know and I can open up what ever you want, FTP, HTTP, you name it.
[HD2 Android NAND Development] brainmaster:
With the test initrd my Camera app - "Camera360" is force closing, i didn't tested the normal Camera app. Back to 14.02 initrd - Camera works fine.
[HD2 Android NAND Development] natihorny:
Hi,

i've got a problem..

i realy want a nightly build so that i can install these themes

http://xdaforums.com/showthread.php?p=11693039#post11693039

I have a Nand rom (Gauner) which i had to install just by flashing my gsm out of the aMAGLDR V1.11 menu by using option 4. USB FLASHER and just following the installation menu after pressing the DAF file on the computer.

now to update the aMAGLDR i have to sync my phone to the pc. which seems to work on the gsm, but when i try to install the aMAGLDR by double clicking ROMUpdateUtility to install aMAGLDR he can't find my phone, saying it's not synced to the pc...

if i can't do that, i don't think i can proceed installing a nightly build...

and further than that i have no clue how to install the nightly build because its not just the DAF file to double click since there is none... you have to 'flash' it.. but i don't see what to flash & how to do it.

Can someone help me please?

thanks in advance.

Nati
[HD2 Android NAND Development] killerloop04:
normal camera app didn't work! wirth org initrd it works fine...

EDIT: fxcamera also didn't work... :-(
[HD2 Android NAND Development] xdroidtester:
Oke great Tageeboy

For me it is not a problem to upload a daily build
[HD2 Android NAND Development] IzaacJ:
Hello... Does anyone know if/when there will be any updates on the git? :O Could be good if it was up2date
[HD2 Android NAND Development] bhilgeman:
If you're trying to flash and update magldr and it won't sync power off the phone, hold volume down while pressing power on.

This will take you into the hspl. Make sure USB is connected. Now run the dft flash exe.
[HD2 Android NAND Development] natihorny:
i've done that, but its still giving the same error when i'm trying to install the ROMUpdateUtility for the aMAGLR
[HD2 Android NAND Development] mattfmartin:
Have any of you guys tried to change the market to a themed one? I followed this link http://xdaforums.com/showthread.php?p=11411546 and nothing changes, it just goes back to green. I really want to change it. Tired of looking at that boring ass green one. Any suggestions would be appreciated:p
[HD2 Android NAND Development] MontAlbert:
depends where your market is located- if your current market is in system/app then it should work but if the market has updated itself recently then it will be in /data/app... you will have to change it there.... I will try it later tonight myself and see if that w orks
[HD2 Android NAND Development] mattfmartin:
Yes mine is in /system/app. I'm on the 2/09 build, but that shouldn't matter because the market is the same version as in the the link I posted. Hopefully you can find a solution;p
[HD2 Android NAND Development] MontAlbert:
there will be one there but double check inside /data/app as when the market updates it updates in there and just overwrites the one in /system/app
[HD2 Android NAND Development] mattfmartin:
Nope only have a vending.apk in/system/app

Did you try it out?
[HD2 Android NAND Development] MontAlbert:
no. still at work- 320pm here atm. Melbourne, Australia, will do tonight sometime.
[HD2 Android NAND Development] coupetastic-droid:
i am going to have to tell my brother to do this. his stock hd2 sucks bad!
[HD2 Android NAND Development] brainmaster:
After replacing the old market, boot into the CWM and wipe the Cache partition and the Dalvik cache. It should work now.

Or go to Settings > Applications > Manage applications > Market > Delete cache.

This should be done every time when you manually replace app.
[HD2 Android NAND Development] MontAlbert:
which one did you try? I will DL and try soon...
[HD2 Android NAND Development] mattfmartin:
I tried the orange and black neon one, The light blue& black one and regular blue & black

Will try brainmaster, have you tried any of these?
[HD2 Android NAND Development] mattfmartin:
Tried both ways, still the same.

Even tried with root explorer, droid explorer, and adb
[HD2 Android NAND Development] brainmaster:
No, but I am using the black one that comes with the Lucid theme.

I know that mostly when you skin or theme an app, that you need to wipe the Cache partition and Dalvik Cache in order to see the new app skinned rightly.
[HD2 Android NAND Development] locksmith:
Does this build have Voice Recongnizer installed ??? Compared to MDJ's build, are they both exactly this same ???

How stable is this build ???

Info would be greatly appreciated..... :)
[HD2 Android NAND Development] dusko_m:
for all who do not follow twitter, some info on charan progress with HD2
[HD2 Android NAND Development] abdullah5851:
thans

Downloading......
[HD2 Android NAND Development] xdroidtester:
start daily build

As soon as charan has the time to implement the items he mentioned in his tweet, and updates the git we can start the daily build for the RC1.

Charan expects/hopes to have time next weekend so hopefully we can start the daily build early next week :)
[HD2 Android NAND Development] fhasovic:
Official cm7 git? Or charan have it's own?
[HD2 Android NAND Development] xdroidtester:
It is Charan's CM7. Cyanogendmod doesn't offically support the Leo. But it is in CM git.
[HD2 Android NAND Development] fhasovic:
Thanks! Do you have an address? I'll try to locate it anyway...
[HD2 Android NAND Development] hcnimda:
I fight also with the market today and had the same issues like you!!

Here my solution:

cause I use dtapps2sd my marked stored in system\app and sd-ext\app

I delete market with droid explorer from these folders - reboot

copy in sd-ext\app the new market file(neon-green) - reboot

now it works!!
[HD2 Android NAND Development] rajkosto:
ok

i have some suggestions on how to improve the build tree for leo

why is there both kernel and zImage in the android_device_htc_leo dir ?

i had to change BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00500000 because that partition is 5MB anyway, and my speed optimized kernel wouldnt fit in 3MB

we can just link the git repo of linux-on-wince-htc and build the kernel inline during the cm compilation process instead of requiring copy pasting

we have full source of board.gps and libgps.so files, so why not include them in the tree for recompilation (or even git link it from gauners git)

even initrd.gz is prebuilt, what ?

anyway ive compiled all this, and all i get is a hang after 123456, even enabling framebuffer_console doesnt show anything
[HD2 Android NAND Development] yusufm786:
A few questions

Hey guys

Just a few questions:

1. I'm using the RC1 build. Every now and then I'll pull my phone out of my pocket and find that it's switched off. If I press the power button nothing happens, so I have to pull the battery and reboot. Does anyone else have this issue or know what's causing it?

2. I don't see updates for this rom very often. How frequently is it updated?
[HD2 Android NAND Development] mattfmartin:
That's never happened to me. The build does get updated. Its just that the OP is busy with exams at the moment.
[HD2 Android NAND Development] scariola:
As for question 1, are you using MAGLDR 1.13?? That is the latest, which had a fix for having to pull battery on shutdown while plugged in. Always best to be on the most updated version.

That's my $0.02
[HD2 Android NAND Development] Elmo108:
Im also experiencing Yusufms random shutdowns. Especially when i havent used the phone for a while, pulling it out of the pocket and making a photo. Ive tried to get a logcat out of it, but i cant reproduce the shutdown when its plugged into my computer (does not have mean that the shutdowns doesnt occour when plugged in). Btw: im on the 15th build

Edit: im on magldr 1.13
[HD2 Android NAND Development] charnsingh_online:
libgps is gone in my git gotta test and upload, liblights is still there because there is no source for liblights that functions properly, Leo needs a special ramdisk which cannot be compiled from source and init.rc doesnt change that much, The boot image partition is just for the build to complete, We are copying prebuilt kernel and initrd.gz as prebuilt as Android Source compiled boot.img and not kernel n initrd differently. It boots pretty well for everyone here after compiling from source, u might be doing something wrong, just see if ur changes messed up anything or just see if there is a boot folder in update.zip. BTW thx on that kernel and zimage thing ill get zimage out and change scripts a bit!!!

real happy to see people like you helping and i also would like to thank all the Devs who have helped me in the process. Your contributions are invaluable and hope you will keep on improving it. Also If i didnt have my exams i would have fixed the last remaining issues as i know where they are, So expect a fully working build when my exams ie end of march. ;):cool:
[HD2 Android NAND Development] dusko_m:
Nice to see actual dev around here that can contribute to kernel stuff. hope to have you more often on this train ;)
[HD2 Android NAND Development] rajkosto:
i use the exact same ramdisk as for bravo (just a few thngs changed in init.rc and renamed init.bravo.rc), and that can be compiled from source, and it works fine

what things in leo ramdisk cant be compiled from source ?

btw, we CAN use boot.img, magldr 1.13 added support for it
[HD2 Android NAND Development] seadersn:
one should really start to think about cLK :) everybody here seems to use android only on his device, and as this superb build is built 'from ground up' for our device, cLK becomes more and more more than only a 'nice option', it's imho the best 'partner' for this build, because our device is getting more and more a 'native android device'.
[HD2 Android NAND Development] rajkosto:
also the liblights here is the one that is broken and makes things green untill you plug in usb cable etc
[HD2 Android NAND Development] mattfmartin:
Finally got it to work. Problem was I had a theme installed and it wouldn't overide it. Had to do a clean install then it stuck.
[HD2 Android NAND Development] xdroidtester:
extract-files.sh

Hi Charan,

FYI, there is a typo in the extract-files.sh script which causes the build to fail.

adb pull /system/lib/libgps.so ..h/../..
[HD2 Android NAND Development] Ihaveatattoo:
Now i have flashed RC1 from 19. february, and when i turn Wi-Fi on, it stays on for seconds without finding anything and the turns off again. Am I doing anything wrong?
[HD2 Android NAND Development] drewestate:
Wifi sleep policy

Was curious if anyone else is experiencing an issue with the newer wifi module that is being used in this build. I know that it is built from aosp and more stable in some respects however wifi no longer "sleeps properly" leaving a large battery drain in standby when enabled. To confirm this I loaded tytung r5 kernel that used older driver and wifi sleeps properly again. I think the driver still needs some work.
[HD2 Android NAND Development] diesburg:
Could you compile the kernel for this rom with the appropriate patches for cLK ? This rom and typhoon cyanogen mod are my favorites..... and now I have cLK working but the patches needed on the kernel are stopping me from using some of my fav roms right now.
[HD2 Android NAND Development] mstrk242:
CLk doesn't support rmnet, though.
[HD2 Android NAND Development] Ihaveatattoo:
Guys... How the Apple did you make your wifi work? :D

I had the 15/2 ROM and now flashed the newest RC1 of 19/2 without wiping.

In both versions wifi shows ON for seconds and then turns off again, without finding any network.

How did you make it working?

Someone, just answer me! :D
[HD2 Android NAND Development] MontAlbert:
i agree. Charansingh was going to include the stuff required for clk into the kernel (as mentioned by cedesmith a few pages back) last i heard. BUT last time i tried clk all i got was black screen and nothing visible... That was when it first came out..is that fixed?
[HD2 Android NAND Development] arif-ali:
as long as the kernel supports it, init.rc is changed very slightly, add the correct files in /system/etc/ppp and don't load the msm_rmnet, then we can still use the build for PPP