yashsingh1/xdaforums huggingface dataset:
[Touch HD Android Development] bjarneloft:
Out of Memory

The boot process get stuck in a loop because the video/3d driver gets a out of memory.

Some of the old rootfs.img also have this problem.

I dont know how to fix this.

Here is the logcat output:

D/dalvikvm( 1268): Total arena pages for JIT: 2
D/libEGL ( 1278): loaded /system/lib/egl/libGLES_android.so
D/libEGL ( 1278): loaded /system/lib/egl/libGLES_qcom.so
D/EGL.oem ( 1278): smi: offset=10000000, len=00700000, phys=0x100000
D/EGL.oem ( 1278): ebi: offset=00000000, len=00800000, phys=0x16b00000
D/EGL.oem ( 1278): reg: offset=20000000, len=00100000, phys=0xa0000000
I/SystemServer( 1268): Telephony Registry
I/SystemServer( 1268): Package Manager
D/gralloc ( 1268): smi: offset=10000000, len=00700000, phys=0x100000
D/gralloc ( 1268): ebi: offset=00000000, len=00800000, phys=0x16b00000
D/gralloc ( 1268): reg: offset=20000000, len=00100000, phys=0xa0000000
D/gralloc ( 1268): allocating GPU size=770048, offset=0
W/zipro ( 1278): Unable to open zip '/data/local/bootanimation.zip':
No such file or directory
W/zipro ( 1278): Unable to open zip
'/system/media/bootanimation.zip': No such file or directory
I/Installer( 1268): connecting...
I/installd( 1156): new connection
E/gralloc ( 1268): gralloc failed err=Out of memory
W/ ( 1268): alloc(480, 800, 4, 00000300, ...) failed -12 (Out of memory)
D/ ( 1268): Allocated buffers:
D/ ( 1268): 0x11db50: 750.00 KiB | 480 x 800 | 4 | 0x00000130
D/ ( 1268): 0x124110: 750.00 KiB | 480 x 800 | 4 | 0x00000300
D/ ( 1268): Total allocated: 1500.00 KB
E/SurfaceFlinger( 1268): Layer::requestBuffer(this=0x133cb8), index=1,
w=480, h=800 failed (Out of memory)
E/Surface ( 1278): Surface (identity=0) requestBuffer(1, 00000200)
returneda buffer with a null handle
E/Surface ( 1278): getBufferLocked(1, 00000200) failed (Out of memory)
W/SurfaceFlinger( 1268): mBuffers[1] is null (mWidth=480, mHeight=800)
E/gralloc ( 1268): gralloc failed err=Out of memory
W/ ( 1268): alloc(480, 800, 4, 00000300, ...) failed -12 (Out of memory)
D/ ( 1268): Allocated buffers:
D/ ( 1268): 0x11db50: 750.00 KiB | 480 x 800 | 4 | 0x00000130
D/ ( 1268): 0x124110: 750.00 KiB | 480 x 800 | 4 | 0x00000300
D/ ( 1268): Total allocated: 1500.00 KB
E/SurfaceFlinger( 1268): Layer::requestBuffer(this=0x133cb8), index=1,
w=480, h=800 failed (Out of memory)
E/Surface ( 1278): Surface (identity=0) requestBuffer(1, 00000200)
returneda buffer with a null handle
E/Surface ( 1278): getBufferLocked(1, 00000200) failed (Out of memory)
E/installd( 1156): eof
E/installd( 1156): failed to read size
I/installd( 1156): closing connection
D/BootAnimation( 1278): SurfaceFlinger died, exiting...
D/Zygote ( 1263): Process 1268 terminated by signal (11)
I/Zygote ( 1263): Exit zygote because system server (1268) has terminated
[Touch HD Android Development] neopeek:
Ok then i will relook into this, though I am using Balsat's one from 01.06.2010 mixed up with latest libhardware_legacy. So again this should work. Maybe anyone succeeds in this then let me know cause I am working on CyanogenMod for our devices (see signature). I assume you won't also able to get this running if we don't bug it out I assume it's just one file or setting in 1 file.
[Touch HD Android Development] accountabc:
If you need more help testing, I'm willing to help you test it on the blackstone :). I do have to say I don't have much experience with android :p
[Touch HD Android Development] neopeek:
@accountabc: Thank you very much! Woul u mind joining the following group:

