yashsingh1/xdaforums huggingface dataset:
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] antonizoon:
Hey, just wondering (and please excuse my frankness, but this is valid criticism).

Exactly how are you creating this build? Got an automatic buildscript? It's good if you did.

But I sure hope that you are not just chrooting into it and manually making mods; I know from experience with building Linux liveCDs that anything that is not automated will not scale.

Think about it. Would you want to do this manually, all over again? How are you going to keep this up when you're so busy? If you see the ruins of this forum, applying Android Custom ROM ideas to Linux distros has always ended in disappointment and whimpering failure. And I don't want that to happen when your build seems so nice.

This is why nearly all Linux Distros worth their salt make LiveCDs using the profile methodology; you just add package names to a list, files and mods to be added in an overlay. After that, to get updated packages, you just rebuild the system, and the same mods will be applied every time.

-------------

I have lots of time on Thanksgiving break, so how about we work together on it? I can tell that we can learn a lot from each other. I will replicate your build (like I did with barduzny's) and show you what I'm talking about with profiles.

You can email or Gtalk me at: sagnessagiel@gmail.com

----------------------------

Also, while extra programs are nice, please try to keep the build as minimal as possible. Most people want to decide what they want for themselves. You can create a "full" option with bells and whistles if you choose, but make sure that bare-bones options are available.
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] zo1d:
Hey antonizoon,

First of all, i continued on dcordes project for fun, didn't thought to achieve something,

I only plan to upload it because i want to return something for the things i got from here.

On the beginning i changed most things, while the image was mounted in my normal system

because Magldr with Wifi & touchscreen wasn't possible at this time (f**** swapped the sdcard

many many times till it worked, especially while testing kernels and drivers)

I mostly shh'ed or vnc'ed into it when i am at home, outside i make it on the device directly.

And no I don't record my changes (has dcordes done ?, and i was also able to continue, diff is your friend !)

I dont have a "auto build" script, because i dont see any sense in it when not all drivers are working

beside this it does not make sense at all because i continued a project and not started one.

Why you care here about your autobuildscripts, if you want to contribute something care about the real

problems and dont make new ones. btw it should better be discussed in the thread of your project

Please don't tell me what i should do, especially when i haven't seen s.th. interesting/useful from you.

Its not my goal to make i minimal distro, i want a functional pentest/security related distro, that is useful,

fast, stable and has style. If you don't want it, then don't use it.

Most of the pentest Apps where not in repos so its not easy for everyone to get them.

Beside this i made them as portable as possible, what means all their files are laying in a second image

file which is also in the sd-card/linux directory, this will be loaded during startup. 99% of the files & libs

of the pen test stuff are on that Image, Hardlinks in your normal image are redirecting the os to them.

If someone doesn't need the pentest stuff he can simply delete the image and the menu entries.

I am sorry that you have a lot of time on thanksgiving, if u want to help, take dcordes last build

and care about the hardware keys and/or bluetooth and I will migrate this.

Don't post anymore about your, or better to say bardzusny's, autobuild

scripts here.. its off-topic and uninteresting for me at the moment...

You welcome if you have other good ideas or things to contribute.

cya
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] Robbie P:
Hi zo1d, congratulations for 10 posts. When you are ready to post your work, it might be worthwhile to ask a Moderator to move this whole thread to the Ubuntu Development section, to save starting a new thread there. Just a thought.
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] zo1d:
Hey Robbie,

haha thx dude,

end of the month - beginning of december it should be ready to download!

I thought about, but i decided to start a new thread there and mark this here as the community discussion,

Its planned to upload everything to sourceforge (thanks to Andie)

The wifi firmware needs to be downloaded from somwhere else and has to be placed in the root folder of the sd-card.

I will make a script that will care about the implementation, the user only has to run it one time after downloading.

This is necessary because (i think) the wifi drivers are not opensource and i don't want to get in trouble with htc,

broadcom, xda or sourceforge. Hopefully we get the wifi drivers from https://code.google.com/p/bcmon working

that we can get around such things.
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] LordYuuki:
Has anyone from Germany volunteered already to upload it all?
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] zo1d:
Yes, but for future uploads maybe not bad to have more than one person...

Small update:

-Still about 40 backtrack 5 tools to go

-I found a really awesome graphic designer, who is willing to contribute his wallpapers to the project :)

-created a mascot, ninja's ftw !

-Real Transparency is working, no more yellow rectangles when starting a program. UI is even faster than before,

seems that this fake transparency was very hungry on cpu time. On screen keyboard looks delicious now !

-fixed the common ubuntu problem that the gnome setting manager is randomly not able to load user settings

-Cairo-dock works really nice now

-A lot of other UI improvements

just be patient for some days i am sure the upcoming release will be awesome :)

