yashsingh1/xdaforums huggingface dataset:
[HD2 Android Q&A, Help & Troubleshooting and Genera] T-Macgnolia:
Yeah I agree it is wierd, but you are only flashing a splash screen which does not touch the ROM partition of the NAND memory. So I don't feally see it causing you not to be able to flash anything else.

So are you just scared it will do that or that it did do that?
[HD2 Android Q&A, Help & Troubleshooting and Genera] atsavlis:
Lol, nope didnt try it... I have been running it off my SD card, but I hate the battery drain on it... at times it can go up to 300+mA :eek:

Worried that if I do it, and I cant load into android, then there is no way for me to get back into bootloader to re-flash winmo, or any other android rom...

Been searching my head off, and nothing out there!!!!
[HD2 Android Q&A, Help & Troubleshooting and Genera] T-Macgnolia:
Yeah you are right about that. If things go bad you will not be abale to get to bootloader. Have you tried American Android on SD? I have read a lot of good stucc about it. I used Warren Bread on SD befor I went NAND, it was a build that was put out just befor American Android by one of the developers of Americsn Android. Anyway was not that bad on battery drain. Oh yeah I think I would just run Android from SD if I was you until hou are abale to vet your volume button fixed just to be safe lol. ;)
[HD2 Android Q&A, Help & Troubleshooting and Genera] atsavlis:
Yea, waiting on the part to get it fixed... so il stick to the sd version for now... Mine is aeuropean version, so not too sure if the american android will work on mine... bumber!
[HD2 Android Q&A, Help & Troubleshooting and Genera] T-Macgnolia:
It sbould work without any problems, I think that the "American" is just the name of it. Idonot think it means it isdevice spacific I will go check it tbough real quick.

Edit: I just checked the thread on American Android and it zays nothinv about being a TMOUS only build. and I seen several post from people not from America. :D
[HD2 Android Q&A, Help & Troubleshooting and Genera] atsavlis:
Busy trying it out.... lets see. Which rom have you flashed on your nand??? I like the look of the boyppc roms. Had any good experience with a specific rom?
[HD2 Android Q&A, Help & Troubleshooting and Genera] T-Macgnolia:
I run Hyperdroid as my daily driver, thi. king about giving Ultimate Droid a try today?
[myTouch 4G Q&A, Help & Troubleshooting] picoboss:
Does anybody no were I can get caller pictures from, like the ones in miui rom please help
[Motorola Droid and Milestone General] H3MLOCK:
After hopping around the internet, I stumbled upon Inferno (OS) which is similar to Java but based off of Plan9.

It does support ARM and virtualization via the DisVM. I was wondering if it was possible to port it to hardware like the droid, since it's already on the DS and Openmoko. And if so, would anyone be willing to work with me on trying to develop this?

PS: I would post relevant links but the forums won't let me just yet.
[XPERIA X10 Q&A, Help & Troubleshooting] qazaz:
Can you guys list the pros and cons of using a taskiller because I've been hearing that its bad for your phone.

Comments will be greatly appreciated.
[XPERIA X10 Q&A, Help & Troubleshooting] Buddha:
I don't use ATK, try System Panel.. paid app. brilliant.
[XPERIA X10 Q&A, Help & Troubleshooting] redarrow75:
Starting with android 2.2 the task killers are useless
[XPERIA X10 Q&A, Help & Troubleshooting] CMoney87:
use AutoKiller memory management. It isn't really a normal task killer but selectively raise the kill priority value (oom) of most apps so the OS kills them sooner. Since it is just an interface for changing values and wont run in the background it wont drain battery or CPU. You can also open the app and manually kill apps if you need to.
[XPERIA X10 Q&A, Help & Troubleshooting] qazaz:
What were your memory limits set at?
[XPERIA X10 Q&A, Help & Troubleshooting] Bruce Lee:
I dont bother with any of that stuff anymore.

The 2.2 ROM i am running at the moment does all that for me. Well almost. 2.3 did that even better when i ran that rom by rdanner.

Sent from XDA Premium from my X10a rooted running 2.2.1 CM Rom from Rendeiro2005
[XPERIA X10 Q&A, Help & Troubleshooting] batman_112:
If you used the search button, you would have found this: [Q] Task Manager/Killer Apps - Good or Bad after 2.1 update for X10?
[XPERIA X10 Q&A, Help & Troubleshooting] CMoney87:
I use 150,200,250 as the last 3 settings and it works perfectly for me. Some people think those values are too high and could cause problems with some widgets but it never changed the values of any widget dependant services for me and I havent had any problem in at least 3-4 months of usage.
[XPERIA X10 Q&A, Help & Troubleshooting] CMoney87:
If you got AutoKiller and havent figured it out yet you can press the processes tab at the top to see a list of all running apps, just click one to kill it. This will also show the oom value for each as well as which is the kill priority value. The higher the oom value the higher the priority to kill it when the system needs to recoup ram, the lower the value the less likely it is to be killed. Ive noticed that even with the high values I use, any process or service that relates to the system functions or widgets I have has a value that hasnt changed and remains at 1 or even in the negatives.