http://www.neopeek.com/en/community/groups/viewgroup/13-Android+Project+Leaders

Any help is appreciated!
[Touch HD Android Development] accountabc:
I registered :). Downloading Gparted now...
[Touch HD Android Development] FlyinMouse:
Can this work on HTC Diamond CDMA?
[Touch HD Android Development] neopeek:
Sure it works on GSm and CDMA Diamond. You may follow signature
[Touch HD Android Development] neopeek:
Just wanted to let you all now that the SuperE-Cyanogen-Mod-Port is available for download. Don't know again if it works for you. On Diamond it works (based on XDAndroid. You may follow signature to try it. Thank you
[Touch HD Android Development] Satyan:
I have Tried Cyanogen modded build, i guess its the same result, with black screen after boot.

I tried turning off hw3d as well, with same result.

....

finally after a lot of retries i got it at least boot up to setup screen..

and it freezed while adding the google account. waited but had to reboot.

After reboot now back to the black screen.

Observation: Seems when the trial when device booted up, the boot completed and gave a single vibration without trying to load the boot animation. (that is it was still at the boot text screen and completed the boot process) Seems the boot animation might be causing the device not to boot.
[Touch HD Android Development] mcdull:
how did you turn off hw3d?
[Touch HD Android Development] Satyan:
i used hw3d.force=0 ,

however when i got it working the parameter was 1 instead.

Since then i am not able to boot anymore. seems to be in gray state after booting.
[Touch HD Android Development] mcdull:
I am not sure if hw3d option has anything to do with blackstone.

It was never designed for blac100
[Touch HD Android Development] Satyan:
I guess you are right. any more ideas ?
[Touch HD Android Development] sys18_2000:
May be the partition numbers are mismatching!

I think the problem is in the init file, i.e. the partition numbers are not exactly the same as DIMMOND ones, if you use PARTITION MAGIC or any other software to partition your card, you will get P1: FAT32, P2: EXTENDED PARTITION, P5:EXT2/3, P6:SWAP.

So if you look at init it tryes to use /dev/mmck0p2 as /system and mmck0p3 as /data which is not true in the SDCARDs' partition maping.

Might be true or false but this is what I'm thinking off as the problem of this build not booting on Blackstone devices.
[Touch HD Android Development] Satyan:
I finally got it to boot up with turning of the boot animation service in init.eclair.rc.

neways after a reboot now android.process.acore force closing.
[Touch HD Android Development] k-zik:
could you show us how we can make this?!?
[Touch HD Android Development] diamos:
that worked for me too. thnx :)

but same issue about the android.process.*(not only acore) force closing thing.
[Touch HD Android Development] NemanjaLO:
Also working, but so many force close.
[Touch HD Android Development] NemanjaLO:
WORKING!!!

Got it WORKING without force close!!!

Before first boot edit your startup.txt and add this to "set cmdline" "hw3d.force=1" and keep TouchFlo running in WinMo. You also need to disable boot animation in tar.gz package: For this you need linux system, open your archive in linux and find init.eclair.rc file in init.cfg folder and disable this lines:

#service bootanim /system/bin/bootanimation

# user graphics

# group graphics

# disabled

# oneshot

