[TOOL] [13-NOV-2009] HaRET'Scripting v1.0.2.0 (Updated!) - Android Software Development

INTRO
Ok guys, because I don't have much time to be around, but really want to contribute for Android porting projects, I decide to create this scripting tool, which to help dumping whatever you want from HaRET. With other words: you will be able to create all dumps with just one click and without need of PC or USB or any knowledge about this process
REQUIREMENTS
HaRET.exe, patched by cr2 or the oficial HaRET.exe from here
Windows Mobile 5, 6, 6.1, 6.5
NetCF 2.0 or greater version
SCREEN SHOTS
BIG THANKS TO
cr2 (just take a look around, and you will know why)
A SPECIAL THANKS TO PEOPLE WHO SUPPORTED THIS PROJECT
schriss (10.NOV.2009)
QUICK HOW TO
Copy into root of your SD card: HaRET.exe and HaretScripting.exe
Run HaretScripting.exe and choose your script set from inside HaretScripting.ini
Use [HaRET] button, which will run HaRET.exe into Listen mode (port 9999)
Use [Execute] button, which will execute all scripts at once
That's it! All dumps are saved in the root of your SD card
CHANGE LOG
v1.0.2.0 [13-NOV-2009]
Revamped [Options] tab
Fixed Assisted GPS toggle function
v1.0.0.0 [10-NOV-2009]
Public release
DOWNLOAD LINKS
This tool can be distributed "as is", but you will have to link current thread as homepage!
www.4shared.com
www.4shared-china.com
Happy dumping

HaRET'Scripting DB
HaretScripting.ini
Code:
[HTC Rhodium]
pwf rhod_clk.log 0xa8600000 0x400
pwf rhod_crash.log 0x8e0000 0x20000
pwf rhod_smem.log 0x01f00000 0x100000
pwf rhod_dmesg.log 0x16f00000 0x100000
[HTC Topaz]
pwf topa_clk.log 0xa8600000 0x400
pwf topa_crash.log 0xe0000 0x20000
pwf topa_smem.log 0x01f00000 0x100000
pwf topa_dmesg.log 0x16f00000 0x100000

Reserved for me too....................

Reserved also for me....................

Reserved for me....................

WoW i'm number 1!!!
Thanx aDEO ^_^
i will be try your new TOOL!!!

Hi aDEO,
I just downloaded HaretScripting. When I unticked the AGP box, I get this error:
UnauthorizedAccessException
Click to expand...
Click to collapse
Does this mean anything bad or is it the mentioned bug from here:
http://forum.xda-developers.com/showpost.php?p=4921971&postcount=265
Greets,
Dominik
Edit:
I just tried it like you described it in the mention thread above and got a Win32Exception! I attached the logs which I don't think will help.
Haret and HaretScripting from today 11.11.09 ~6pm (18:00) and topa100-20091104-3.exe

Hi ICEMANno1,
Yes, I am talking about this UnauthorizedAccessException in the mentioned thread, which pop up while trying to move few registry keys, but seems that you have another problem with that Win32Exception... Is there anything else related with that message (like button Details)? If so, could you please screen capture it for me, so I can take a closer look. Thanks!
Best regards,
aDEO

Hi aDEO,
the second error occured, after I pressed the haret button. The display says something like "starting haret in listen mode". After a while, within the text output, the mention Win32Expetion occures. Not as a popup like the first error, this time within the text prompt part.
Greets,
ICEMANno1

Updated
v1.0.2.0 [13-NOV-2009]
Revamped [Options] tab
Fixed Assisted GPS toggle function

hey aDEO,
the new options tab seems to work fine. no exceptions there!
But I have a much bigger problem now I disabled the aGPS and enabled the haret log in the options tab. then I did a soft reset and started the topaz100*.exe. after the system froze with the white screen, i did my next soft reset. then i tried to start haretscripting again to get the dumps. the problem is now, wm 6.5 tells me "haretscripting has no valid securitycertificate or one of his components can't be found"...help...
Thanks,
ICEMANno1
Edit:
ok, I get this error now my every custom installed program, for example keepassx

Hey,
Really strange! What about after installing this SdkCert?
aDEO

hey,
I tried to install the cert and it just tells me "installation of sdkcert.cab did not finish successfully"
what is coded behind the two button within the options tab? can I revert it somehow manually?
Greets,
ICEMANno1

Believe me, it is not related with changes from this tool. You can find a backup of deleted registry keys here:
Code:
HKLM\Software\aDEO\HaretScripting\Backup
aDEO

seems like I can't install any cabs anymore at all! I can't install any regedit prog to check for the changes

I moved this thread to the new Subsections of Dev and Hacking.
Android software development
If you believe that Windows Mobile Soft Developments suits this thread better, send me a PM.

ICEMANno1 said:
seems like I can't install any cabs anymore at all! I can't install any regedit prog to check for the changes
Click to expand...
Click to collapse
Hmm, I am smelling HR... After that, feel free to run HaretScripting v1.0.2.0 version again, cause it is absolutely safe!
Bets regards,
aDEO

I just did a hard reset and now everything works fine again! I don't know why it was broken, but I don't think it has something to do with HaretScripting!

Happy dumping
Best regards,
aDEO

Thread Subscription...

Related

Linwizard

