Mac OS X v10.5.6 complete [Updated 19/01] - Shift Development

PLEASE READ POST #2 FOR UPDATES. POST #1 IS STRICTLY INSTRUCTIONS ONLY. UPDATES ARE IN POST 2. THANKS!
Okay! Time to breathe some new life into the Shift. That's right folks. OS X now runs flawlessly on the HTC Shift and graphics are running without a hitch thanks to modified GMA 950 kexts. It's nice to play around with other devices. TBH the HD2 is too plain for me atm and I'm waiting for a Desire HD build of Android for it. In the mean time, here is some darwin goodness for the worlds favourite UMPC. First of all, to answer a few questions I encountered in the other threads, OS X will run perfectly fine on the Shift. Some people are blindly saying that the 950 has issues with OS X. Guys please do some research before posting misleading information. The 950's were the original on-boards for the MacBooks. It's impossible for it not to be supported. Better, with HW Acceleration! Okay so what works and what doesn't?
Working
- GMA 950 w HW Acc.
- Camera
-Trackpad
- Keyboard
- Speakers
- 3.5mm
- Internal drive
- Ethernet/USB Expansion Hub
- Battery/Charging recognition
- Display (although I tried forcing 1024x600 it will only create a scaled view and it's not useable)
- SD Card slot
Not Working
- WiFi
- Bluetooth
- Fingerprint Scanner (I'm not surprise, OS X doesn't have support for it anyway)
So almost everything works! Which is good news. I'm not sure if WiFi and bluetooth will work. Theoretically WiFi should work because the iPhone 2G and 3G use the exact same card that the Shift uses. However I need to find a way to extract the kexts from a firmware file which is proving to be difficult as Apple is now ridiculously locking down access to the images. Once I find this kext, WiFi should be a go. Bluetooth, I'm not sure about. I don't even know what stack it is so I can't look for a driver. Fingerprint scanner I'm not worried about as it proves useless most of the time anyway.
Okay so how do you get this working. Well I went through the trouble (and a majority of my download quota) to find which builds work best so you don't have to. Now don't come asking me for download links to these builds because I will NOT give them to you. Try google. Below is a rundown of the tested builds.
iAtkos 5i - Boots into verbose mode and kernel panics.
iPC - Does not boot at all. Installed netkas PCEFI - no change
XXX_10.5.6 - Boots into installer, won't run after installation
Leo4Allv3 - Boots into verbose mode and kernel panics.
Leopard 10.5.6 Pendrive - Boots perfectly to blue screen, loginwindows.app hangs
So the above builds were pretty helpless. The only ones that worked to some degree were iAtkos, XXX, and Pendrive, pendrive having the most success. Loginwindow.app was the only thing stopping boot. So I tried a number of things. First thing that comes to mind is replacing the app file. This didn't work and continued to crash. Then something else got my attention. the blue screen after the Apple logo turns black and then back to blue again. The only explanation to this would do this is that the graphics drivers were trying to load but failing. So this was a problem with the 950 kexts. The iAtkos disk came with excellent modified 950 drivers. Installing these onto the pendrive bulid solved this and it booted to the desktop. Below is the complete set of instructions to getting everything working including dual boot.
If you want dual boot working properly, I strongly recommend installing Windows first. That is, if you want to avoid a lot of hassle. Now as you may know, OS X is an HFS OS and Windows is an MBR. If you go about installing Windows on a drive with no other system on it, it is going to convert the entire partition table. This can be solved by creating two partitions under GPT. If OS X is on one partition, Windows will create a hybrid partition table. (MBR/GPT)
1) First you are going to need to find a copy of the leopard pendrive build and restore it to an external drive or usb. You are going to need access to a working hackintosh or Mac to be able to do this.
2) Once the restore is complete you need to go ahead and install the GMA950a.pkg and the GMA950b.pkg from inside the iAtkos disk. If you aren't able to find these I will attach these below.
3) Once these are installed, we are going to need a bootloader for the machine to see the drives. There is a great bootloader credits to netkas here.
http://www.mediafire.com/?zybzmmm5uyz
4) Plug in the external drive that you restored and installed these to and fire up your shift. Boot into the external drive bask in the glory of OS X. But we're not done yet.
5) Go and download IOATAFamily_ICH10 that's attached below and install it onto the boot drive. Reboot.
6) You need to head over to /Applications/Utilities/Disk Utility.app. Now we are going to partition the internal drive and it WILL ERASE THE WINDOWS INSTALLATION. It should come up on the top left as a grey hard disk. Now you need to select the one at the very top. i.e. the parent directory. You should now have a tab labeled "Partition." Click on that an you will get a box that has your hard drive name in it. Select "Volume Scheme" -> 2 Partitions and click on the first box. On the right, name this to whatever you like. I had Macintosh HD and select the size. Make sure the Format is set to Mac OS Extended (Journaled).
7) Now select the second partition and name it to something. I had Windows. Adjust the size and set it to MS-DOS (FAT). Now click options. and there will be three partition tables to choose from. Select GUID Partition Table (GPT). Click apply and this will erase the internal disk and replace it with two partitions.
8) Close disk utility and boot into your Windows disk. Install Windows onto THE WINDOWS PARTITION YOU CREATED. Not the Mac one.
9) After the install is complete, reboot into the external drive that you originally booted OS X off and open Disk Utility.
10) Now click on the Mac partition that you created in step 6 and click the restore tab. There will be two entry fields here, one called source, the other destination. Now depending on what the external drive is, it will either be an orange disk or a white disk. What you are going to do is drag the orange/white disk that you booted off into the source, and the Mac partition you created into destination. Tick the erase destination box and click restore. This will take roughly about 20 minutes.
11) When restore is complete, we have two more things left to do. We need to install the bootloader and set the partition as active. Now remember the bootloader we installed onto the external drive? All you need to do is install the same thing, but to the internal this time.
12) Almost there! Just need to mark the partition as active. I will post a screenshot incase this step is confusing. You need to go to /Applications/Utilities/Terminal.app. If you are familiar with Linux, this is a piece of cake. Just type the commands below.
diskutil list
Now there should be all the attached drives listed. Take not of your internal drives now. You should see on the left, /dev/diskX (where X is a positive integer) and under that will be a hash followed by a series of sequential numbers. select the appropriate number for your internal Mac partition. Mine was disk0s2. In most circumstances, it should be disk0 that you are after as it is the main drive. Next type the command below.
sudo frisk -e /dev/rdisk0 (or whatever the 0 is meant to be in your circumstance)
Ignore the error "fdisk: could not open MBR file ..."
next type:
f X (where X is the number that was next to the partition. In my case 2, in disk0s'2'. "
then:
write (hit enter key)
y (hit enter)
exit (to quit)
I FORGOT TO ADD THIS STEP! Before rebooting, run the bootloader from http://www.mediafire.com/?zybzmmm5uyz on the newly imaged internal drive. If you do not do this, the machine will boot up to a flashing underscore. You need to do this as the boot files are not copied from the first time you do it.
Now restart the machine, pull out the external drive and boot into the internal drive. There should now be a countdown timer. Press any key to interrupt this and you will get a list of your partitions. Mac OS X and Windows. if you want to go into Windows, just select it and hit enter. Similarly for Mac.
Hope this wasn't too confusing. Running OS X on alien hardware is not an easy task and if you succeeded, consider it a great accomplishment! Any questions, just ask below. I am on school holiday at the moment so I'll have a lot more time to answer! I will post up developments on WiFi so stay tuned!

Update 21/09/10
- Bluetooth operational with generic bluetooth kext
- 1024x600 mode. I've posted again after the server overload
- Ethernet works on the external hub. Only just tried it.
- For those who are experiencing problems with apps such as iTunes not syncing with iPhones or the store, there is a fix. Open the SystemVersion.plist in /System/Library/Core Services/ and change the system version 10.5.6 to 10.5.8. This will not update the system to 10.5.8 but it will trick software update into thinking you have it so you can update the software without dramas. There isn't much difference between the two except for a few bug fixes and core frameworks. Just remember not to do the security updates or the combo update.

Great work!

Seems like a great guide. I'll surely try this as soon as I get my hands on a crapple device.
Thanks

thaihugo said:
Seems like a great guide. I'll surely try this as soon as I get my hands on a crapple device.
Thanks
Click to expand...
Click to collapse
Haha! yeah i got tired of waiting around for a os x tablet. the shift is a beast.

I'm curious, why didn't you try Snow Leopard? Also, with something as non-generic as the Shift, I would have used Chameleon and went with a vanilla install so I can load each individual kext

EGOvoruhk said:
I'm curious, why didn't you try Snow Leopard? Also, with something as non-generic as the Shift, I would have used Chameleon and went with a vanilla install so I can load each individual kext
Click to expand...
Click to collapse
Good questions and thankfully I have answers for you. First of all note that 10.6 is a very lean version of 10.5. The install goes down from roughly 8GB to 5.5GB. How did they do this? They removed a truckload of obsolete drivers, most of which are needed to run the shift's older hardware. Snow Leopard also requires SSE3 to boot, which the A110 doesn't support. Also, the only practical and surefire way to patch 10.6 is using NBI (netbook installer). Don't get me wrong I did try but if NBI doesn't make SL bootable, nothing will. Anyway, Snow Leopard has a 1GHz cap which is quite hard to bypass without causing stability problems. Even running Leopard on my 667 Powerbook lagged like a b**ch (excuse the language). As for chameleon. The bootloader is a pcefi/chameleon hybrid. The reason for this is that GUI chameleon caused incredible graphics issues. The drive images on boot would be multi-colored and stretched. So GUI was a no go. Vanilla worked but it didn't WORK. The whole point of vanilla is for system updates and stability increases. Unmodified kexts did nothing of the sort for the shift. For example unmodified 950 drivers caused severe disproportionality and VGA out didn't work. In fact, the modified system kexts increased stability and boot time on an ssd is roughly 25 seconds to desktop.

Did you get touch screen working ?
I have also installed 10.5.8 version I used version fromn ASUS eee 701
as you sad there is no bluetooth wifi touchscreen working...
About wifi 8686 iPhone use ARM version the driver must be rewriten to be used on our devices...

-=xXx=- said:
Did you get touch screen working ?
I have also installed 10.5.8 version I used version fromn ASUS eee 701
as you sad there is no bluetooth wifi touchscreen working...
About wifi 8686 iPhone use ARM version the driver must be rewriten to be used on our devices...
Click to expand...
Click to collapse
Bluetooth DOES work. Touchscreen as you said doesn't work. ARM/Intel won't matter as the kexts for peripherals are OS level not architecture level. Hence the reason a PPC kext will work on an Intel based Mac.

Do you know what kind of touch screen is used in shift ?
There are some drivers from usb touck screen maybe we can use them but I didn't find any information about shift touch screen need to see linux drivers...

-=xXx=- said:
Do you know what kind of touch screen is used in shift ?
There are some drivers from usb touck screen maybe we can use them but I didn't find any information about shift touch screen need to see linux drivers...
Click to expand...
Click to collapse
I'm begging to have the same question answered. I've exhausted all resistive touch drivers for OS X and none of them are working. I'm beginning to think its a prop. touch display instead. Anyway, Linux drivers wouldn't work. Darwin has almost nothing in common. The closest thing is bsd as far as OS X applications are concerned, but again, this is just a bsd flavouring and no drivers designed for bsd will work. Sure they can be ported, but it's a much quicker route if it was to be rewritten from scratch.

Do you know what interface is used for touck screen comunication ?
Maybe it can be used for tracing output data and accomodation existing driver to our needs...
And about wifi did you get any progress ?

-=xXx=- said:
Do you know what interface is used for touck screen comunication ?
Maybe it can be used for tracing output data and accomodation existing driver to our needs...
And about wifi did you get any progress ?
Click to expand...
Click to collapse
Touch is definitely USB based (device manager->usb hid device). WiFi is looking slim at the moment. I've gone through a few iPhone firmware files to find a suitable kext with no luck. So it is looking to be a complete rewrite of the driver which will be quite difficult as there is no support for Marvell as far as WiFi goes. Apple only ethernet by Marvell/Yukon, thus ruling out the possibility of common driver properties between other kexts.

Just in reply to a post before the server crashed. None of the touchscreen drivers worked and the panel didn't get recognised. Also the download for the resolution enabler is back up in post 2 again. And it looks like we made it on engadget. AGAIN.

Featured article on egadget congrats.
Sent from my htc hd2 using XDA App

roflcoptrbbq said:
Featured article on egadget congrats.
Sent from my htc hd2 using XDA App
Click to expand...
Click to collapse
Hahaha thanks. Its actually on a lot more now. Its almost a virus! hahaha

could you get the drivers from 10.5 and shove them into 10.6, also see if you can use the axitotron modbook drivers
http://www.axiotron.com/index.php?id=home

i will try all of this next week, as i was about to sell my shift....
it's on marketplace here.
ayilm1 you are awesome.

shad0wfire said:
could you get the drivers from 10.5 and shove them into 10.6, also see if you can use the axitotron modbook drivers
http://www.axiotron.com/index.php?id=home
Click to expand...
Click to collapse
Yeah mate. that did cross my mind until i realised axiotron hasn't done anything to do with Synergy touch yet, meaning no finger touch at all. It's all wacom based. Synergy will incorporate resistive with this, or maybe even capacitive, but no guarantees on it working with the shift. I have started to build a kext for it but it's really difficult when you don't even know the manufacturer of the panel you are writing the driver for! Thanks Seb, just trying to help out the xda community!

Wifi
If it uses the same wifi card as the iPhone 3G, the firmware is decryptable. Head onto the idroidproject.org forums. I spent time on there putting android onto my 3G and the wifi binary files were needed as they were copyrighted material.
If you like get back to me and I can get the binaries for you? If not it's pretty simple just requires some simple linux command line skills, which I'm
Sure you have since you undertook this project.
Anyway good luck, hope this helps with getting wifi to work!!

Related

Linux on HTC SHIFT (MSM7200 side)

Hi,
I read in the Kaiser thread a bit about how to install Linux on MSM7200 but i realy didn't get how to enter the shifts bootloader and how to move a "kernel image" aand boot it. im a noob when it goes to HTC devices but im expirienced when its about Linux, and i realy would like to get linux into my HTC shift (not the Stealy side)
Is anyone out there who could give me some hints and starting points ... tried nearly al buttons while WinMo start to enter bootloader but there must be another trick or ?!
HardSPL'ed Shift with TECE's rom
Kind regards
Neutron
(ps. could there be a small possibility to run Android in it ?!?
pps. anyone looked around what the difference in wireing is from shift (MSM72k) to Kaiser MSM72k could we "build our kaiser roms to work on shift ?!?) <--- only thoughts ?
On WinMo side you must use HaRET to boot linux images. There is no working image for Shift yet, and I don`t really know if anyone is working on it. Before you can really start working on android you probably have to have sdcard-support enabled on your WinMo. It would be nice to get android running on shift
Has anyone tried running haret and start the network listener? It could reveal something about the hardware I guess.
Hi there tried it with HaRET and tryed the kaiser android rom from
http://forum.xda-developers.com/showthread.php?t=396782
it nearly booted but stoped with the following error code !!
failed to lock 5387 pages (Code 998)
Anyone around who would like to get it working to and familarr with haret ??
I just tried and will go to debugging later on
nvmpk: i'll try to connectt it when im at work ! i think the same i would like to get the phone side working and i think the linux environment could give easy'er lookthrou than the ****ty windows mobile
So first of all it would be nice starting point to just get linux console working. Before even get there, someone have to create kernel that has support for shifts keyboard and screen etc odd hardware.
Neutron83 said:
it nearly booted but stoped with the following error code !!
failed to lock 5387 pages (Code 998)
Click to expand...
Click to collapse
How much RAM does it have ?
I got my shift boot with HaRET to that point when "HaRET: booting linux" progressbar completes fully and then screen gets black only Haret 0.5.1 text and that bar is on top of window.
Just go to WinMo side and disable all items from today screen, run cleartemp, then switch to vista side and hibernate/shutdown. Then again back to WinMo side and soft reset. After that start HaRET and when the windows mobile start menu is on bottom of the screen click it, go to settings->system->memory and close all running programs and close all other windows except HaRET and then run it.
22.1-22.4MB (43.05MB total) memory free for programs with those actions.
EDIT: This works about 2 times of 200 attempts. Usually it hangs when "HaRET: booting linux" progressbar is about 95% completed.
Okay guys,
UPDATE:
I made my first 2 kernels from the ones at linux to go
first with the htckaiser config wich gave an flickering fullscreen purple !! seems msm7200 can address full screen!
second kernel done with versatile-default config, there it did the following:
i made a haret log 2 interessting parts: Framebuffer overlaps with kernel
and stand still
after go go go...
Anyone could help ??
if anyone could help me with the stuff i could dump stuff from the shift for you !!
thx
dump
as i was idle'iin in freenode htc-linux someone sayed me that dump of mmu would help so i attach it here. if you need something else please say
earlyharetlog.txt
News
Hi people who are interested in getting MSM7200 linux kernel running .
Some Breaking news:
Edit: i was WRONG i know it with the addresses now
any updates on this project?
Yeah i got framebuffer to work, as im very busy with work and it seemed that nobody seems interested in it i did my development for my own. when im ready to get it fully booted & access the 3g data channel i will post an update.
Or is there some real intresst in this project (as i dont want to keep my stuff for myself) And some programmers that are willing to help with the dev in it.
Greets
I'm interested!
An instant-on Linux machine would be great. I don't need any MS stuff like Activesync, so for me it would give a nice flexible solution, if there was enough memory for some apps, and the 3G worked from the other side.
I hope it succeeds.
Thanks for trying.
Matthew
interrest sure, developers who are able to help with that topic(linux interns) unfortunately not.
Any news?
Hi everyone, I have stepped on your thread by pure chance while looking for a real alternative for my Shift and I have found it enlightening...
The fact is I am not too happy (even if slightly satisfied) with the brand new Windows 7 RC (build 7100) and the windows Mobile running on the Shift and would love to try an all-around linux solution... however there would be no point in getting linux on the Intel/Vista side if I would have to be stuck with Windows Mobile on the ARM/WinMO side, in my opinion at least...
Anything going on here to put linux on the ARM/WinMO side? I am not a developer but if there is anything I can do to help out reaching the goal...
Have a nice day!
Is there svn or cvs placed anywhere for this project? Just wanted to know if there is possibility to get current project files..
Has someone cooked small rom that only contains usbtool and haret or is this going to be used with kexec-bootloader that can boot from network storage?
well it has been a while when someone wrote to this topic.. I have been working with linux for MSM7200 side for shift for couple of days. There is buildroot called toolset to compile kernel+uclibc+busybox and I have been wondering if that could be used to build console only linux for shift to replace winmo.
I got first build created today but it did not end up anything special. haret loads kernel completely(or I thought so as there is nothing errors on haretlog.txt). It just does not show anything after booting with haret, so there is something that should be done to get correct drivers or settings for screen..
Here is first bootlog for shift without mmc support:
http://pastebin.ca/1845069
EDIT: there is also wiki page created for shift msm: http://htc-linux.org/wiki/index.php?title=Clio
Hi, I have bought this phone.
And I wan't to install Linux on it.
For the x86 Side (Intel) no problems.
But I don't wan't have ANY WinMo.
Can I flash to ARM Rom to input an Android OS ?
Can use whole screen, or not (the wiki say not ...).
Any peoples can boot Linux on ARM, and phone with ?
Thanks.

full linux install on g1? (not the port with android)

Has anyone have a confirmed full install of ubuntu/debian/gentoo (arm verisons of course) on the dream? not the terminal emulator boot img but a full over right of android and install of linux. Or is it no ones done it because theres not enough support for it driver wise? what is not supported for it? Can someone leave me with some answers not more questions? (i think thats impossible now that i think about it)
bumpssssss
The reason no one has answered is because no one has had a fully working debian system with a gui like kde or gnome. Question would yo really want a desktop gui on your tiny little sdreen that your fingers would be too big to have any functionly
Can it be done?
Most definitely. Easy. It would require some customization (i.e. drivers), but this is relatively minor.
Has anyone done it?
Maybe, not to many as this is something for which there would be little demand.
Why not?
Because it does not make sense. As mentioned above, the physical form is the first problem you'll run into. The second problem is that your phone will cease to work *as a phone*. You also couldn't run any 'droid apps on it at all.
Why would you want to?
(note: this question is for YOU to answer.)
lbcoder said:
Can it be done?
Most definitely. Easy. It would require some customization (i.e. drivers), but this is relatively minor.
Has anyone done it?
Maybe, not to many as this is something for which there would be little demand.
Why not?
Because it does not make sense. As mentioned above, the physical form is the first problem you'll run into. The second problem is that your phone will cease to work *as a phone*. You also couldn't run any 'droid apps on it at all.
Why would you want to?
(note: this question is for YOU to answer.)
Click to expand...
Click to collapse
well, mainly a proof of concept and if you've checked my track record you'll notice i don't even have my g1 to use as a phone. i've been trying to make it into a pretty well rounded mid. But my question is how would i do it? flash all internet memory, then push the new linux kernel, filesystem etc onto the device and cross my fingers and hope for the best? or could you trick the system into thinking its a android update and have it install that way? And down the road could you use a regular bootloader like LILO or grub to duel boot or would you have to ghetto rig something?
(p.s: a terminal based is what i was thinking of in the first place i always got ssh for the heavy lifting )
technically the g1 is a tri-boot
1.) standard os that we use as normal
2) recovery patition. where we flash our update.zips
3) bootloader. where it fastboots or flash.nbh to overwrite entire system
so for what you would like to do is build a moddified boot.img to load up the nessciary files to boot your linux distrom maybe you could even set up switchrom to doit so when you need to use android you still have the option. there is a thread on how to run debian through the terminal maybe you could moddify that to work for you but getting the drivers for the files needed to be able to do anything would be the main issue. give me a sec and i will edit this posts with the links to that threadand how to make a boot.img
here is boot.img
http://forum.xda-developers.com/archive/index.php/t-443994.html
here is installing debian on g1, newest info is towards the end, i didn't read through it but last time i looked someone was close to what you want
http://forum.xda-developers.com/showthread.php?t=444419
johnnytablet said:
well, mainly a proof of concept and if you've checked my track record you'll notice i don't even have my g1 to use as a phone. i've been trying to make it into a pretty well rounded mid. But my question is how would i do it? flash all internet memory, then push the new linux kernel, filesystem etc onto the device and cross my fingers and hope for the best? or could you trick the system into thinking its a android update and have it install that way? And down the road could you use a regular bootloader like LILO or grub to duel boot or would you have to ghetto rig something?
(p.s: a terminal based is what i was thinking of in the first place i always got ssh for the heavy lifting )
Click to expand...
Click to collapse
Why on earth don't you just get a $200 netbook that WILL run a fully functional linux install? Its cheaper, faster and has better hardware...
Diceman4 said:
Why on earth don't you just get a $200 netbook that WILL run a fully functional linux install? Its cheaper, faster and has better hardware...
Click to expand...
Click to collapse
weres the fun in that? and how many can say they have a FULL debain pocket device? none thats right and if the wifi would work it would be a fun machine for text based things.
HOLY SH- New plan after a full debian install lets see if i can get some dos running who doesn't want monkey island and fallout 1?
johnnytablet said:
weres the fun in that? and how many can say they have a FULL debain pocket device? none thats right and if the wifi would work it would be a fun machine for text based things.
HOLY SH- New plan after a full debian install lets see if i can get some dos running who doesn't want monkey island and fallout 1?
Click to expand...
Click to collapse
There's a scumm emulator if you're that desperate for Monley Island >.>
I agree with the others, it's like wanting to run Android on some pimp-ass quad core rig, it seems like a good idea....if you happen to be intoxicated. Running a full blown window manager on a 3.2" screen is just insane...
AdrianK said:
There's a scumm emulator if you're that desperate for Monley Island >.>
I agree with the others, it's like wanting to run Android on some pimp-ass quad core rig, it seems like a good idea....if you happen to be intoxicated. Running a full blown window manager on a 3.2" screen is just insane...
Click to expand...
Click to collapse
so your telling me you would not have fun with a tiny desktop in your pocket?
Here's a suggestion. Put a modified kernel/init stuff on the recovery partition, install your system onto sdcard. Regular boot = 'droid, recovery boot = 'deb.
Note: you WILL have to use a kernel that is built with the appropriate drivers for the dream hardware.
Note2: you will probably have some driver problems re getting Xorg running on the dream hardware. I don't think its vesa compatible, so you'll most likely have to hack together an xorg driver.
well, actually it has been done already, check the thread on the regular android-chroot-debian... "FukTheRegister" has posted a fastboot boot.img that runs the ubuntu net install right on the g1, however you will have to use usb0 networking to install it...

A "Stripped to the bone" ISO of win7, a good idea?

I was wondering if anyones gone before me and done this and has any thoughts and ideas to share.
IF anyone is familiar with 7customizer, I was never clear now in it's v1.13 stage that it had any ability to remove crap like vlite to make a slimmed version of win7 suitable for the HTC SHIFT with as small HDD footprint and few running services as possible.
7customizer is new and seems limited but built for win7.
vlite is said to work well with win7 but is built for vista.
I have tried 7customizer and all i was able to do was make the installation of win7 unattended which is a real whop-di-do...
vlite for win7 i tried but and got the image from 2.3gb down to 1.2gb which is real nice but upon selecting regional settings in the first stage it then asked me for some drivers and showed a blank dialog box, i never got past this stage to chose which partition to install on and got stuck.
has someone perhaps done this successful with a saved vlite preset on what was saved and what got chucked?
is all this maybe to much trouble to go through for ultimately little gain?
Had a bit of difficulty sleeping last night so i got started on this project and spent some time thinking about it and i decided to ask you guys for help.
Tiny 7 is worth a look with an installation size of 2.6gb (on the hdd) but i couldnt get the touchscreen to work on it
tiny 7 is a program or a home made ISO of win7?
But the lack of touchscreen is a dealbreaker, you sure theres no hope?
Unless they decide to add it again, I tried the add/remove windows features with no luck.
I know there is a way to slim your Windows 7 but I have not tried. Please cked the following:
http://www.mydellmini.com/forum/windows-7/8441-how-slim-down-windows-7-a.html
Some progress ive tried vlite to copy tiny7 with no luck however ive found out that the driver is installing (the touchscreen shows up in HID's)
The problem is the lack of the TabletInputService which should be eaiser to port than the entire tablet pc components. The service points to
C:\Windows\System32\svchost.exe -k LocalSystemNetworkRestricted
If we could find a way to add this service to tiny7 we will have an iso that only takes up 2.4GB of hdd and flys on the HTC Shift.
premier69 said:
tiny 7 is a program or a home made ISO of win7?
But the lack of touchscreen is a dealbreaker, you sure theres no hope?
Click to expand...
Click to collapse
Its a striped down version of 7, look it up on google

[GUIDE] Installing Windows 8 Preview on the HTC Shift

This thread is to record comments/questions on a guide I have posted up on my site regarding the steps to get a fully working Windows 8 Developer Preview install onto the HTC Shift.
http://blogs.distant-earth.com/wp/?p=313
The process to get Windows 8 working (with graphics correctly setup etc.) is a little bit of a pain but nothing all that difficult. Especially if you follow the steps (usual rules, I made mistakes to save others the hassle )
The resulting install of Windows 8 running at 1024*600 is VERY usable , much to my surprise. Metro is actually quite nice on the tablet form factor.
The touchscreen is a little unresponsive round the edges but I suspect that is my device as it has never been very good.
good work man thanks so much i will try and post my trial
nooor7772000 said:
good work man thanks so much i will try and post my trial
Click to expand...
Click to collapse
Thank you. I can't install any driver even with my ethernet connection :-(
bouaroudj said:
Thank you. I can't install any driver even with my ethernet connection :-(
Click to expand...
Click to collapse
SmartScreen by any chance?
If your getting the green messages the chances are you Ethernet connection is not working (is it USB, does Windows 8 ship with the driver for whatever chip it uses?).
Below is a copy/paste from a comment I made on the guide concerning SmartScreen issues.
djwillis said:
Hi,
The reason you get the green SmartScreen error messages is the lack of an Internet connection. Windows 8 includes a feature that used to only be part of IE that calls off to an MS web service to verify digital signatures are valid on newer type signed executables.
As both the Intel graphics driver and Windows Mobile Device Center are signed you can’t install without an internet connection or crippling SmartScreen.
Have another read as the order in which I installed the drivers was very deliberate and also intentionally ordered the way it was to work around the SmartScreen issues.
The guide does not even try to install the signed executables until you have got the Wireless LAN up and running so the signatures can be verified, I even mention SmartScreen as one of the reasons for the order of drivers in the guide .
Regards,
John
Click to expand...
Click to collapse
I don't suppose you have all the needed drivers and could share them somewhere? i cant get any of the links to work so cant get it ready for the upgrade
Also can the test version be installed fresh? i am trying to get windows 7 working for an upgrade but if it can be done fresh i will do that xD
Lord_alias said:
I don't suppose you have all the needed drivers and could share them somewhere? i cant get any of the links to work so cant get it ready for the upgrade
Also can the test version be installed fresh? i am trying to get windows 7 working for an upgrade but if it can be done fresh i will do that xD
Click to expand...
Click to collapse
Hi,
All the needed drivers are linked off the guide but as the HTC site seems to be up and down today I have now added mirrors to all the files (uploaded them to my server).
Checked and all the mirror links seem to be working fine .
The best way to try Windows 8 on the Shift is actually a fresh install. I would not suggest an upgrade at all .
fantastic i will give it a shot now
---------- Post added at 08:00 PM ---------- Previous post was at 07:15 PM ----------
right i have another problem lol i have everything set up right with all the drivers standing by but when i choose to install i get an error about CD/DVD drives followed by a lack of HDD error any ideas?
Lord_alias said:
[/COLOR]right i have another problem lol i have everything set up right with all the drivers standing by but when i choose to install i get an error about CD/DVD drives followed by a lack of HDD error any ideas?
Click to expand...
Click to collapse
Are you going for a totally clean install as per the guide?
Is your USB stick all setup and bootable?
Assuming you are getting into the Windows setup booting off of the USB stick is it the part where you select the install disk that seems to show no HDD? If it it what was installed on your Shift before?
This sounds like an issue I had when I have Meego running off the HDD before I installed Windows 8 (BtrFS and a different partition layout seem to cause it).
Need Help,
I used the MS software to create the USB boot disk for window 8. try to install on the Shift. got to the part where it said loading files...then it show some blue squares on the upper left screen...it goes for 1/3 of the way and hang up....I let it run for 2 hours and had to do pull the battery.
try to re-install again..same result...
Do I need to format and partition the disk?
thatboyp said:
Need Help,
I used the MS software to create the USB boot disk for window 8. try to install on the Shift. got to the part where it said loading files...then it show some blue squares on the upper left screen...it goes for 1/3 of the way and hang up....I let it run for 2 hours and had to do pull the battery.
try to re-install again..same result...
Do I need to format and partition the disk?
Click to expand...
Click to collapse
That sounds like a bad stick to be honest . The blue squares are replaced with the install menu after just a few minutes. This is all well before anything is messing with the Shift's HDD or hardware .
Try reformatting it and having another go. It can't hurt.
djwillis said:
Are you going for a totally clean install as per the guide?
Is your USB stick all setup and bootable?
Assuming you are getting into the Windows setup booting off of the USB stick is it the part where you select the install disk that seems to show no HDD? If it it what was installed on your Shift before?
This sounds like an issue I had when I have Meego running off the HDD before I installed Windows 8 (BtrFS and a different partition layout seem to cause it).
Click to expand...
Click to collapse
Right i managed to find the problem, only used your quide for the drivers as i installed windows 7 in a similar way, i used CMD and DISKPART to get a pen drive ready and then used XCOPY to move the installation media onto the drive but for some reason even though it said it was finished it was missing out a couple of files inside the sources folder, once i used XCOPY again over the existing media it managed to find the missing files and copy them. So you where right it was a problem with drivers missing from the install media and once they where found it was all clean sailing thanks to your fantastic guide
Thanks again xD
djwillis said:
SmartScreen by any chance?
If your getting the green messages the chances are you Ethernet connection is not working (is it USB, does Windows 8 ship with the driver for whatever chip it uses?).
Below is a copy/paste from a comment I made on the guide concerning SmartScreen issues.
Click to expand...
Click to collapse
Ok thanks it worked.
---------- Post added at 03:28 PM ---------- Previous post was at 03:26 PM ----------
Lord_alias said:
I don't suppose you have all the needed drivers and could share them somewhere? i cant get any of the links to work so cant get it ready for the upgrade
Also can the test version be installed fresh? i am trying to get windows 7 working for an upgrade but if it can be done fresh i will do that xD
Click to expand...
Click to collapse
here is a working link :
http://www.htc.com/us/support/htc-shift/downloads/
bouaroudj said:
here is a working link :
http://www.htc.com/us/support/htc-shift/downloads/
Click to expand...
Click to collapse
Thanks, added that link to the guide, HTC's site seemed to be up and down all weekend but the link you posted seems to work now so lets go with it .
John
djwillis said:
Thanks, added that link to the guide, HTC's site seemed to be up and down all weekend but the link you posted seems to work now so lets go with it .
John
Click to expand...
Click to collapse
I posted a small video :
https://www.youtube.com/watch?v=ATsDKMQu9I4&feature=youtube_gdata_player
Sorry it's in french
Has anyone tried this yet on a AT&T tilt? My old tilt is lonely!
mdz24cavalier said:
Has anyone tried this yet on a AT&T tilt? My old tilt is lonely!
Click to expand...
Click to collapse
Hmmm, the Tilt is an ARM based HTC Kaiser, the Shift is a much bigger x86 based UMPC (with a cut down HTC Kaiser effectively shoved in to look after the ARM Windows Mobile side of the device ).
As this is running normal x86 Windows 8 I would not expect to see your old Tilt getting much love from the guide .
sir is it possible to install win(8) on HTC-HD2... r HD7.
If you want to force the 1024 x 768 resolution to launch Metro apps !
blog.daily-dev .com /?p=271&lang=en
The english is not perfect but you can remove the "&lang=en" to see it in french.
P.S : Sorry for the link format but i'm new on this forum so can't post URL
I cannot install Win 8 on my HTC Shift.
I follow the guide but using with 4GB Flash Drive.
any thing help or comments please!
thanks
Well... I have installed Win8 on the Shift without any trouble.
Overall I find it too slow for being usable. Neither Vista, 7 or 8 seem to be enough responsive.
I am very disappointed by the Metro UI, it is really slow and even in 1152*864 it does not work quite well.
What do you think about Metro UI responsiveness?
I have a lot of trouble getting accurate touch... it shows a circle but it seems that only a FEW (3-4 ?) pixels trigger... so you still have to find the precise point that will get the touch event.. OUCH !
It is especially painful to hit a corner (windows button, the task bar, and the application bar). I have to do almost everything with the mouse.... *SICK*
Intel driver supports several resolution... AMAZING ! but we need two things:
- change the resolution switch from 800*480 - 1024*600 to 800*480 - 1024*600 - 1024*768 - 1152*864 ... or at least get the ability to change the 1024*600.
- change the rotation : as a tablet... the screen rotation is kinda important...but well it is just a detail ;-)
---------- Post added at 08:26 AM ---------- Previous post was at 08:24 AM ----------
picheth said:
I cannot install Win 8 on my HTC Shift.
I follow the guide but using with 4GB Flash Drive.
any thing help or comments please!
thanks
Click to expand...
Click to collapse
what is the problem?
4GB Flash Drive seem a little bit too small. I have used a HDD of 20GB with the whole partition set as active.
It is for me the fastest and easiest solution to install Windows on the shift.
Have you been able to go to start the installation of Windows 8 ?
You need to press F12 during the boot to choose which drive to boot on.

[Guide] Ubuntu chroot on rooted TPT

Hey ThinkPadders,
So I found myself needing to do some programming on the road this weekend but dont have access to a laptop. So I'm plugging in a bunch of peripherals to my TPT and hoping to work off it. (UPDATE: It worked great! Just ran out of space in my pre-allocated image, see update #2 below) Forgive me if the outcome is a bit rough or this exists elsewhere, I'm in a bit of a rush but thought I'd throw this quickly out to anyone who may find it usefull (or is nice enough to complete it).
There's just a small modification from the Ubuntu on android instructions on AndroLinux. Sorry I cant post links as a crappy member X_x, but I think you know what to do with this:
www.androlinux.com/android-ubuntu-development/how-to-install-ubuntu-on-android/
Change the mount calls in each of the scripts from:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
to:
mount -o remount,rw -t yaffs2 /dev/block/mmcblk0p3 /system
That's about it. I've installed build essentials just with apt-get and got simple STL c++ to compile, so things seem good so far.
Here are pics of the TPT running vnc and ssh to localhost. I attached modified scripts if you dont want to do it yourself. All credit should go to Max Lee at AndroLinux and Charan Singh.
(And a hurrah for getting our kernel source!!)
UPDATE #1 (2-27-2012):
Terminal/ssh usages are great, but experiences with the stock ubuntu GUI are a little slow (probably due to the lack of tegra drivers on tested distributions). You can improve this GREATLY by using a lighter weight windows manager (lxde, xfce, unity 2d, etc).
UPDATE #2 (2-28-2012):
Also, you can skip using an image entirely. Since then I've partitioned a 32GB sdcard into 10GB fat32 + 22GB ext2 partitions and just directly copied a preinstalled/debootstrap'ed ubuntu and mounted it. This way you don't have to pre-allocate space with an image and can use both partitions for general storage (the fat32 is just for windows specific access). You could probably use space on the internal sdcard if you like. But I have a 16GB model so I went straight for an external solution.
I can extend this guide or create a one-click windows script to handle the entire setup/installation if there's interest.
This is really cool, thanks for sharing this info with the rest of us.
Thanks! I run Ubuntu on all my computers, now I can run it on my TPT!
Cool stuff anapmac.
I too have an ubuntu chroot on my thinkpad (actually just copied the loop file from my droid x and didn't even have to change any settings)
Just a tip: I highly recommend swapping out the default window manager for lxde.
lxde is much more lightwight and will run a lot faster.
Also, you may want to try pointing apt at the debian repositories, debian seems to have more complete ARM repositories than ubuntu does.
How about libre office. Could it run in an usable speed on ubuntu on android, or would it do it if ubuntu only could get installed?
Hey,
could anyone help me...i managed to do all and it finally worked.
but i don't think it is quite useable, so what d0 I have to do to make all steps undone?
thanks for your help.
dan
thanks for posting the changes required to get this working. I got it working with the ubuntu.img from the guide at androlinux.com
I've used the instructions there also to build an image of from ubuntu 11.10. I simply replaced the ubuntu.img with my own and all is working ok. I'm currently installing unity to see how slow it will be. or if it works at all.
hidd3n_bit said:
Cool stuff anapmac.
I too have an ubuntu chroot on my thinkpad (actually just copied the loop file from my droid x and didn't even have to change any settings)
Just a tip: I highly recommend swapping out the default window manager for lxde.
lxde is much more lightwight and will run a lot faster.
Also, you may want to try pointing apt at the debian repositories, debian seems to have more complete ARM repositories than ubuntu does.
Click to expand...
Click to collapse
Thanks for the tip. I did find loading firefox somewhat slow when I took the screenshots. This past weekend though I was only accessing the distribution through a terminal emulator (just ran the bootubuntu script to setup the chroot). After working with it, I'm very satisfied with this setup I'm planning to buy an external SD to use host a large ubuntu image (or anything else that's ARM compatible?). Maybe I'll look into the GUI if I get a chance.
There's also a native ubuntu setup on some android devices. That would be interesting to see how well the GUI performs when android isn't running next to it. Luckily for me, the terminal is perfect since I use vim
danjac said:
Hey,
could anyone help me...i managed to do all and it finally worked.
but i don't think it is quite useable, so what d0 I have to do to make all steps undone?
thanks for your help.
dan
Click to expand...
Click to collapse
Hey danjac,
when you exit out of the shell that bootubuntu launches, it unmounts the required loopback and folders for you. The setup script, ubuntu.sh, simply copies a few files into known locations (deleting any existing files from previous runs). These files are:
/system/bin/fsrw
/system/bin/bootubuntu
/system/bin/unionfs
/system/bin/mountonly
You can just delete these by hand. Otherwise, I've attached a shortened version of the setup script (now only contains the clean-up and not the file copies) that does just this. Besides those files you just need to delete your ubuntu image file. Also, I dont believe the mounts (calls to losetup and mount) persist through reboots. Someone please correct me on that if I'm wrong. But if true, you wont have anything ubuntu related running if you've done a simple reboot lately. It is probably best to reboot before running this script. FYI, the script is run from the TPT's terminal (either using a terminal app or adb).
baser5nature said:
thanks for posting the changes required to get this working. I got it working with the ubuntu.img from the guide at androlinux.com
I've used the instructions there also to build an image of from ubuntu 11.10. I simply replaced the ubuntu.img with my own and all is working ok. I'm currently installing unity to see how slow it will be. or if it works at all.
Click to expand...
Click to collapse
Cool. Let me know how it goes. I'm curious how well we can get an ubuntu GUI to run under chroot. I really like the integration it gives. Though we're probably running on software rendering no matter what UI we use. Nvidia released linux tegra drivers for hardware acceleration:
(H)ttp://developer.nvidia.com/linux-tegra
(curse you linking!!! still too forum newb for this)
hopefully I (or anyone ) can get time to mess around with this.
Hey danjac,
when you exit out of the shell that bootubuntu launches, it unmounts the required loopback and folders for you. The setup script, ubuntu.sh, simply copies a few files into known locations (deleting any existing files from previous runs). These files are:
/system/bin/fsrw
/system/bin/bootubuntu
/system/bin/unionfs
/system/bin/mountonly
You can just delete these by hand. Otherwise, I've attached a shortened version of the setup script (now only contains the clean-up and not the file copies) that does just this. Besides those files you just need to delete your ubuntu image file. Also, I dont believe the mounts (calls to losetup and mount) persist through reboots. Someone please correct me on that if I'm wrong. But if true, you wont have anything ubuntu related running if you've done a simple reboot lately. It is probably best to reboot before running this script. FYI, the script is run from the TPT's terminal (either using a terminal app or adb).
Click to expand...
Click to collapse
Hey Anapmac,
thank you very much for the information/script.
You are right, it does not survive a reboot.
Once again, thanks for your help.
I'm going to give this a go, looks really cool.
Canonical have just announced Ubuntu for Android which looks pretty amazing.
Oh, yes.
http://www.pcworld.com/businesscent...tu_android_addon_designed_to_replace_pcs.html
Cant wait until having really time to try it......
Yea, my dreams are coming true! I hope they're not picky about using the dock though. I'd still rather just open up a local terminal and work from there (for those of you who keep line widths in code, the character width can perfectly be 80 in portrait mode using android terminal emulator ). Should work anyway though, seems like a chroot solution with dock integration. Either way, that makes for an AWESOME thin client to access any workstations. Add that to having a mobile data plan, who needs to be in the office! Love being able to fiddle with these devices so much.
I wasn't able to get unity to work, I'm really not that strong in linux though. Based on things I've read around other linux forums, it's not likely to get it to work, but luckily canonical is taking care of that for us.
I tried gnome-classic and it worked ok, I wouldn't call it unusable, tried ubuntu-2d and 3d and they just don't work, finally settled with xfce after installing xubuntu-desktop via apt-get and then messing with the xstartup in /root/.vnc to start xfce with vnc.
vncserver -geometry 1280x752 fits perfectly in the screen space available without hiding the honeycomb status bar.
Although android vnc works quite well for free. I grabbed Jump Desktop back when it was on sale, and the mouse integration feels more like a native install.
I've been using Terminal Emulator in android to edit files and things with my folio keyboard, but there are a few annoying things with that. the vol-dwn button as Ctrl only works with onscreen keyboards, so I have to take the thinkpad out of the folio keyboard for certain keystrokes in apps like vi and nano. Funny enough the enter key on my onscreen keyboards, isn't accepted when saving a file with nano. I have to return to the folio keyboard to hit enter... wierd.
Anapmac said:
Cool. Let me know how it goes. I'm curious how well we can get an ubuntu GUI to run under chroot. I really like the integration it gives. Though we're probably running on software rendering no matter what UI we use. Nvidia released linux tegra drivers for hardware acceleration:
(H)ttp://developer.nvidia.com/linux-tegra
(curse you linking!!! still too forum newb for this)
hopefully I (or anyone ) can get time to mess around with this.
Click to expand...
Click to collapse
Sent from my ThinkPad Tablet using Tapatalk
Thanks for checking on that baser.
I've been plugging in a full keyboard whenever I wanted to code, so I'm not sure what issues come from using the folio. I did experience some funky keyboard (hardware) mappings when I was using the GUI though. I'd have to do some remappings of the keyboard keys to get it 100% working, I figure we could probably do the same for the folio. For instance, my caps lock key is normally mapped to ctrl. If the folio has one it may be a good solution (I've never really seen one and I'm assuming it doesnt have a ctrl or alt from your experiences).
As for the GUI responsiveness, I tried using a ubuntu image which was compiled with the nvidia tegra drivers (see Linux for Tegra for details, but dont try their test image). It FELT more responsive to me, but I didnt get a chance to run solid benchmarks on my different distributions though. My experience using the ubuntu GUI on the TPT is pretty slim, so I could be completely wrong on that visible speedup.
I got a hold of a nice big 32GB sd card over the weekend, so I plan to put a large ubuntu/debian distribution on it this weekend. I'll try to get some updates on the keyboard issues and tegra drivers around then.
Check it out, there are tegra drivers in the next ubuntu arm release
https://launchpad.net/ubuntu/precise/armel/nvidia-tegra
It's to be released in april. I'm sure this has to do with canonical's android announcement. Sweet! I'm curious, so I may look into setting up a 12.04 distro this weekend to see if there's a noticeable speed up.
So, I definitely understand the desktop usage awesomeness. But I'm still not sure what android (mobile) gains from getting an ubuntu GUI. It seems all the added benefit comes from the command line tools, where android apps can cover any graphical needs. Thoughts?
One-click?
UPDATE #2 (2-28-2012):
Also, you can skip using an image entirely. Since then I've partitioned a 32GB sdcard into 10GB fat32 + 22GB ext2 partitions and just directly copied a preinstalled/debootstrap'ed ubuntu and mounted it. This way you don't have to pre-allocate space with an image and can use both partitions for general storage (the fat32 is just for windows specific access). You could probably use space on the internal sdcard if you like. But I have a 16GB model so I went straight for an external solution.
I can extend this guide or create a one-click windows script to handle the entire setup/installation if there's interest.
Click to expand...
Click to collapse
A one-click script would be awesome! I know there's others who would appreciate it as well, I'm just gona take one for the n00b team and ask for it. No rush, if you have time it'd be great but either way thanks for your work!
tutorial
can anyone please guid me to a tutorial for this? if it's possible do with android terminal emulator.....l'm a noob ,just don't know how to do it
Hey guys!
Since the ubuntu touch preview came out yesterday, I thought I'll give this thread a bump. What do you guys think about it? Can we port this to our good old TPT? I just stumbled over the Porting howto: https://wiki.ubuntu.com/Touch/Porting
I mean, thanks to Koshu, we have CM10 running, so porting should work? But I have to admit that I don't have a lot of experience with this kind of stuff
ChiefOHara said:
Hey guys!
Since the ubuntu touch preview came out yesterday, I thought I'll give this thread a bump. What do you guys think about it? Can we port this to our good old TPT? I just stumbled over the Porting howto:
I mean, thanks to Koshu, we have CM10 running, so porting should work? But I have to admit that I don't have a lot of experience with this kind of stuff
Click to expand...
Click to collapse
This would realy be very cool.

Categories

Resources