Despite what people say I have had instances where I need to kill apps that get hung up (like the browser sometimes and every once in a while a root app gets stuck while verifying permissions) and the OS wont kill it automatically, so I do use it to kill apps occasionally.
[Nexus One Q&A, Help & Troubleshooting] Androidity3000:
I got the newest radio version for the XDA official post, and I tries to flash it in clockwork and Amon Ra. I always get signature failed errors. Can any help me on how to install this new radio version (5.12) Also, I am on 5.08 as of now, Should I upgrade anyways?
[Nexus One Q&A, Help & Troubleshooting] time_shock:
you probably have a corrupted download?
[Nexus One Q&A, Help & Troubleshooting] Androidity3000:
Don't think so, I tried the direct download and some mirrors and all give no luck. Other people posted of this problem on that thread, but no solution has been found...
[Nexus One Q&A, Help & Troubleshooting] y2k1ltd:
I found better signal with the 5.08 radio with Geo411m stock rooted rom than using the 5.12 radio. I believe it's due to the area you are in.
[Nexus One Q&A, Help & Troubleshooting] martin0285:
use fastboot... Safer anyways...
[Nexus One Q&A, Help & Troubleshooting] Rod3:
You need to flash using aman ra and disable signature verification. Make sure to check the md5 before flashing. Newer clockwork mod doesn't support the older scripting of the 5.12 radio.zip
[Nexus One Q&A, Help & Troubleshooting] GldRush98:
Just use 5.08.
[Nexus One Q&A, Help & Troubleshooting] baseballfanz:
I would NEVER turn off signature verification when flashing radio.

That's just asking for it.:D
[Nexus One Q&A, Help & Troubleshooting] efrant:
How, then, are you going to flash a radio in recovery? Google has never released a radio zip file, so any radio zip files you see floating around are not from Google, and will not flash with signature verification on...
[XPERIA X10 Q&A, Help & Troubleshooting] Marsulici:
Sometimes , when i have an incoming call , my screen just freezes up and i can't answer the call. My slider won't respond ... I have to push the power button 2 times to deactivate and then activate the screen so i can use the slider.

It's very annoying sometimes ; it doesn't happen that often , but when it does i miss some calls.

Any1 else experienced this before ? is there any fix ?
[Desire HD Android Development] bergfex:
This is about booting Ubuntu natively on the DHD. (without chroot and without an Andriod running at the same time)

Based on the version for the HTC HD2

What works:

touchscreen (touchscreen works as touchpad) (thanks to Jhinta)

two finger scrolling (thanks to Jhinta)

Wifi

dragging windows (double click and holding second click)

right click (double two finger click) (thanks to dronf)

adb (thanks to torsrex)

incoming calls (thanks to liljom)

SMS (thanks to liljom)

What doesn't work:

sound

keys (hard and soft keys)

usb host

firefox (only as root)

Instructions:

Download ubuntu4dhd.zip

Download easy to use.zip

Put the linux folder from ubuntu4dhd.zip to the root of your sdcard

Put the easy to use folder to your windows PC

Bring your DHD into the bootloader

Connect DHD to the PC

Double click Start here.bat

Tip "fastboot boot boot.img"

(without ")

after restarting your old rom will start

Change log:

Working touchpad driver

two finger scrolling

Wifi working out of the box

Modifing the rootfs on your PC or virtualBox:

mkdir /ubuntuDHD

sudo mount -t ext2 -o loop /path/to/rootfs /ubuntuDHD

rootfs is now mounted under /ubuntuDHD and can be modifyed as root

umount /ubuntuDHD

Dual boot option:

Download two different cwm from Rom manager

Open the clockworkmod folder on you sdcard an open the download folder.

Search for the version number for the old recovery. You will find an image file, open the containing folder and copy the boot.img from the Ubuntu4DHD.rar into it.

Now, rename the boot.img file to the recovery image filename and deleted the old recovery.

Now, when you select the old recovery from Rom manager, it will flash the ubuntu boot image.

Booting into Recovery will now boot Ubuntu

When you want to go back to cwm, just select/flash the newer cwm version with Rom Manager.

Download:

Ubuntu4DHD.rar (reuploaded as rar)

MD5 of image: 79a9faa2d49725fb6bfdc30d4c5fb885

easy to use.zip

appendix:

easy to use.zip

with:

My boot.img

boot-usbhost.img (boot image with usb host support)

Tips:

Password: ubuntu
[Desire HD Android Development] bergfex:
For porting to other devices

Changes on the boot.img:

I guess you know how to extract a boot.img.

http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack%2C_Edit%2C_and_Re-Pack_Boot_Images

When you try split_bootimg with my boot.img you will find two things.

1) a special command line arguments