FYI...
Looks like some progress has been made. I was just browsing around and curious as to whether anybody was still working on porting Linux to the Wizard. Sure enough some activity started end of last year and you can actually run a very limited version of linux from inside of wm. Here is the link, http://sourceforge.net/projects/linwizard/ I wish I had the skills to participate but I will be following their progress. Maybe I can be a help finding bugs.
cool i wish i could help in that project also but since i cant i can only volunteer my wizard as a lab rat
**double post sorry**
It's really basic at this point. no touch screen. no screen rotation. I've run it on mine. Follow the readme, expand the zip to a folder, then expand the initrd.bz2 into the same folder. copy that folder to your SD and run the .exe from inside wm.
I can't wait. I have a spare wizard and I'll definately be hacking away on that one.
hi guys!
i also tryed to get linwizard working on my htc qtek 9100 (wizard)
and really, it works! =]
i took the gizard package:
http://tinderbox.x86.dev.gentoo.org/embedded/linwizard/gizard-20080602.tar.bz2
a gentoo distri
just login in with the the user root (no password) and type the command "startx"
now the X server and the window manager starts.
also the touchscreen is working!
btw:
if you connect your ppc with your computer (usb) you can connect to the the device over telnet (not ssh - you have to set the ip on your computer first)
i'm running it with haret 0.5.1
and my config looks like this:
Code:
set MTYPE 1229
set KERNEL "zImage"
set INITRD "initrd"
set CMDLINE "root=/dev/ram0 ramdisk_size=20504 init=/linuxrc panic=30 video=omapfb:accel console=tty0"
bootlinux
all the files in the gizard package are stored in the root directory of my storage card!
greets hades00
[sorry for my english - i am from austria =)]
Well im downloading it now lets see what this sucker can do. Thanks for the heads up!
How do u know the touchscreen is working???
Hades,
i did what u said till the startx.. now i have 'Login' window with a ~$ prompt and clock like thing on the upper left hand corner. after this what ?? where are the apps? and my touchscreen does not work. i just have tht 2 windows and i cannot move them around or anything ... I am totally a noob in Linux. i had to ask my friend for even the ls command.
If u get time can u please help me out...
** I take all that back.. i had the wrong image file in the folder ... the things that does not work for me right now is
1. i cannot set the date and time
2. cannot change the theme through 'look and feel'
The mileage calculator is somthing.
as you can see, this version is just the alpha version of linwizard/gizard ... the problem is that all the software have to be compiled for the arm (omap850) processor architecture ... this can take a while, but when we have a look to the xanadux project, it works!
for example, for the gsm-modul, they took the same driver as the artemis has!
yesterday i read a little bit about the wifi-driver for the wizard, it's the TCS3500 and it's precompilerd for the mips-architecture (the openwrt project is using the same - [vlynq])
Now, it's the problem to cross-compiler the sourcecode to the arm-architecture
it's a hard work, but i think they will get it working
for me, i want to have a look to the python workaround and write some nice, small, useful programs
greets hades00
[sorry for my english - i am from austria =) - i only wite/speak broken english]
Personally, I don't think this would be worth it for me until you get the power button/power management working and GSM completely working.
But if I had a choice between windows and linux, and both would let me still have a functional phone (mustn't forget that this is the primary purpose of getting the device), you'd bet I'd go with linux in a heartbeat.
good job
i works fine on my HTC WIZARD 100, from Vodafone (VPA II compact)
Excellent work hades Wishing you all the best of luck on ur project of writing apps for this ( and waiting in anticipation to see what they are so far this is looking preety intresting)
docnas said:
Excellent work hades Wishing you all the best of luck on ur project of writing apps for this ( and waiting in anticipation to see what they are so far this is looking preety intresting)
Click to expand...
Click to collapse
thank you!
I will inform you when an application is finished
Getting past the "clock like thing". help needed
NEWBEE-desi said:
Hades,
i did what u said till the startx.. now i have 'Login' window with a ~$ prompt and clock like thing on the upper left hand corner. after this what ?? where are the apps? and my touchscreen does not work. i just have tht 2 windows and i cannot move them around or anything ... I am totally a noob in Linux. i had to ask my friend for even the ls command.
If u get time can u please help me out...
** I take all that back.. i had the wrong image file in the folder ... the things that does not work for me right now is
1. i cannot set the date and time
2. cannot change the theme through 'look and feel'
The mileage calculator is somthing.
Click to expand...
Click to collapse
Please how do I get pass "the clock like thing" on my Wizard mini s?
Any instructions kindly taken.
Cheers
hades00 said:
hi guys!
i also tryed to get linwizard working on my htc qtek 9100 (wizard)
and really, it works! =]
i took the gizard package:
http://tinderbox.x86.dev.gentoo.org/embedded/linwizard/gizard-20080602.tar.bz2
a gentoo distri
just login in with the the user root (no password) and type the command "startx"
now the X server and the window manager starts.
also the touchscreen is working!
btw:
if you connect your ppc with your computer (usb) you can connect to the the device over telnet (not ssh - you have to set the ip on your computer first)
i'm running it with haret 0.5.1
and my config looks like this:
Code:
set MTYPE 1229
set KERNEL "zImage"
set INITRD "initrd"
set CMDLINE "root=/dev/ram0 ramdisk_size=20504 init=/linuxrc panic=30 video=omapfb:accel console=tty0"
bootlinux
all the files in the gizard package are stored in the root directory of my storage card!
greets hades00
[sorry for my english - i am from austria =)]
Click to expand...
Click to collapse
I did as instructed, but it's time
linwizard Login: startx
Password:
=> Login incorrect
I have not been able to Login. Please only way to overcome dum??
@sieu_sury the login name should be root and password is blank after you login suceesfuly then type in startx for it to work.
docnas said:
@sieu_sury the login name should be root and password is blank after you login suceesfuly then type in startx for it to work.
Click to expand...
Click to collapse
have to be setting / owner named then he does here to get the original does not?
what are password and login?
Dont reed
even i doesnt have a wizard saw that "root" loggin and no password dont ype anything...
Am I right?????
Boot from SD?
You know, I've been thinking... I seem to remember that you can flash these things from the SD. If that's true, wouldn't that mean that somehow the device can be booted from the SD? I don't know that much about the flashing business. I do it all the time from ActiveSync, but with other peoples roms. It seems to me that if we could do that and not affect the WM OS that would kill a lot of the overhead.
Gizard
I just extracted the Gizard folder onto my SD card. I softreset the phone into WM6.1. Put my phone in flight mode. Used Task Manager 2 and killed any unnecessary apps. Then I ran haret straight from the SD. Once it boots, login with root and no password. Run "startx" and you got the linwizard desktop. Worked Great! Really wasn't slow at all. There isn't a whole lot there yet but so far so good!