good work takes time !
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] Sancher:
Could this on-screen keyboard be resized? Cuz I use HD2-Toolset with Debian and xfce which uses the same size keybord and it`s not very easy to tap it with fingers.
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] zo1d:
Yes working from smaller sizes till edge to edge
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] LordYuuki:
I will reply to you in some days to get in contact with you, zo1d, so we can manage something to upload it, if I got time.
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] IAMLEGENDZ:
reply

Hi, Thank you because our beloved Htc HD2 is still alive. I have question which is Does this ubuntu support haret or only MAGLDR?

Sorry for my english.
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] zo1d:
Magldr - for sure (i wrote it in the title and in the first post...)

haret - i dont know, WinMobile was immediately replaced with android on my phone...
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] fly91927:
:good::good::good:

first， sorry my English，your job is so cool，I hope you will not stop it。right？
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] retsam88:
Great project guys.

But I wonder if this could survive with slow updates.

zo1d, can you get a free internet connection(hotspot, mobile) ?
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] zo1d:
No prob dude, sounds ok, it's also not my native language...

Thanks I also like it very much, at the moment i am not planning to stop it..

thanks !

good question maybe we can get a own apt repository one day, would be nice

of course possible, but in winter its too cold to upload it from the streets :)

and i think its only fair if someone else will care about this.

you can donate for a bigger line than 256/16 kb/s xD

I cannot effort more, minimalism & ascetism FTW !

greetz
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] mstdzw:
This is only mgldr?

CLK and NativeSD will be awesome.
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] Robbie P:
If it works from magldr, it should work from haret too.

Not sure about CLK, don't use it, but AFAIK it uses a script like (haret) startup.txt.

"NativeSD" could be possible, if instead of the rootfs being an ext(?) image on fat32 (4GB file size limit), the file system was on an ext4 partition. The difference in speed between sd builds using system.ext4 (and data.ext4) images on fat32, and nativeSD (both on ext4 partition) is amazing, on a good sdcard. z3nful's backtrack 5 uses ext4 partition here http://xdaforums.com/showthread.php?t=1158763.
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] zo1d:
Yes i also think so, all we need is a modified initrd, but this modification is relative

individual because of different sizes and start sectors of ppl's sd cards. The only way

to automat the process of creating such a initrd would be if the actual system is started,

the sd-card have beside the normal (by magldr needed) FAT Filesystem Free Space (in the size

of the desired ext4 partition). This is because i think it isn't possible to resize

FAT Partitions under Linux. Especially not when the system is mounted as a block device

from this partition xD. A script then can take the job of creating the desired partitions,

the new initrd (with the user-individual start sectors of the ext4 partition) and then copying

the system in the new ext4 partition. Badaboom

I am not 100% sure if it will work, but seems like a possible solution for me to make this SD-Native,

Robbie, What do you think, possible ?

It can be speeded up ? Nice :) i only have a class 4 sd-card and the speed is already

compare-able to a normal linux on a older single core cpu..
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] Robbie P:
Wow, I wasn't thinking of creating ext4 partition from initrd.gz, only mounting the system files there. In NativeSD you have to create the ext4 partition first (with a recovery or gparted etc) with enough space for the filesystem to fit with room to spare.

i think it might be tricky to create/resize partitions at bootup anyway because of the different uses people have for their sdcards (dual boot wp7, swap, dataonext etc).

But it would make installation simpler if you booted it and it sorted everything out for you:)

As for how to go about modifying initrd.gz, I'm afraid that is beyond me:o
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] zo1d:
I didnt meant to create it by the initrd, just to mount it,

It was meant as a way to "transform" this buildt to sd-native

1. Make sure that there is enough unpartitionized empty space on sd

2. boot ubuntu via magldr from .img

3. run a script that creates the new ext4 in the free, unpartitionized space

4. this script will save the values of the start sector and compile a (individual) initrd with the right values from the actual partition layout

5. script now should care about copying the system to the partition

6. reboot phone switch to new initrd in magldr and now it should boot sd-native

(just an idea)

hope you understand what i mean,

greetz
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] Robbie P:
If a user has to decide how much sdcard space for fat32, unformatted and any other before first boot. Would it be simpler just to create ext4 partition and set it to primary at that time. On first boot, script can just mount to p2.

Edit; would it be possible for it to be installed to an existing ext4 partition with nativeSD ROMs already installed? If initrd. gz and zImage were put in sdcard/nativeSD it could boot from datagr's app.
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] retsam88:
As for mouse button emulation, you could use HD2 volume keys in landscape mode: VOLUP for LMB VOLDOWN for RMB. It works nicely in OpenTTD with relative mouse movement.
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] zo1d:
Its a matter of the driver, just that it works in your android game doesn't mean

that the linux driver will work properly too.. (this is NOT a chkroot version.)

i already use tapping for first button and if (one day) xorg.conf

and xinput settings are working i prefer home or return for the second button.

but doesnt count if the driver is working you can choose any button.

Till then dwell applet has to be used.

Hey Robbie still not what i mean... I try again to explain xD

You have a sd-card fresh nothing on it. you make one FAT Partition, but let the desired space for the second partition (the ext4 one) free... Then put everything in the linux folder in the FAT partition (rootfs, initrd and kernel..)

Boot this up.. you now in the "traditional" Linux from rootfs.img. Make changes customize... download what you need deinstall what you don't need. If you finished it would be a good moment to take out the sdcard and make a backup from the traditional .img for worst case scenarios.

Boot again the traditional version, now is the time for the imagined script.. script asks how big the Partition for the NativeSD Linux should be and cares about creating the swap, ext4.. partitions in the free space on the sdcard (behind the FAT partition). Script now writes the partition details in a new initrd (which points to the ext4 partition on sdcard) Then copies the whole system there.

Boot up with the altered initrd (wich points to the physical ext4 partition) and it should work theoretically... ...i hope xD

If i am not wrong you should have everything the system needs (beside kernel and initrd) on the etx4 partition the rootfs.img could be deleted now. right ?
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] Robbie P:
Sounds good to me mate:)
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] retsam88:
So quiet lately, so bump maybe.
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] Rahul7301:
idea for uploading

Hi Zo1d, just a suggestion for uploading : whenever the build is ready you can split the file in parts and share your local drive online probably by using tools like Drivehq so multiple users here may help you to upload each of the parts to the hosting site and make it available for all..
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] LordYuuki:
Sorry, that I didn't wrote back earlier.

Haven't got much time the last days, so I couldn't upload it. I'm very sorry for that.

Did u tried to split the file up and upload it in Dropbox maybe for the beginning?

While it syncs in the background, you can relax. And after some people downloaded it, they can upload them elsewhere.
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] andikicker:
I get mail from zo1d with the cd then I will upload all in one day but first he must go to send the letter and then I'll upload. To resolve Z1d wanted another 2-3 days to build the work around the error vnc me I think he is the next week send us a dvd.

thanks
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] Burag:
Why relaying on one single host?

It would be better to make a torrent, so we could share this with eachother :good:
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] zo1d:
The first beta is finished, and on the (snailmail) way to andikicker who will upload it around 12.12.12 :)

don't mind the greyish icons, they look shiny white on the hd2 screen xD

Me thinks, its a good idea for the wifi-firmware, but the rest will be hosted at sf.net they have over 9000 mirrors.
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] james.carter:
wow!!! thats so exciting... you have made a history on 12-12-12.. long live HD2.. :good:
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] Suhaib10:
WOHOOO cant wait to try it :good: :victory:
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] Gabriel172:
I can't wait to download! :)
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] PlatinumBox:
Me too:)
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] Ev0luti0n_:
Awesome :D i will definitly want to try this as well
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] andikicker:
the CD has just arrived with me I'll test the whole time right now, and if everything starts smoothly upload :) should then immediately available for disposal tomorrow morning, I have to restrict the upload speed a little because I still want to play css;)
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] zo1d:
I saw ppl already downloading on sourceforge i please everyone to wait, it seems that andi isnt familiar with the sftp protocol and therefore tried to rezip the files in some parts and upload it via web web-interface (max filesize over http < 1Gb..) , what he uploaded there is'nt complete and functional and not approved by me ! I am waiting for his message, I hope he is able to uploaded "as-it-is" over sftp.. If Andi isnt able to upload properly I need a new uploader from Germany !

[edit] seems that only the second part of the zip file was corrupt, andi wrote me 5 min ago that he will re-upload the second part of the zip file

thanx for waiting
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] andikicker:
please excuse all but I had problems at sourceforge with the upload, this is always terminated at the half, and now I have all uploaded with my hd2 which went much better * rofl *

Please invite all 2 parts down with Winrar then merge, who would install wireless zo1d I think is to write a small manual. I have the wireless driver sometimes uploaded Link by zo1d, 10 messages... :/

good luck!

P.S. complained to you please contact me via the forum at unpack or download problems
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] petenchris84:
Hello is there a link yet thanks for the good work
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] Suhaib10:
Hey Zo1D did us happen to see this by any chance if we can compile it for hd2 it should help decrease the amount of stuff not working
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] zo1d:
Has someone successfully extracted the archive ?
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] petenchris84:
I don't see no link mate were is the link
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] james.carter:
Thanks Zo1d for your hard work and yes, the archives extraction is successful. I have a question though :

I have an 8GB SD card with 4GB reserved for WP7 and 4GB remaining for SD builds. After extracting your files,

the total size of all files is 6.51GB.

So what is the minimum free space required to run UBNHD2 ??
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] zo1d:
The link is https://sourceforge.net/projects/ubnhd2/files/

Hey James

i think about 8GB should be free

Be sure to have all files in your (SD-card)/linux Folder and switch to this via MAGLDR on boot time

Happy trying
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] james.carter:
ohh.. that means its now time to get a 16GB sandisk.. :)
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] Sancher:
It says "please insert disc 1" when i try to unzip it into SDCard/linux
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] wizmart:
indeed, i was looking for too...here is the link: http://sourceforge.net/projects/ubnhd2/

wifi is not working yet. first impression good, really full of apps, not sure about cairodock btw, no time to click the apps start just on hovering on icons...Alltogether nice job

Zo1d maybe you could get some help from debian for hd2 in the ubuntu dev threadl. his wifidriver is working fine and its one of the best debian for hd2 until now, sound working too and youtube running on the go whithout installing anything apart from iceweasel...okay no landscape and little space available...no apps except wicd anything else you install yourself (apt-get) but very fast and touch mode available.
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] wisor2006:
@zo1d @ ALL

Your archive includes 2 image files about 3 Gb each. Please, help me to modify it for Windows haret and to minimize your images to 1-2 Gb (I suppose that the images include a lot of free space not actually needed for mobile purposes).

For example, other ubuntu builds are much smaller about 2 Gb.
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] Robbie P:
I have attached a zipped folder. Extract it and put the 3 files into your linux folder on sdcard and then touch clrcad and then haret. Should work.

You could use toporesize on the ext2 files, but not sure what the minimum size is.
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] MariekPL:
Unfortunately This folder has no files. :/
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] LordYuuki:
Hey guys,

can't download it anymore from sourceforge. Seems to be deleted now, cause the folders says its empty?
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] PlatinumBox:
Sorry for the question, how to download from sourceforge? Thnx
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] zo1d:
To everyone who is still searching for wifi drivers I already posted this morning the above text :) !

As many ppl had problems to extract Andi decided to re-upload it properly

I am sorry for this Inconvenience, i am not responsible for this but files should be there soon

nevertheless a nice weekend to everyone !
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] Zergra:
"No such file ore directory ".-

i have put the files to the root position at the SD-Card and use the tutorial..
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] zo1d:
Hey Zergra,

u have the bcm4329.ko and the fw_bcm4329.bin in media/SD/ ?
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] wizmart:
same problem here, i think the program is looking for SDcard but we got a different name on it. i have 0879-6875. i was trying to rename /media/sdcard but not possible...
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] zo1d:
My failure, thought it will mount all cards as "SD" :)

open gedit in root mode (the dock gedit link is in root mode)

then open usr/sbin/uhdsetup

under " if [ "$input="7" ] then

change the media/"SD" to the name of your SD-card in both lines

after this the script should work (if you do this for all points in the script the other options will work too)

Better solution:

I recommend everyone to rename the first FAT Partition of the SD card to "SD" or many things wont work !

(this should be done externally and not in the phone because ubuntu sets the mount points on boot time !)
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] Robbie P:
wifi working now-changed fat32 label to SD and the option 7 worked. Then switched off 3g using wifi icon on bottom bar, then used top right hand wifi icon to connect to router.

usb-host working mouse and keyboard.

flashlight working:)

still testing...

Excellent work zo1d:good:
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] wisor2006:
@Robbie P

Thank you. Ubuntu loads with your haret files. Also I can resize *.ext2 files correctly with toporesize as you suggest.
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] pioterek2666:
Hello to all. Great work zo1d. I wanna try this realase too but there is no file in that sourceforge link. Any chance for reupload soon? Many thx.
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] zo1d:
Thanks for all the nice comments :)

and yes i think in the next hours it should be reuploaded !
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] Robbie P:
Thank you for the credit on last splashscreen, made me smile.

I am uploading linux.zo1 (@39% ATM) to dev-host, is this helpful?
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] zo1d:
:highfive:

As long as the wifi drivers are not included, sure !
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] Robbie P:
It is the same file I downloaded, 1 of 2. Just making sure that you or andikicker are not splitting the build in a different place before re-uploading. This way people can DL linux.z01 soon(ish) and then DL linux.zip when your links are working.

Edit; @51%
[HD2 Ubuntu Q&A, Help & Troubleshooting and General] andikicker:
Thanks Robbie for your help, I'm on my last attempt failed due to the web interface often is frozen or crashed as it is ... :(

Now I load the packet completely in a part via sftp is done in 30 minutes.

please excuse that it takes so long for my part, but it will not now hopefully some intervene. :)