2) a complet other ramdisk image containing

2a) a busybox

2b) a init script

The commad line arguments refer to the init script in the ramdisk.

The init script mounts some partitions including the ubuntu "partition" (in this case a image file on the sd card".

For mounting the partitions the init script calls a other script called MAKEDEVS also based in the ramdisk image.

In this second script you need to change the major and minor numbers of the block devices to match your kernel/device.

Placing the ubuntu image on the sd card:

I use a image file on the sd card.

You could use following commands on a linux machine to edit the image.

mkdir /mnt/ubuntuimg

sudo mount -t ext2 -o loop,rw /pathToTheImage/rootfs.ext2 /mnt/ubuntuimg

Then you will see the content of the image in /mnt/ubuntuimg.

Don't forget to unmount.

umount /mnt/ubuntuimg

Edits on the kernel:

In the kernel the framebuffer must be activated to run ubuntu

make menuconfig

Device Driver->Character Devices-> Set Virtual Terminal

Device Driver->Graphics support->Console display driver support->Remove VGA Text console

Maybe same patches for the framebuffer are needed to use the framebuffer.

Some information can be found under:

http://xdaforums.com/showthread.php?t=1008144&highlight=ubuntu
[Desire HD Android Development] twiztedvvv:
getting this working would be awesome, better than a working honeycomb possibly :D.
[Desire HD Android Development] shree.cse:
If this would be possible. DesireHD Can Dual boot. Thank-you

Sent from my Desire HD
[Desire HD Android Development] raze599:
If this ever works, is it possible to modify the normal Android system to allow a virtual environment within which you can run Ubuntu? That way you can have the benefits of both.
[Desire HD Android Development] bergfex:
I think, I must not start my init script directly. Instead I shloud start it from within the init.rc.

But how?
[Desire HD Android Development] twiztedvvv:
See leedroids post on booting ubuntu through Android. A bit closer to what your looking for and working although a bit of experience would be needed.

But like another said. Dual boot Android and ubuntu should be possible if we can get this to boot.
[Desire HD Android Development] Columbia:
Man if you do it, it will be exciting! Even better than working sense 3.0 Good luck!
[Desire HD Android Development] Jhinta:
Keep in mind this is native and not chroot !!!
[Desire HD Android Development] adwinp:
1: Use the android init. It directly references init.rc

2: move your init script into init.rc

3: you have failed booting due to the system not knowing the executable paths;

you HAVE to export your paths. Either reference your binaries directly, for example:

/bin/mount, /bin/dosfsck

or

export PATH /bin:/sbin:/usr/bin:/usr/sbin

Furthermore, you need to diet your boot.img; 5Mb is not flashable on the DHD unless you move and resize the partition tables (risky). The stock max is 4Mb.

You can also force the kernel to execute the init script by referencing it in the kernel cmdline. Check this option in your kernel config and compile it with such support.
[Desire HD Android Development] twiztedvvv:
Good point. Got a bit lost in concentration :)
[Desire HD Android Development] MrYuiM:
I would know about moving and resizing partitions :/ ended up reformatting completely.
[Desire HD Android Development] adwinp:
I was writing about emmc partitions, not "sd".
[Desire HD Android Development] bergfex:
Thx

The init.rc script is a android specific script/script language, can i place a shell script into it?
[Desire HD Android Development] Jhinta:
1. kernel cmdline gets ignored rootdev will be NULL thats has to be fixed

2 moving init to int.rc no go as we want native ubuntu leaving init(android) will only boot android.

3 the reaseon it fails is that the kernel cant see mmcblk1 before cmdline ( why we have to find out )

So in sort kernel is oke but cmdline get igored, if we leave initrd enabled in kernel config its starts init ( android ) if not panic root not found here are partitions list of mmcblk0** root"NULL" not found <-- disableing initrd in kernel wel make root null because its wants to load initrd->init from ram witch is android binary elf init.

Step to take are making a initrd that will mount sdcard witch is mmcblk1 and mount it as rootdev if that works we can make a init.

So