..................................

..................................
4.5 is now available. Check main post.
Minor issue with 4.5 release
4.6 is available as a full install or just an update to 4.5
Check main post.
Many thanks... This is an incredible app!
As if an already amazing app couldn't get better! I feel like doing a hard-reset just to watch it work! haha.
Thanks!
UPDATE: 5.0 is now available.
don't work for other then wwe sytem because "storage card" in french is "Carte de stockage" thanks.
chiekh said:
don't work for other then wwe sytem because "storage card" in french is "Carte de stockage" thanks.
Click to expand...
Click to collapse
Please provide more information as to "don't work"
What doesn't work?
What are the error messages?
Although I haven't done extensive tests with non-standard storage card names, I renamed my card to "Carte de stockage" and was able to run an Auto install without an issue.
SASHIMI 6.0 is here! Check first post for change log and more information!
SASHIMI 6.5beta is here! Check first post for change log and more information!
one of the "must have" software for the flash addicts!
i am impressed. i watched yr videos....man, when you do something, you are going all the way the full 9 yards
thank you, thank you and ...R E S P E C T! !
oops, got confused and posted here, sorry.
Thanks man I was looking for something like this.
7.0 is now available
Cool, I like the AUTO function very much which now makes it possible to also auto install interactive setups!
I had to use other additional tools so far, but now no more!
Also Macisu is a great thing. By the way there are also VPN and GPRS settings based on the same technique which I think are not handled so far, right? Will you include them also in a later version?
Regarding the PIM backup: Because the auto install does not allow to overwrite some read only and similar files whereas the manual version is doing it according to the doc, I suppose this might be the reason that simply copying a PIM.VOL into the auto-root folder and trying to auto install it is not working, right?
But it would be very convenient if one could restore a pim.vol also in the auto install phase.
Is there any chance to get this done?
Thank you very much one more time for this phantastic and still getting better and better tool!
asango said:
Cool, I like the AUTO function very much which now makes it possible to also auto install interactive setups!
I had to use other additional tools so far, but now no more!
Also Macisu is a great thing. By the way there are also VPN and GPRS settings based on the same technique which I think are not handled so far, right? Will you include them also in a later version?
Regarding the PIM backup: Because the auto install does not allow to overwrite some read only and similar files whereas the manual version is doing it according to the doc, I suppose this might be the reason that simply copying a PIM.VOL into the auto-root folder and trying to auto install it is not working, right?
But it would be very convenient if one could restore a pim.vol also in the auto install phase.
Is there any chance to get this done?
Thank you very much one more time for this phantastic and still getting better and better tool!
Click to expand...
Click to collapse
Thanks..I'll answer here, but please post any additional comments/questions in the main SASHIMI thread.
Post any suggestions for Makisu in the Makisu thread (see it in my sig). Please try to link to any information on XML/CSPs you want added to help me in trying to implement it.
Also, as far as the PIM...no this won't work (even with the read-only overwrite in Auto phase). This is because the PIM.VOL is not able to be overwritten. This is not because it is read-only but because it is locked down by some system process. The method I am using to restore it is to rename the original, and then replace it with the backup. A reboot is needed to finish the job so that the system will take its lock off the old one and begin using the "new" PIM.VOL.
SASHIMI 7.5 is up.
Video highlighting some changes:
> here <
As the program grows it gets increasingly more time consuming for me to QA it prior to release. I appreciate any feedback, bug reports, etc. Enjoy!​
hi bengalih. i see you are now supporting i780 screen resolution for 7.5.
let me know if you're going to support omnia in future releases. I'd be willing to test.
I used to run sashimi on my kaiser but since I relegated it as my secondary device, I haven't been flashing it lately. I did try to hack the scripts and found out that the code used is hard coded depending on the screen resolution so it didn't work on my omnia.
darth maximus said:
hi bengalih. i see you are now supporting i780 screen resolution for 7.5.
let me know if you're going to support omnia in future releases. I'd be willing to test.
I used to run sashimi on my kaiser but since I relegated it as my secondary device, I haven't been flashing it lately. I did try to hack the scripts and found out that the code used is hard coded depending on the screen resolution so it didn't work on my omnia.
Click to expand...
Click to collapse
Yeah, actually a user in the thread hacked the i780 support so I included it officially in this release (as I don't like "hacked" versions of SASHIMI going around.)
I believe the omnia screen is 240x400 is that correct?
What I will need you to do is download these test CABs:
http://forum.xda-developers.com/attachment.php?attachmentid=98270&d=1215661765
For each one I need a screenshot of the install location screen (Where is asks where you want to install).
Also, a full registry export (in .REG) format of your device may be helpful.
What does the omnia use for external storage, does it have a standard Storage Card slot like the Kaiser?
Once you get me that info I should be able to get the support in and I will post a beta for you to test.
Hi,
Thanks for bringing version 7.5, the root directory works so much faster now. It was very slow in version 7.0, but I didn't feedback about it, since it works.
Today's feedback is on Makisu, which you had added all the settings that WM provides.
After I use Makisu to create a wireless profile, it seems that the selection was not written in.
The profile I try to create:
1. Network name: ABC
2. Connects to: The Internet
3. This is hidden network
4. Authentication: Open
5. Data Encrytion: WEP
6. The key is automatically provided
7. Use IEEE 802.1x network access control
8. EAP type: PEAP
Note that after I created the above profile, save it, and provision it, when I went into the settings to see if everything was created correctly, item 7 was not checked, and item 8 not set.
I tried twice, the result was the same. You might want to check it out.
Thanks.
zard said:
Hi,
Thanks for bringing version 7.5, the root directory works so much faster now. It was very slow in version 7.0, but I didn't feedback about it, since it works.
Today's feedback is on Makisu, which you had added all the settings that WM provides.
After I use Makisu to create a wireless profile, it seems that the selection was not written in.
The profile I try to create:
1. Network name: ABC
2. Connects to: The Internet
3. This is hidden network
4. Authentication: Open
5. Data Encrytion: WEP
6. The key is automatically provided
7. Use IEEE 802.1x network access control
8. EAP type: PEAP
Note that after I created the above profile, save it, and provision it, when I went into the settings to see if everything was created correctly, item 7 was not checked, and item 8 not set.
I tried twice, the result was the same. You might want to check it out.
Thanks.
Click to expand...
Click to collapse
Yup, there was a problem there, easiy fixed and a 1.6 update is posted (both on the Makisu thread, and a SASHIMI-specific update on the first post of the main SASHIMI thread).
Thanks for the feedback!

LINUX BOOTS at OPAL! Thanks to linwizard project!

Hi there,
I got Linux to boot at OPAL via linwizard project. Here are steps needed to get it work.
1) download image from:
http://tinderbox.x86.dev.gentoo.org/embedded/linwizard/gizard-20080602.tar.bz2
2) copy content of file to the microSD card
3) edit default txt and replace init=/linuxrc with init=/bin/sh
4) run haret and let it boot.
After a while you'll get to shell. No graphics.
Now you can attach microusb cable and connect it with your linux laptop (I recommend ubuntu)
and you will get usb0 interfece to start up.
Which IP to use to connect with OPAL I still must investigate.
Well ip connectivity now works:
ip=<client-ip>:<server-ip>:<gw-ip>:<netmask>:<hostname>:<device>:<autoconf>
Notas:/# ifconfig usb0 up 192.168.2.200 netmask 255.255.255.0
Listik:/usr/src/linux-2.6.27/Documentation# ping 192.168.2.202
PING 192.168.2.202 (192.168.2.202) 56(84) bytes of data.
64 bytes from 192.168.2.202: icmp_seq=1 ttl=64 time=2.95 ms
64 bytes from 192.168.2.202: icmp_seq=2 ttl=64 time=1.72 ms
And how to do it:
prolong "set CMDLINE" line with
ip=192.168.2.202:192.168.2.200:192.168.2.200pal:usb0
But in this image there doesn't seem to be any telnet/ssh server running. I will try cook image with ssh server support later
Download error
Were not able to re-upload
404 file not found error!!
http://tinderbox.x86.dev.gentoo.org/embedded/linwizard/
and open latest gizard-<date>.tar.bz2
or that I suppose.
The latest link should be http://tinderbox.x86.dev.gentoo.org/embedded/linwizard/gizard-20090703.tar.bz2
does this mean any chance of android working? anyone tried?
Hey,
I'm a new Opal user and I'm interested in getting *nix running on my device. I still haven't had the chance to mess around with this stuff but I'm excited to see this thread.
I was looking into the possibility of running Android on the Opal and it seems the closest thing is this thread bout running it on the Herald (it uses the same processor as the Opal).
I don't any experience in Linux porting so I thought I'd share this, in case anyone else is interested. And at the same time, I'll try to see if I can get something working based on what has been/is being done for other devices.
Sorry for the long post.
Hey Folks,
Any progress on getting Android on Opal? I am eagerly waiting to load one.
Kindly let me know, if this version of Linux when loaded, gives the UI.
Cheers'
Vijay
cijoml said:
Hi there
I got Linux to boot at OPAL via linwizard project. Here are steps needed to get it work.
1) download image from:
http://tinderbox.x86.dev.gentoo.org/embedded/linwizard/gizard-20080602.tar.bz2
2) copy content of file to the microSD card
3) edit default txt and replace init=/linuxrc with init=/bin/sh
4) run haret and let it boot.
After a while you'll get to shell. No graphics.
Now you can attach microusb cable and connect it with your linux laptop (I recommend ubuntu)
and you will get usb0 interfece to start up.
Which IP to use to connect with OPAL I still must investigate.
Click to expand...
Click to collapse
Android can boot on Opal
I have some good news, Android can boot on the Opal. This is just a proof of concept as it's missing tons of drivers and is completely useless.
Touchscreen and all keys except for the volume control (and obviously the reset button) are not working. So you basically can't do anything when you run it.
What I tried is the same as what's written in this thread about running Android on Gene. They're using the build made for the Herald/Wing (just as I was proposing in my last post) with customized initramfs and kernel.
You'll find all the necessary details in that thread. However, there's a newer build than the one mentioned there it's wing-linux-0.4pre2.cab. And the suitable kernel for that build is supposed to be the pre2 posted in this post but it didn't work on my Opal so I tried the older Gene kernel and it worked. The main difference between the two is bluetooth support, and that's obviously is of no use for us.
This doesn't effect the Windows rom, nor does it requires any special partitioning. Still it's best to have everything backed up before launching it, just in case.
This is the official site for the wing/herald build:
http://wing-linux.sf.net/
This thread on their forums about the Gene port will probably be of use to us:
http://sourceforge.net/apps/phpbb/wing-linux/viewtopic.php?f=4&t=4
I'm reading about the next steps but as I said before, I don't have any previous experience or knowledge about this type of things. If someone can give me hand, I would be more than grateful. At any rate, once I have better understanding of the concept I'll contact the people behind the Wing and the Gene ports.
P.S: If you do try to run this, keep in mind that this will take lots of time, specially for the first launch. And when you get an error saying something like "android sh: can't access tty" just ignore it and keep waiting. After a while you'll have a flashing "android" on the screen, and after some more waiting you'll reach the main screen.
Is this just THE BEGINNING
Sooper Stuff..!! So is this just THE BEGINNING??
How do we port the drivers and other required information in the build?
Cheers'
Vijay
www.msigeek.com
A Lil' help
I'm going through the Gene port thread here and on the Wing-linux sourceforge forums but I'm still a bit overwhelmed.
I would appreciate any help as I'm completely new to porting. I have some programming and linux knowledge but never attempted this type of things.
Click to expand...
Click to collapse
So am I.
Hmmm...
Right. Lets do it the way I did it.
1. Get the touchscreen working. Through HaRET, you must have got the GPIO interrupt whenever you pressed the touchscreen. You must have got two numbers corresponding to each press - a smaller number and a bigger number. The smaller number is the GPIO, and the larger number is, well, lets say a special GPIO value for the same pin.
Now checkout the Gene branch through git.
Goto /wing-linux/kernel/arch/arm/mach-omap1/board-htcherald.c
Scroll down to a block of code where you'll see the touchscreen code. Enter the smaller number in the .dav_gpio statement, and the IRQ number in the OMAP_GPIO_IRQ() statement below.
2. Follow the Kernel build instructions on the development section of the wing-linux wiki (the two make commands)
Copy the zImage into the linux folder on your SD card
Boot into wing-linux. The touchscreen should start working.
3. Now, hopefully, after the touchscreen's working, You would essentially just require two more buttons - the home button and the back button for minimum functionality. Everything else can be worked on by the touchscreen.
Then follow the instructions on the wing-linux forum (Page 2) to get the KEY(row,col) values of the keys on your handset. Hopefully you should get atleast a couple. Note down the corresponding keys and their KEY(r,c) values output.
4. Fire up board-htcherald.c again and goto the place where you have the KEY(r,c,KEY_blah) thing and replace the codes as per your obtained KEY(r,c,KEY_blah) values (The Home button is the one commented as Left Button)
5. That's all I can help you with as of now. I'm also figuring out a stable way of getting the DPad and the center select key to work, but It'll take some time.
Thanks kshaurya!
(This guy right here is the one who fixed the kernel for Gene, I asked him for some pointers).
I don't want to take my device apart just yet (I usually do my best not take to dismantle anything that I haven't owned for at least 3 months unless absolutely necessary) and I couldn't find a place that states what touchscreen it uses. I'm just hoping that it's the same a tsc2046 as well. [Is there anyone without a warranty and/or willing to check for us?]
I'm gonna double check the values I got from the touchscreen as for some reason I seem to have to IRQ values, probably forgot to get rid of some spamming irq. And, at the same time, I'm currently setting up a VM as a building environment, my main boot is Intrepid 64 and there's no 'psyco' package for 64 machines.
If anyone else have some experience and wants to try this, refer to: http://www.handhelds.org/moin/moin.cgi/HaRET_20Documentation (using haret to get the GPIO and IRQ values needed).
And to:
http://sourceforge.net/apps/trac/wing-linux/wiki/Development (acquiring the source code from Wing Linux and how to build it).
And a quick question for anyone that tried booting Android on the Opal, what screen did you get when Android finally finished booting?
I don't want to take my device apart just yet
Click to expand...
Click to collapse
Huh? where did that come from? Wing Linux will not touch your WM.
I seem to have to IRQ values
Click to expand...
Click to collapse
Do you mean two? Well, that's exactly what you should get. Even if it's just one, enter that value in the code.
my main boot is Intrepid 64 and there's no 'psyco' package for 64 machines
Click to expand...
Click to collapse
Oh no. dont tell me that you are building the entire thing. all you need to do is build the KERNEL! Please! Don't go into building the whole thing from scratch. Use the make ARCH ARM commands given on that page.
kshaurya said:
Huh? where did that come from? Wing Linux will not touch your WM.
Click to expand...
Click to collapse
I mean to check the screen, in case it turned out to be different that what you have.
kshaurya said:
Do you mean two? Well, that's exactly what you should get. Even if it's just one, enter that value in the code.
Click to expand...
Click to collapse
Yeah, stupid typo.
I noticed now that one of them appears when I keep the screen 'touched' for a bit longer.
kshaurya said:
Oh no. dont tell me that you are building the entire thing. all you need to do is build the KERNEL! Please! Don't go into building the whole thing from scratch. Use the make ARCH ARM commands given on that page.
Click to expand...
Click to collapse
I'm not gonna build the complete thing. Seems like I got too exited and failed to notice that building the kernel only requires a cross-compile toolchain, te rest is for compiling the whole thing.
I'm not THIS stupid usually . Honestly!
Thanks again!
I'm not THIS stupid usually . Honestly!
Click to expand...
Click to collapse
Its pretty normal
Weird.
I've only changed the two touchscreen values and built the kenrel. It finished without any error but now it won't boot.
It gets stuck, even before the space allocation part, with this error: "sh: can't access tty; job control turned off". And then it displays a prompt.
I'll try modifying an older build, I'm pulling them from the repos at the moment.
After all, the pre2 kernel from Gene didn't boot on my device (although it got stuck later on).
Try doing a clean install - Remove the linux folder and try again.
Also, make sure that you're not forgetting to checkout the Gene branch.
Code:
git checkout Gene
Is your default.txt modified? And have you downloaded the modified initramfs.cpio?
check in the Gene forums for that.
Already tried the clean install, no dice. The default.txt is untouched and I'm using the modified intramfs. What happened this time is different from what happens using the original one, it's not asking me to specify the partition size but instead it's waiting for a command. I could probably ssh via usb but I have no clue how that might help.
And I've already checked out the Gene branch from the beginning.
I've tried compiling the kernel for pre1 (after changing the screen values) from SVN and it did boot (both using the cabs for pre1 and pre2) but no touch screen yet. All in all, I'm guessing that there's too much hardware difference here.
And the button for lowering volumes didn't work either, it seems like whatever you changed for getting it to work on Gene is the same as what we need here, but I'll think about that later.
I only have two ideas left:
- Trying to go back to a more stable build (with lesser features and lesser possibilities for errors). Maybe 0.3.
- Trying to create some kind of hybrid kernel using this alongside the HTC Vogue build as it probably has closer hardware to the Opal (obviously, I'm talking about everything beside the MSM7500 400MHz processor that it has). I'm hoping it won't get to this cause I'm definitely under qualified for that at the time being.
What happened this time is different from what happens using the original one, it's not asking me to specify the partition size but instead it's waiting for a command.
Click to expand...
Click to collapse
Could you post a screenshot?
I've tried compiling the kernel for pre1 (after changing the screen values)
Click to expand...
Click to collapse
I'm assuming you mean the touchscreen values? Try interchanging and see.
Trying to go back to a more stable build
Click to expand...
Click to collapse
I wouldn't recommend that. Defeats the whole purpose.
Why don't you try getting in touch with darkstar?
kshaurya said:
Could you post a screenshot?
Click to expand...
Click to collapse
A friend borrowed my digital camera, I tried my laptop's webcam but the text it too blurry. Couldn't fix it using gimp either. So here's exactly what's showing on the screen:
Code:
mdir: Cannot creat directory `/mnt' : File exists
modprbe: could not parse modules.dep
initramfs: Creating device nodes:
initramfs: Loading /initrd.d/10-initfs.sh module
initramfs: Loading /initrd.d/30-wingboot.sh module
Selected:
ROOT_DEVICE=/dev/
CMDLINE=debug quiet psplash=false loglevel=7 init=/sbin/init console=tty0 video=omapfb:accel fbcon=rotate:3 4 root=/dev/
initramfs: Loading /initrd.d/80-loopboot.sh module
initramfs: Loading /initrd.d/85-blockboot.sh module
booting from: /dev/
mount: Mounting /dev/ on /mnt failed: Invalid argument
Unable to mount rootfs device
sh: can't access tty; job control turned off
/ $
And after the prompt, on the same line, there's a flashing '_' waiting for input.
Using the original zImage (from the pre2 cab) it's right around here that the screen clears and the Wing Linux installation script kicks in.
kshaurya said:
I'm assuming you mean the touchscreen values? Try interchanging and see.
Click to expand...
Click to collapse
Will try that next.
kshaurya said:
I wouldn't recommend that. Defeats the whole purpose.
Click to expand...
Click to collapse
I meant it as just a temporary test to till the cause of the incompatibility is figured out. With less things that could go wrong, it'll be easier to locate the ones that are going wrong.
kshaurya said:
Why don't you try getting in touch with darkstar?
Click to expand...
Click to collapse
You're right. I should post a thread on the project's forums asking for his help.

Newbz Rom/Cooking Questions & Answers

I'm a newb in the sense that I'm new to the whole Windows Mobile Devices. As my location of this thread, I have a T-Mobile Wing.
I'm a current web designer and I'm learning to program/code. Especially for mobile devices first. So I am computer literate just a newb using roms, windows mobile in general. I believe I can follow on very easily.
I will edit this post to add the answers and explain them in more details, etc. as I learn them for future cookers/newbies/etc.
I have searched around the forums, learned a lot but still have questions hopefully some pro cookers could answer and maybe use this as a ref for all beginner newbs. I have the link to the wing/herald xda wiki/atlas, etc.
BUT STILL....​
I'm on Windows Vista 64 bit. Maybe this is my problems? I take that into possibility. Within a week I'll have XP back on this computer as well.
[1]
I understand if your SPL/IPL is above 4.0+ you can hardspl your device. (DO NOT ATTEMPT TO HARDSPL YOUR DEVICE IF IT IS UNDER 4.0! IT WILL BRICK IT!)
I aslo heard of a uspl method where it hardspls your deivce JUST FOR THE NEW ROM YOU"RE INSTALLING.
I read that hardspl will hardspl your device forever but since then it's now reversable correct? Just curious about this, not a big deal either way.
NEWBS IF YOU WANT TO CHECK YOUR IPL/SPL VERSIONS : take your stylus out and soft reset your device by pushing your stylus into the small hole just under the volume slider on the left side of your phone and hold the camera button as it boots up until you see 3 grad colors. red blue, etc. it will then display your version numbers.
[2]
I wanted to learn how to cook, since I felt it wouldn't be too hard since I have a good background with computers, etc.
So.... I started following this thread:
http://forum.xda-developers.com/showthread.php?t=341243
I found a few others including the ones displayed with the hypercore download thread. But I stuck with this one as a first attempt and have not tried any others yet. I know I should but this one just bugged me, haha.
I did all steps accurately and did them again to double check...... but when I go to BuildOS.exe the top of the screen displays:
"the system cannot find the batch label specified"
Is this bad? I remember reading a long time ago about the format being unix and not dos, yatta yatta it would bring this error up but that can NOT be the possibility since everyone else has used this guys thread to create custom roms. Any ideas?
[3] (Cont'd from Question [2])
I also get some error trying to do step 2 in the BuildOS.exe menu, which is.... build OS.nb from SYS and Oem..... that error is file not specified... so i believe it has something to do with the batch error at the top, maybe? Ive tried this step 2 several times and actually got it to work and displayed new os.nb is saved in hypercore/build.... which i went there and didnt see it, but i see one inside the ROM folder... I assume this is the one I want? Perhaps?
[4] (Cont'd from Question [2])
When I try option number 3 in the BuildOS.exe menu I get this message
Save to desktop as........ as what? lol. I assumed the same name, leave it the same.... well the OS.nb was not at the location it specified. (hypercore/tools/convert) lol.
Again tho the save as problem.... I believe it all has to do with the batch file, it's like not fetching/displaying the file name.... if not it meant to leave it the same name? Anyway why is it not in the location specified?
[5]
This is what it displays after clicking enter, of course again no RUU folder found, I figured this with the previous errors. But heres what the flash option in the BuildOS.exe menu does err.... rather displays......
Again Place the _____ here..... still all the batch file problem?
[6]
Again dealing with this screen, is it ok that after Device: its blank? aka not displaying the propper htc model for the wing 3450 or whatever it is, I forget.

[PRJ][17.09.11] Android/Linux on TG01 development, new stuff in git

Edit: WARNING! If you do not follow the below instruction, your post WILL be deleted, not moved. Thank you for your cooperation. ~TheRomMistress
bally3 said:
Appreciate your enthusiasm, but can you move the conversations about userspace (builds) to the Discussions thread please, as this thread should be primarily for the KERNEL development only.
Appreciate your understanding,
Click to expand...
Click to collapse
Hi!
I have now a TG01 too, and started to develop some Linux stuff for it.
The branch for it is in our htcleo repository.
http://gitorious.org/linux-on-wince-htc/linux_on_wince_htc/commits/linux-on-tg01
I did already a bit reasearch and put some new stuff in the htc linux wiki. I will update it if I found something new.
http://www.htc-linux.org/wiki/index.php?title=Tg01
17.09.11 Edit10 and last:
Hi!
I pushed my last changes. There some new stuff in repo now like:
- Powerbutton support
- Fixes for Power/USB
- Panel Code
- Notifications
- Usb cable pull/push did not crash device anymore
and much other.
I'm closing this project for me because I've no time to work on it.
One Info, the problems with the GUI after boot are ril related. The biggest work is RIL. It looks like you have to write (or find) a RPC based RIL lib.
have fun!
Markinus
Edit9:
Calls works now. But the mic not.
Battery works, a simple cable detection driver too. Problem, you cannot in the moment pull or push the cable in/out. If you do it the devices will crash after ca. 15 sec.
Build updated.
Edit8:
Audio and vibration works.
!Important: Run clrcad.exe in wince bevor you run haret and boot linux!
Edit7:
The Volume and Camera Buttons are now supported.
Edit6:
Added touchscreen buttons
Added first Test Build! Extract to sd and run haret! Look to Post 2.
Edit5:
Touchscreen is working now. I had to recalculate the calibration values. Later we have to look to better calib values, maybe a calib app for users.
Edit4:
We have now a official mach id 3197. This have to be changed in the default.txt for haret.
Edit3:
So some new stuff is checked in:
- panelfile with basic support for mdp and lcdc
- sd card works
- usb works
- rpc, pcom, works
Status: the device is booting now android till the unlock screen in the GUI, but without touchscreen ...
Edit2:
Branch is in our Leo repo:
http://gitorious.org/linux-on-wince-htc/linux_on_wince_htc/commits/linux-on-tg01
The basic stuff is now in. Is booting. I didn't find a device ID for tsunagi, so I had to create one.
status: kernel is booting and android starting. We need to write much new stuff to get all hardware working.
default.txt:
set mtype 3197
set ramaddr 0x11800000
set ramsize 0x0e800000
set initrd_offset 0x00a00000
set KERNEL zImage
set initrd initrd.gz
set cmdline ""
boot
We need to research much stuff. And all this needs much time. So don't ask for dates
!!!IMPORTANT: USE ALL STUFF AT YOUR OWN RISK!!!
!You can break your device!
Markinus
First Test Build:
Look to top whats working.
Second testbuild:
http://www.multiupload.com/WQN1Q1SJ0E
http://www.multiupload.com/P0B04IK8S0
Have fun on test!
!!!IMPORTANT: USE ALL STUFF AT YOUR OWN RISK!!!
!You can break your device!
hi markinus! i'm glad to see another dev involved to port android on TG01! a new hope for our phone! yesterday i've thinked to sell it.. but now i've a new hope.. and can't wait for some news, good luck.. and if you need help.. just ask..
just a question.. what means "kernel is booting" status? sorry for my english
can you post a link to the kernel your using?
Good to see things moving here.
Hope that the TG01 community will get a workin' kernel
They're worth it.
Ok. I'm going to try this one but after I finish with my homework.
I'm downloading it now.
Wait for news.........
Nice thread, I hope to have good news ..
Last News...
After I download the file I had some problems. It gave me errors when I try to make arch=arm tsunagi_defconfig. Error was like a privet file and you don't have access. So I copy all the files on new directory and then I was able to do make arch=...... defconfig. Then I compiled it with success.
Then I make all changes in default.txt and it run then restart. But this time I think it's problem from some APP. What it say but I wasn't able to see it. It was to fast.
I need some help to set debug haret.
Current default.txt in haret/debug/ is: pwf tg01-ramconsole.txt 0x1FFC0000 0x40000
If some one can help me how to change it that's go be perfect.
Sorry about my English I'm still learning.
Markinus said:
Hi!
I have now a TG01 too, and will start to develop some Linux stuff on it.
I will create a new branch for it in our htcleo repository because some things we can use for both. If I have something what you could try, I will post it here.
I did already a bit reasearch and put some new stuff in the htc linux wiki. I will update it if I found something new.
We need to research much stuff. And all this needs much time. So don't ask for dates
Edit2:
Branch is in our Leo repo:
http://gitorious.org/linux-on-wince-htc/linux_on_wince_htc/commits/linux-on-tg01
The basic stuff is now in. Is booting. I didn't find a device ID for tsunagi, so I had to create one.
status: kernel is booting, it means we go through the basic hardware init. I fixed the memory layout.
default.txt:
set mtype 1100001
set ramaddr 0x11800000
set ramsize 0x0e800000
set initrd_offset 0x00a00000
set KERNEL zImage
set initrd initrd.gz
set cmdline ""
boot
Markinus
Click to expand...
Click to collapse
That's great job what have you done. It's amazing. I thing kernel is booting now but I am not sure. With me is still restarting.
If I can help with something just tell me. I'm not professional but may be I can do something.
I was thinking about board configuration and all other configs.. but I didn't know how to do it. So
Thanks for your job.
For those who want to try himself.
1st. Download from Markinus posts his repository it's on the right side on the page http://gitorious.org/linux-on-wince-htc/linux_on_wince_htc/commits/linux-on-tg01
2nd. Unzip it in a folder that you have created before. How to unzip it?
Go to Applications -> Accessories->Terminal
In Terminal tap: cd name of your new folder, ( example: cd myAndroid )
then you have myAndroid$
Now you tap : tar xvzf directory where you have download Markinus repository. (example: tar xvzf /home/downloads/linux-on-wince-htc-linux_on_wince-htc-linux-on-tg01.tar.gz.gz)
You will see how the file is unziped.
3rd. You will see in your folder that there is a new folder named (linux-on-wince-htc-linux_on_wince-htc-on-tg01 or something like that). If you see like a small lock in the front of this folder then do this. Create a new folder put the name you want. Then cut everything from the folder linux--on-wince-htc...........etc. and past it in your new folder.
(example what I did it was easy just in my folder myAndroid I create a folder kernel_1 and I paste everything inside.
4th Now wen we have not everything but may be a part of. Is time to download toolchan (compiler) and some libraries.
in your Terminal tap : apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev.
thats for the libraries.
and this one for tollchains or cross tools or ... what you want call it.
http://www.codesourcery.com/sgpp/lite/arm/portal/release858
download it and install it. in the same folder as repository (example myAndroid/cross_tools)
Thanks to Endrix with his tutorial help me a lot.
5th.Now enter in your kernel_1 folder or whatever you called it and tap: make ARCH=arm tsunagi_defconfig
6th When finish writing to configuration. tap: make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
enter
If you have done everything without errors then you will see how linux is building your kernel.
7th When finish building go to (exaple myAndroid/kernel_1/ARCH/arm/boot/ ) ther is your kernel Image and zImage you can use both if you want. :O)
Thanks Markinus and Endrix.
EDIT: I've only got windows at work... Can someone please upload a compiled kernel so I can try it on my TG01 so I can give feedback?
Awesome, seriously well done guys!!!
I've not had time to help like I had hoped, so simply well done to those involved so far
).
Glad to hear it finally arrived Markinus
Good to have you on board too. With regard to a compiled kernel, everyone please allow Markinus some to time to get things working before we start asking for kernels to check.
Just so that people understand, kernel booting doesnt mean kernel loading a android gui environment, so theres still nothing to see. What Markinus means by that is he can see that the hardware is being initialised and the things that should be happening when a kernel boots are happening.
Good to see things moving again though
bigandrea said:
Hopes for Windows 7 Phone?
Click to expand...
Click to collapse
This is an Linux/Android thread. You should ask the question in the appropriate thread.
Bally, I knew it wasn't ready per se, I just wanted to try and contribute by testing to see if they got the output they expected on multiple phones as I don't have the time to help with development as I expected to
One thing ttt bothers me, TG01 has a low amount of ram (or at least i think so) for winmo most roms get just 100 or so.. Running opera and some music on the backgorund may be enought to get things messsy.
Will android spend more or less in comparissom?
thanks
Kalas_22 said:
One thing ttt bothers me, TG01 has a low amount of ram (or at least i think so) for winmo most roms get just 100 or so.. Running opera and some music on the backgorund may be enought to get things messsy.
Will android spend more or less in comparissom?
thanks
Click to expand...
Click to collapse
i also worried about this too. but most android devices have 256 ram or so. and android is more effiecient with ram management than windows mobile. we also have badly optimised toshiba dlls. when running android, it shuts down windows mobile, and opens android os, so both os dont run in the background, thus saving ram. also i wonder after we manage to get functional android roms, we get skinned versions, such as HTC Sense! what do you guys think+
There you have one compiled kernel..
Is ready to execute. Just extract it to your sd card in your phone and that is all. Then run haret.
This one is from Endrix file I just replaced the Image file and set the new default text. There is a zImage as well and you cant try it if you want.
bojan6 said:
There you have one compiled kernel..
Is ready to execute. Just extract it to your sd card in your phone and that is all. Then run haret.
This one is from Endrix file I just replaced the Image file and set the new default text. There is a zImage as well and you cant try it if you want.
Click to expand...
Click to collapse
dont have a tg01 to hand at mo.. can anyone post up the output please?
Scougar said:
Bally, I knew it wasn't ready per se, I just wanted to try and contribute by testing to see if they got the output they expected on multiple phones as I don't have the time to help with development as I expected to
Click to expand...
Click to collapse
I stand corrected.
Markinus HAS got to the gui...wow!
we need a touch screen driver now.. good work...very impressive!
bally3 said:
I stand corrected.
Markinus HAS got to the gui...wow!
we need a touch screen driver now.. good work...very impressive!
Click to expand...
Click to collapse
im sorry but does this mean, we have a functional bootable androidrom??

Categories

Resources