After first boot take out your battery and edit startup.txt (just remove previously added "hw3d.force=1") and boot again. Now everything should work without force close. :):):)
[Touch HD Android Development] Satyan:
I had rebuild and turned of the boot animation section and was able boot and set it up. however for some reason Wifi Does not work.
[Touch HD Android Development] NemanjaLO:
For me WIFI is working OK. You should try to start all process from the begining.
[Touch HD Android Development] k-zik:
Thanks man it finally works!
[Touch HD Android Development] k-zik:
the cynagogen build works too!
[Touch HD Android Development] accountabc:
thanks, I'm going to try that when I have time tomorrow :)
[Touch HD Android Development] neopeek:
Ahh that's good news. I am glad some of you have sorted the failure out. If anyone of you can provide me with a link to the "workin" init-file then I will adapt it into future releases.
[Touch HD Android Development] Ikkari:
I think the core problem isn't the boot animation itself. It's rather a problem with OpenGL-ES on Blackstone with this ROM.

The ROM boots by bypassing the boot animation when you edit init.eclair.rc.

But if you try to start for instance Neocore to benchmark the performance the same "Blackscreen Problem" happens.

I suppose both the boot animation and Neocore are using OpenGL-ES.
[Touch HD Android Development] diamos:
Testing Now :D

Edit: in the first boot i got the force close message, after removing the hw3d.force=1 from the startup still having the force close for the acore process, but the device doesnt hang by pressing the back button i go back to home screen, i'll reboot again now and see if it is going to work without the message.

edit2: It didnt work 4 me looks like i'll do it again from scratch.
[Touch HD Android Development] xUmaRix:
tried this build on ext2 sdcard tar everything to the partition and boot using hared however i got this error regarding permission maybe need to change something in init.eclair.rc

dmesg

[ 3076.409729] init: cannot execve('/system/bin/mediaserver'): Permission denied
[ 3076.501007] init: untracked pid 7693 exited
[ 3079.969116] init: cannot execve('/system/bin/dbus-daemon'): Permission denied
[ 3080.084869] init: cannot execve('/system/bin/keystore'): Permission denied
[ 3081.340423] init: cannot execve('/system/bin/mediaserver'): Permission denied
[ 3081.364715] request_suspend_state: wakeup (0->0) at 2939560000000 (2010-06-21 03:19:58.710000000 UTC)

logcat

D/AndroidRuntime( 1945):
D/AndroidRuntime( 1945): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
D/AndroidRuntime( 1945): CheckJNI is OFF
D/AndroidRuntime( 1945): --- registering native functions ---
I/SamplingProfilerIntegration( 1945): Profiler is disabled.
I/Zygote ( 1945): Preloading classes...
E/dalvikvm-gc( 1945): Could not create 700416-byte ashmem mark stack: Permission denied
E/dalvikvm-heap( 1945): dvmHeapBeginMarkStep failed; aborting
E/dalvikvm( 1945): VM aborting
I/DEBUG ( 1183): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 1183): Build fingerprint: 'google/passion/passion/mahimahi:2.1-update1/ERE27/24178:user/release-keys'
I/DEBUG ( 1183): pid: 1945, tid: 1945 >>> zygote <<<
I/DEBUG ( 1183): signal 11 (SIGSEGV), fault addr deadd00d

Got it work finally after redo the step again.no need to disable bootanimation.zip.3D gallery run but too slow.Live wallpaper works flawlessly even with :

D/libEGL ( 4522): loaded /system/lib/egl/libGLES_qcom.so
E/EGL.oem ( 4522): could not open hw3dc (Permission denied)
E/libEGL ( 4522): No EGLDisplay for hardware EGL!

Chmod and chown msm_hw3d* i got.However it crashed the phone

dmesg

[ 2510.035095] hw3d_open: pid 5151 tid 5155 opening master node
[ 2510.375610] hw3d: current 5160 ppid 1 file d586f420 count 4
[ 2510.375671] hw3d: current 5160 ppid 1 file d586f420 count 3
[ 2510.375701] hw3d: current 5160 ppid 1 file d586f420 count 2
[ 2510.375915] hw3d: closing
[ 2510.375946] hw3d_release: in release for pid=5160 tid=5160
[ 2510.375946] hw3d: releasing 5160
[ 2510.375976] hw3d: had file
[ 2510.375976] hw3d: was enabled
[ 2520.990631] request_suspend_state: wakeup (0->0) at 2456780000000 (2010-06-21 10:05:40.980000000 UTC)