1 we have to have a kernel thats has the correct cmdline as kernel config does not accept cmdline its will just be ignored.

2 have a initrd that that wil do a setup before starting init ( system setup mount pionts and so on)

3 build a init that will boot ubuntu and you done :D
[Desire HD Android Development] bergfex:
Do you mean boot comandline parameters?

I makes a difference if I use

fastboot -c "init=/init rw consoleblank=0 fbcon=rotate:1" boot boot.img

or

fastboot -c "init=/init rw consoleblank=0" boot boot.img
[Desire HD Android Development] Jhinta:
so finaly got a working system to test stuf .

first of all you got console of in the image that makes it hard for anyone els to see whats going on . AND the laste time ill say this kernel cmdline is skipt !!!!!!!!!! fastboot c = cmdline=kernel command line = kernel arguments bla bla bla.

its get skipt !!!! root= init= bla bla = will not work !!!!!

why we have to find out !!

enable console you have userspace on, there is nog log out so people cant see whats happening
[Desire HD Android Development] bergfex:
My script in the initrd get started, but it has still an error in it.

Wait a moment, then i will upload the new boot.img
[Desire HD Android Development] bergfex:
New boot.img starts the my script in the initrd

1) copy the linux folder from the hd2-ubuntu_0.3.zip in the root directory of your sdcard

2) fastboot boot boot.img
[Desire HD Android Development] Jhinta:
this realy is working you got it almost ? what is your script maby i can help as far as ik can see sdcard doesnt gets mounted also can you get on htc-linux irc make typeing for me easyer takes long frome to even type this
[Desire HD Android Development] zFr3eak:
it's also the correct name? you have a unlocked bootloader?
[Desire HD Android Development] donnyevo4g:
yes the name is correct and i have a unlocked bootloader
[Desire HD Android Development] torsrex:
Just go the wifi to work!
[Desire HD Android Development] liljom:
how can we get the wifi to work?
[Desire HD Android Development] torsrex:
I did the following:

1 Downloaded the modules from the link I posted earlier (direct link to the module you will need: http://www.mediafire.com/?mmaqtlr3k35bhol )

2. Mount the image on an ubuntu computer using the commands from the first post.

3. Overwrite the file in /lib/modules with this one

4. unmount and boot up ubuntu on your phone.

5. Open the wifi mode on your phone.

6. Connect your phone to your pc.

7. Cd to the androidsdk folder and type adb shell.

8. In the adb shell (it starts with # ) type cd /lib/modules

9. Type "insmod bcm4329.ko" (without the "").

10. Go back and connect to your favorite network.

11. Have fun!

Please, befor you do the following I have written above, could you start at 5 and tell me if it works? Thanks.

Eid: Firefox won't connect, but the internet is working (try to run ping in the adb shell).
[Desire HD Android Development] torsrex:
What is the root password?
[Desire HD Android Development] zFr3eak:
good question lol ^^
[Desire HD Android Development] liljom:
it works from step 5, I can connect to my network. But after that it doesn't seem to work.
[Desire HD Android Development] torsrex:
Do you use a encryption key on your network?

If so, did you select the right encryption on the pop-up? (There is two different for wpa). Please try the other wpa setting if your encryption is wpa (I also had to do this, and the other setting worked for me).
[Desire HD Android Development] liljom:
yeah, I have WEP and I chose the right one. I am connected. But Firefox, fennec doesn't load anything

EDIT: Synaptics is downloading :D

I started to update the packages. It'll take ages :p
[Desire HD Android Development] bergfex:
sounds good.

So today we get wifi, incoming call, receiving/sending SMS, and jhinta is close to make touchscreen work in landscape mode.

posible next steps:

Maybe we can try internet via gsm.

Asking for ubuntu for hd2 v0.4 -> should offer sound in calls and maybe better multitouch support.

Trying Lee's image, with it I had support for hard keys (Power, Vol+/-)

http://htc-linux.org/wiki/index.php?title=Ubuntu/Leo#Sound
[Desire HD Android Development] Jhinta:
lol i was planning to send you a boot img but i fell a sleep and wokeup to go to work :o , also i have found what does make left and right correct , just have to find up and down inverter yet.
[Desire HD Android Development] Jhinta:
touchscreen as touchpad driver fully working now

http://www.multiupload.com/TC5YZVKVV3

Source code for working touchpad driver for touch screen

All credits to dronf

As note this is a touchpad driver , sure it works ,, but we still need a way to have multitouch fully working ( point and action )

Also about the wifi how was this done because when i insmod file i get infailed file format
[Desire HD Android Development] destructor542:
Hi, I like your work too much but, can I ask you to do the next version without ubuntu netbook remix interface too?

Thanks a lot.
[Desire HD Android Development] Jhinta:
loginpassword is ubuntu.

seems like netbook remix is default , but you can easly remove it from command line
[Desire HD Android Development] destructor542:
Thanks, it works. What about BT for connecting keyboard or mouse? It may be really useful and I want to ask if drivers from the Android can be used in Ubuntu.
[Desire HD Android Development] Jhinta:
1 thing at the time need to sleep ;)

wifi is working diff kernel diff module
[Desire HD Android Development] Duskfall:
Can anyone confirm if ettercap works with this release ?is the adapter recognized?
[Desire HD Android Development] bergfex:
I added wlan module and firmware files from an old rom to the rootfs.
[Desire HD Android Development] Jhinta:
anyone know what the max file size is for recovery?
[Desire HD Android Development] liljom:
isn't recovery partition mounted in ubuntu? maybe you can find it there. just an idea
[Desire HD Android Development] zFr3eak:
i think 5 mb too
[Desire HD Android Development] zFr3eak:
normaly not cause it only mounts the sdcard.
[Desire HD Android Development] Jhinta:
nut sure yet if it only mounts sdcard as i do see som mmcblk0 parttiton running df
[Desire HD Android Development] bergfex:
@Jhinta:

Are you thinking about replacing the recovery with ubuntu?

I think this was done, on an htc g1.

I have an other idea for dual booting, but not sure if this will be technicaly possible.

Therefore we need a kernel that works with ubuntu and the android rom.

Then we should put the init-ramdisk from the boot.img form the android rom and place it in an image file on the sdcard. This image file will be like our rootfs.ext2 but containing the android init-ramdisk and will be only about 2MB in size.

The init script in our boot.img will also need some modification. It needs the possibility to choose between mounting the rootfs.ext2 and the android-init-ramdisk-image.

As said, this is just an idea, not sure if this will be possible.
[Desire HD Android Development] Jhinta:
There is no need for android muti boot , the only thing we need is a multiboot for recovery or ubuntu .( booting android is simple as putting the phone on )

We can add scripts to recovery , so unmounting recovery to mount ubuntu and then chainroot , looks like the best way , also ill will send you the multi boot initrd from G1 you will see what i mean.
[Desire HD Android Development] bergfex:
Sounds good, I thought the recoery was completely replaced with ubuntu.

Here is something similar:

http://xdaforums.com/showthread.php?t=779274
[Desire HD Android Development] bergfex:
I have uploaded a new version.

New:

touchpad driver working in horizontal version (thanks to Jhinta)

two finger scrolling (thanks to Jhinta)

wifi working out of the box
[Desire HD Android Development] twiztedvvv:
Nice work. With FireFox not working is it possible any other browsers will work? Will try it out when I get home.

Is it possible to boot into ubuntu without connecting to a pc.

Sorry to be a noob. Thanks.
[Desire HD Android Development] Jhinta:
replace recovery with the boot.img if size is possible ( no multiboot yet )
[Desire HD Android Development] Jhinta:
yes it was replaced , but it sould be posible to chainroot to recovery partition its the same as we do for rootfs
[Desire HD Android Development] twiztedvvv:
Maybe I don't understand fully. But is it possible to boot ubuntu from fastboot in bootloader? Rather than run the start.bat in the easy.zip package. I'm just curious so I can boot ubuntu when I'm not at home.

Thanks for your help.
[Desire HD Android Development] Jhinta:
what i ment was you can flash the boot img as recovery so going to recovery will boot ubuntu, only this will remove the original recovery ( this is when the boot.img fits in the recovery partition , as i dit not test this i do not recommand this but having a backup you can sure try )
[Desire HD Android Development] bergfex:
I can't advise you a safe way to boot ubuntu without connecting to a PC, but this will be on of the next steps in the development.

Let us know if you found a way.
[Desire HD Android Development] twiztedvvv:
Thanks very much for the help guys. Will have a look tonight if I have time.
[Desire HD Android Development] torsrex:
Great news!!! Flashing the boot.img to the recovery did WORK using fastboot flash recovery boot.img!

So, now my phone is able to start ubuntu without a pc by choosing recovery in the bootloader! :D

Also, the default password is: ubuntu
[Desire HD Android Development] twiztedvvv:
You beat me to it =P. Without recovery. How would you format the data/cache etc. and flash roms? Surely you would need to re-flash cwm. Anyway. Great work!!
[Desire HD Android Development] bergfex:
Cool!!!!

I was to scared to try this, yet. (But should be safe.) Have you tried installing CWM again? I don't think this is a problem, but it will be good to know.