i read this build has dalvikvm JIT enable but reading from build.prop it is not set to JIT
[Touch HD Android Development] Avalun:
hi, [edit]

so its works fast now, but the option mobile network is inactive. How can I set it active and bring it to get a gsm connection?

__________

Now I could manage that it finds a gsm network, but no Data connection is possible and if I let it search for networks, it searchs endless for them.
[Touch HD Android Development] neopeek:
First post updated with CyanogenMod6-Link
[Touch HD Android Development] Satyan:
Able to boot up the build (froyoredux & froyorider)

pretty smooth. (waiting on hw3d to get fixed)

Can play camera recorded videos for the first time.

however 2 issues in both.

1. unable to turn on wifi(quickly says error)

2. no root access messages.
[Touch HD Android Development] foggydew88:
Ok, very good rel., still some probs on market but it's running well on my blackstone.

P.S: Wifi seems to be ok...

Slán!
[Touch HD Android Development] neopeek:
Yes, WIFI has to work. It works for me, too. Maybe Satyan you can try again.

@All: I also released SuperF-Port by Ben Buchacher. Runs very fast for me and is based on AOSp with some CM6 in it.

As I have no Blackstone, maybe someone can state if my new builds work out of the box or do you still have to make changes? Couldn't read that out of all your posts. Please give me feedback. It's important at this stadium...
[Touch HD Android Development] diamos:
great one :D, it is much better than the previous rel.

the screen is responding in a great way, i didnt try the wifi nor the phone yet, but i can tell that this is the best of all that i had ever tried, Great job

just one issue, i keep on having "the process android.process.media has stopped unexpectedly. Please try again: Force close" and i cant run any music or video files :s
[Touch HD Android Development] foggydew88:
I made no changes in your packets:

- Froyorider-Port (3rd release 26-07-2010 RC2)

- HARET-PaketV1.3:

only copied startup.txt from Blackstone folder and let's start :-)

Good job!

Slán!
[Touch HD Android Development] Satyan:
For some reason i am still facing the wifi issue even with the new SuperF port.

i cant get the usb connection recognised on it too for adb.

I even tried the Chromatic-Port, exact same issue.

Tried with different kernel and modules.
[Touch HD Android Development] neopeek:
Sorry Satyan,

I forgot to include Data + Wifi Fix in the superF released today. That's my fault not yours. Sorry for that. Didn't want to confuse you. I will release a new superF tomorrow with fixed Data + Wifi. But Wifi on Froyorider works definitely!
[Touch HD Android Development] xUmaRix:
From your port previously it only use 1 ext2 partition.What i know xdandroid partitioned build system using 2 ext2 partition ( 1 for data another 1 for system).I just enabled android installer menu from latest rootfs.img and put any system.ext2 into /Storage Card/android/ if i want to upgrade.Could u look into this.I recall that balsat build also using single partition where everything from rootfs+data+system+kernel modules in it.So during startup rootfs is not mounted as loop hence startup.txt needed to be changed into root_partition=/dev/block/mmcblk0p2.
[Touch HD Android Development] zsdja:
Blackstone just stop at command line "Rebooting in 7 seconds..."....Jul 26 version...
[Touch HD Android Development] PaschaD:
Same here...
[Touch HD Android Development] xUmaRix:
u guys need to specify your root partition.Do some reading and research please.set cmdline in your startup.txt root_partition=/dev/block/mmcblk0p2
[Touch HD Android Development] Satyan:
Neopeek, i have tried the froyorider port again, still the wifi issue is there, in fact this time i waited after fist boot for 15 mins without touching, didnt seem to help, probably it misses the wifi fix too.
[Touch HD Android Development] neopeek:
As others stated it to work (see previous posts) and it also works for me, there must be something wrong! I assume it's a bug. I will have a look into this but can't test it on my own as I have no Blackstone to test before releasing
[Touch HD Android Development] foggydew88:
Mmm... I've formatted my SD as follow:

n.1 part FAT32

n.1 part Ext2

n.1 part LinuxSwap

and no need to specify root_partition, I use just the line already in the startup.txt: root=/dev/mmcblk0p2

and system boot with no probs.

Slán!
[Touch HD Android Development] htctouchelfin:
Ciao visto che sei italiano chiedo a te, io di solito uso xdandroid, questo mi sembra più difficile da istallare, io ho scricato i due file haret V1.4 e froyorider, adesso cosa devo fare?
[Touch HD Android Development] cymax:
How is battery holding in this release? Has anyone tested that?

Thanks,
[Touch HD Android Development] foggydew88:
Well, seems to be better then some older releases, but still far from a daily use...

Slán!
[Touch HD Android Development] zsdja:
Tried, but now it stop at "Waiting for rooot device ..." don't know what happen, and what to do next...
[Touch HD Android Development] htctouchelfin:
is too difficult to install for nontechnical users and do not have linux, I suggest you make it easier because I think a good job. continuing the good work:)
[Touch HD Android Development] neopeek:
@htctouchelfin: Maybe you are right with the difficulty...

@All:

Just put Quadrant-Benchmark onto your Fat32-Partition and there into your AndroidApps-Folder and boot cm6 rc2 30-07-2010 up.

My results:

556

That's higher than a Nexus One! Let me know your results. I believe in the end CM6 will be KILLER when the Final / Stable is out...
[Touch HD Android Development] jeanfrederic:
Actually this is not the install which is difficult but all the links to follow in order to get instructions; THere is a bunch of links and therefore the informations are lost.

Telling in first post:

Create 3 partition, one FAT32, one EXT2, one SWAP

Put Haret and (what i dont know yet) in EXT2

Put "things" in FAT32.

Thats it.

Could you please fill in my post?

I've just created those 3 partitions, but they are empty 'caus of lack of instructions i can't find.

Thank you
[Touch HD Android Development] htctouchelfin:
You're right, but I have tried to follow the instructions, but I think that for those like me who have not and do not understand linux but windows only thing to do is difficult, however, remains an excellent job.
[Touch HD Android Development] neopeek:
New Installation Method [Testers needed]

Ok, I created a new installation method! It will still need an EXT2-Partition. I won't move away from EXT2.

How does the new installer work?

You will have to create an EXT2-Partition. I also started from scratch to re-ensure that everything works from scratch. After creation of EXT2-Partition you don't need to do recreate in future. So this means exactly: Go grab a GParted LiveCD if you have no Linux and that's it. For all my builds and future updates you won't need Gparted-LiveCD or Linux any more. Sounds good ???

I will upload a new package later. The contents of this package must been extracted directly to the root of your internal memory (FAT32) into npkinstall-folder. Then download any of my builds which you want. Rename it to androidinstall.tar.gz then copy it over into the npkinstall-folder and start install.exe from your Phone. That's it. The device will do the magic for you and after it has completed you can start ANDROID by running haret.exe from the root of your memory.

I run 5 tests with htis new method and everything works great. Download available later. Have to spend some time with my wife now...
[Touch HD Android Development] htctouchelfin:
It would seem much easier than before:) expect you to upload the new build to try everything:)microsd then just having a single ext2 partitions from what I understand
[Touch HD Android Development] neopeek:
First post updated with Link to new CM6-Nightly-Build. If you follow the Link you will find the new NEOPEEK ANDROID INSTALLER + INSTALLATION INSTRUCTIONS. Please let me know if the installer works for you...
[Touch HD Android Development] thekamikas92:
On my blackstone your installer work till the end... i got the reboot message but nothing... i got an error like fail too kill init bla bla bla... I reboot my device manualy and nothing change in the root of my sd card
[Touch HD Android Development] mike86_tsai:
Finally my Blackstone can run with ext2 partition, after use the installer, and my result as below

WIFI ,ok

DATA ,ok

BLUETOOTH ,turn on ok,but couldn''t pair

3D, No.

PHONE , ok

MESSAGES , ok

Speaker phone, No.

After finish the install, the final message is rebooting in 7 second, but I wait a long time with nothing,so I reboot it manually.Then finally the system boot up then show the android desktop.

Great job, cheers:D
[Touch HD Android Development] htctouchelfin:
The istallation is faild, this is the message on the screen : mk22fs: cannot determinate if /dev/block/mmlblk0p2 is mounted

Could not set up superblock

ecc ecc..
[Touch HD Android Development] neopeek:
Did you try to do all steps from scratch. I would suggest you to save/ backup your important files from sdcard to somewhere. Then start from scratch by creating two partitions:

First partition FAT32

Second Partition EXT2 with min. 300MB max 512MB

Let me know if that works
[Touch HD Android Development] htctouchelfin:
then: 3 gb fat32 primary, ext2 400 MB primay

I take npkistall and put in sd, I take paket-Haret 1.4 and unzip into the microsd replacing files that already exist, I take CM6-01 etc etc build, rename the file and put it in the folder npkistall something wrong?

this is the message at the end of the istallation part : tar: can't open 'sdcard/npkinstall/androidinstall.tar.gz':

no such file or directory

failed

failed to extract
[Touch HD Android Development] neopeek:
So something's wrong with your setup as the installer doesn't find androidinstall.tar.gz

This is how your directory should look like:

*Root of your SD-CARD

*npkinstall

androidinstall.tar.gz

install.exe

...

If above structure is correct for you then check if you see some messages like:

can't mount /sdcard....

If that's true you have to repartition correctly. I still recommend you to do so in Linux. Let me know your results
[Touch HD Android Development] mike86_tsai:
Hi vatoloco

Today I try Froyredux-Port with installer, the result and performance is not much different with Official-CM6-Port with installer, but he theme effect is very beauiful.

Then I also try to update the Myn's Warm Donut with wifi + 3D-support , but I didn't see the famous Theme by BUUF integrated, how could I use this theme,and I also have a stupid question regard how to test the 3D to see if it work?:D
[Touch HD Android Development] diamos:
i tested the FroyRedux and the it was like this:

first boot: reached the page where i have to touch the android green android to start then all the GApps started to stop unexpectedly "force close" and couldnt pass that.

second boot: it was fine, the speed was great, the screen calibration was the best till now, BUT every 15 - 30 sec. i get the application keyboard stopped unexpectedly "force close"

third, fourth ....: just like the first boot, i wasnt able to get to the launcher.

I'll try to do more tests when i have time.

Keep it up:).
[Touch HD Android Development] jadedrk:
Froyoredux

I have tried froyoredux 02.08.2010 with npkinstall and everything is so perfect except 3d and camera. speed is very good with JIT. 4.1 MFlops on linpack.

Waiting for 3D

using startup.txt included with Haret-packet 1.4 normal and overclock both works fine. Neopeek animation is displayed once when i reboot after switching back to normal startup.txt .

Excellent work..
[Touch HD Android Development] camro:
hmm, well i never thought, that i must write about a part, which should working ....

i tested the normal Android 2.2, now i'm testing the new method via fat32/ext2/linuxswap ....

but i have one problem, which should be working ... :(

-> WLAN not working for me ...

and i know, that it is working for this build also ...

in the logcat i see: if i click on WLAN -> then:

WifiService( 1195): Failed to load Wi-Fi driver.

ConnectivityService( 1195): getMobileDataEnabled returning true

any idea what can be the problem ?

i tried to install: cm6-01-08-2010.tar.gz / froyoredux-02-08-2010.tar.gz / warmdonut25-07-2010.tar.gz - but all are not working, so i think maybe i have a wrong initrd.gz or zImage ...

i will test more in detail ..
[Touch HD Android Development] xUmaRix:
it seems like ur wlan.ko or wlan modules is not loaded.check /system/lib/modules/wlan.ko