yashsingh1/xdaforums huggingface dataset:
[Touch CDMA Android Development] alexandre.cgd:
I used the partitioner in my SD SD 6GB, I selected to create two partitions. .. I generated the file install-seq.sh, started the Haret.exe. ... Appeared "Using boot install script

Starting script

Unmount fat32 part check values

Then a lot of things written and finally:

Failed

Failed

He created two partitions on my SD me, only that one can not access or delete that partition to get back to just one on my DS. How do I?
[Touch CDMA Android Development] alexandre.cgd:
What am I doing wrong?

Use via Haret, ok?

I downloaded the site of Haret DZO version w / Kernel 2.6.32, I downloaded the Atools initrid zImage and beyond default.txt setup for my Kaiser.

My question is in creating the Boot Script.

Select the "Simple Actions" -> First Install

Then select the "SETUP SPACE" -> PARTITION for both SD and System for DATA.

Then in "ACTIONS" in March the option INSTALL and USE UPDATE SD partion.

In "DISK OPTION" put in DISK SIZE 6 GB (the size of my SD) and NUMBER OF PARTITIONS select 2.

And save the command install-seq.sh ANDBOOT folder.

These steps are correct? Because I can not start the boot, always appears the error message, you can not create the partition.
[Touch CDMA Android Development] l1q1d:
The sd has only one partition?

Did it fail check fat32 part?
[Touch CDMA Android Development] alexandre.cgd:
I have to create two partitions as fat32? Or a Fat32 and the other ext2?
[Touch CDMA Android Development] l1q1d:
One partition, i'm trying to finish a complete guide for atools.
[Touch CDMA Android Development] alexandre.cgd:
We are eagerly awaiting this guide!

Have a date?
[Touch CDMA Android Development] oyumurtaci:
I may have found a quirk, but it may also just be the files I used as well:

If I use Atools to partition, it will partition however you want it as long as you start with a single fat32 partition. The thing is, with froyo builds on my tilt I could only get it working by using this combination:

select 4 partitions: 1 fat32, 2 ext2, 1 swap.

From somewhere I found a haret specifically for the latest .32 kernel, along with the latest build files.

The installer formats the SD correctly, but then it gives various partition mounting errors and fails.

Find a linux machine, unmount all the partitions, then change the size of one of the partitions by just 1 mb and apply.

Use Atools again, but disable SD partitioner.

Then the installer (haret) works and android loads...

I have no idea why it didn't work by itself, or why this method worked. Maybe it was just pure luck?
[Touch CDMA Android Development] l1q1d:
I'm tryng to fix the mount on initrd. For the guide, maybe next week, i have a lot work to do.
[Touch CDMA Android Development] vellowax:
He is a very busy dev.

Thank you for trying to fix this great tool.:)
[Touch CDMA Android Development] shanbh:
Hello, l1q1d

i download the latest atools-1.0.0a.py to make the latest kenel for kaiser,but the new kaisimg don't work. it reboot again and again after the first screen。And when i use the old atools it is ok.
[Touch CDMA Android Development] boy22ban:
Keymapping not working on Kaiser

Reporting that keymapping does not seem to work on Kaiser yet. L/R SW buttons, volume jog, talk side button, camera, IE and mail buttons not working after update. All others function fine. Still not waking on any of the buttons either, except power (the default wake button).

Running on NAND/NAND with 2.6.25 Kernel on Cyanogen 6.0 RC2. Could it be the build? Was going to use the newer kernel to test but wifi does not work with 2.6.32 on the build Im on right now. Will consider switching to super froyo on latest kernel and see what happens.

BUT....the mere fact that this app exists is so much help! Thanks and keep it up.
[Touch CDMA Android Development] l1q1d:
I'm looking for nbheditor bug (i complete rewritten that part) so i'll release a new version soon.

For kayser keyobord it's strange but i'll investigate
[Touch CDMA Android Development] c6bestia:
Where can i download the previous version of atools??The last one does not work 4 me on Kaiser.Reboots in continue as shanbh says
[Touch CDMA Android Development] n2rjt:
The new version does something strange with Kaiser.

First, when I load a NBH that was built for Froyo, it detects as Eclair.

Second, when I install, it repeatedly loads the boot screen and never gets very far.

I used the old atools and the new, and compared the built files. See attached.

What I did, with both versions:

Loaded the same base NBH.

Set to Froyo

CPU=450 MHz

Sys=85, data=128

battery=2160(advanced)
[Touch CDMA Android Development] alexandre.cgd:
What is the option in fstab NBH Editor?
[Touch CDMA Android Development] l1q1d:
You can select directly from here how to use nand and mmc partition.

You can choose all possible setup

system and data on nand, and leave sd partition unused

system and data on sd

system on sd, data on nand

system on nand, data on sd

You need the latest kernel to do it.
[Touch CDMA Android Development] alexandre.cgd:
Sure, but I can not in any way use the Script Editor Bott. Whenever he shows me the message:

------

Using boot install script

starting script

Format system

mke2fs: can not determine if / dev/block/mcblk0p2 us mounted

Could not determine filesystem size

Failed

Failed to format

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

I am setting up as follows:

Boot Script Editor:

Location: Sd partition (both for system and for data)

Simple Action: Install Firist (it automatically dials "ERASE")

Actions: Marco "Install Update" and March "USE SD partion"

Disk option: Disk Size: Put 6GB (Tamaho my SD)

Number the partitions: 1

What am I missing l1q1d?

How should I use to mount the files to Haret?

The zImage

initrid

Haret for kernel 2.6.32

default.txt

androidinstall.tar

install-seq.sh

And what else?

Latest version of Kernel for example would Thoughtlesskyle's Not So Super Froyo [RLS17]?

I do not understand quite yet!
[Touch CDMA Android Development] l1q1d:
you need to create the partitions using sdpartitioner! (check on bsg the last checkbox and create the partitions)

the fstab tell to the kernel which partition has to use!
[Touch CDMA Android Development] Restorer:
Hi. Another big thanks for a great tool.

I notice the latest version has a box for auto detection of the panel. Does this work for Kaisers and is it possible then to examine the file to find out what it detected?
[Touch CDMA Android Development] l1q1d:
The dectetion is inserted in kernel (latest 2.6.32), you can see what it detect in modules parameter (look in /sys/module/board_htckaiser/parameters/panel_type).

I test it in kaiser (and it works for my kaiser) and polaris (also works) (/sys/module/board_htcpolaris/parameters/panel_type)
[Touch CDMA Android Development] chourmovs:
The same for me with last 2 32 kernel

sorry fi dat
[Touch CDMA Android Development] l1q1d:
Did you have the same issue with 1.0.0b?
[Touch CDMA Android Development] Jimcisme:
yes same same issue with 1.0.0b.
[Touch CDMA Android Development] abompard:
Hey L1q1d,

I'm trying to use atools (1.0.0a and 1.0.0b) to build an NBH file for my Polaris100, but the image never boots. It flashes OK, but after the reboot the screen just stays blank (and the panel type is correct).

The only image that boots is POLAIMG-PANEL1-320.NBH from your files on MediaFire. If I open this file in atools, and re-save it, there are differences that can be seen with an hexadecimal editor (attached), and the new file does not boot.

Any idea what could cause this ? Are-you using atools to generate your images ?
[Touch CDMA Android Development] c6bestia:
The same here.. as the version a, reboots .The only 1 i can use is the old version od atools
[Touch CDMA Android Development] waterpolo:
same problems with my Polaris100.
[Touch CDMA Android Development] abompard:
I believe I found the bug I was talking about. It looks like there are four leftover lines (maybe from some cut-n-paste) which need to be removed:

--- atools-1.0.0b.py 2010-10-31 18:18:55.963099452 +0100
+++ atools-1.0.0b.fixed.py 2010-10-31 22:17:45.980224045 +0100
@@ -2078,10 +2078,10 @@
data = str(hex((((125 * 1048576) / 100) + ((214 - self.var.SystemDataPartScale.get()) * 1048576))))
dataoffset = str(hex((self.var.SystemDataPartScale.get() * 1048576) + 43909120))
writeon+=" mtdparts=msm_nand:0x10000000@0x0(nand)ro,0x00040000@0x029a0000(root),"+str(sys)+"@0x029e0000(system),"+str(data)+"@"+str(dataoffset)+"(userdata)"
- f.seek(0x228c)
- f.write(rebuffer("\x83\x06"))
- f.seek(0x2296)
- f.write(rebuffer("\x00\x10"))
+ #f.seek(0x228c)
+ #f.write(rebuffer("\x83\x06"))
+ #f.seek(0x2296)
+ #f.write(rebuffer("\x00\x10"))
f.seek(0x136c)
f.write(rebuffer(writeon))
f.close()

Those lines overwrite what was set in the if/else clause on "self.var.device.get()" just above.

Without them, the produced NBH files are accepted by my polaris (the bug would not show up on vogue since it's overwritten by the same values).
[Touch CDMA Android Development] l1q1d:
Thank you abompard, i missed to remove those lines in the commited version.

I just committed the correct version as 1.0.0, i consider 1.0.0 a (alpha) and 1.0.0 b (beta)
[Touch CDMA Android Development] waterpolo:
Atool - Mixer

I found some issues with the new Atool - Mixer

1) Receive the following error because the 'modules' folder don't exist. When I create the folder then it's working. (Window7 and XP)

IOError: [Errno 2] No such file or directory: u'F:/PocketPC/Adroid/atools/Export

s/modules/2.6.32-polaris.tgz'

2) Percentage of downloading is 101% after complition

3) When I try to remove one of the files after extraction then I receive the popup message 'Unable to undo changes'. Can you make those package, which are extracted, gray or other color?

4) I miss a clear/reset button to delete the current selected files

5) androidinstall.tgz isn't saved in the user defined or work folder. I found sample.tar.gz in the [work folder]\distr\

6) The modules must extract as final otherwise the files could be overwritten by a other package (ie ROM).

The wifi is working in both modules packages (.25 and .32) for the Polaris, create job.
[Touch CDMA Android Development] l1q1d:
Update 1.0.1

1) Receive the following error because the 'modules' folder don't exist. When I create the folder then it's working. (Window7 and XP)

IOError: [Errno 2] No such file or directory: u'F:/PocketPC/Adroid/atools/Export

s/modules/2.6.32-polaris.tgz'

SOLVED

2) Percentage of downloading is 101% after complition SOLVED

3) When I try to remove one of the files after extraction then I receive the popup message 'Unable to undo changes'. Can you make those package, which are extracted, gray or other color?

4) I miss a clear/reset button to delete the current selected files SOLVED

5) androidinstall.tgz isn't saved in the user defined or work folder. I found sample.tar.gz in the [work folder]\distr\ SOLVED

6) The modules must extract as final otherwise the files could be overwritten by a other package (ie ROM). SOLVED
[Touch CDMA Android Development] waterpolo:
Please update first page with the latest version.

@Sourceforge AtoolsRelease default is 1.0.0 instead of the 1.0.1 release
[Touch CDMA Android Development] waterpolo:
see comments above
[Touch CDMA Android Development] l1q1d:
1) Receive the following error because the 'modules' folder don't exist. When I create the folder then it's working. (Window7 and XP)

IOError: [Errno 2] No such file or directory: u'F:/PocketPC/Adroid/atools/Export

s/modules/2.6.32-polaris.tgz' SOLVED

> download isn't working with a proxy server, but the module is added to the list. This gives the following message: IOError: [Errno socket error] [Errno 11001] getaddrinfo failed

Modules folder is created (i fix the bug in next release but i don't add the support for proxy)

4) I miss a clear/reset button to delete the current selected files SOLVED

> extraction don't work after deletion the previous. The extraction is directly finished. (i'll take a look on next week)

6) The modules must extract as final otherwise the files could be overwritten by a other package (ie ROM). SOLVED

> The module files are still overwritten by the ROM (androidinstall) files when the modules are added to the list before the ROM. (I add a warning, if a user is stupid ..., also if a users want to create only a new update with modules+apps he can do it now)
[Touch CDMA Android Development] gaiter:
Cant get partitions right

Hi, tying to prepare the haret version of android ( 2.6.25), did everything according to instructions but... when launching haret and script says:

Unmount fat32 part

check values

Error: unable to satisfy all constraints on the partition.

Failed

Failed to repart the sd - please check options....

and that's it. I use a 4 GB SD card with next to 2 GB free space, set the data/fs to be looked fort in sd part.2, and with sd partitioner I partitioned 1 GB into 2 parts, where part 2 is ext2. What am i doing wrong?

thx for your help guys
[Touch CDMA Android Development] alexandre.cgd:
I'm also having the same problem.

I define where I want the NBH and the System Date, then on the Script Editor to set the partitions correctly, but get this message too!

Any idea what might be?
[Touch CDMA Android Development] samjam:
Or co:

#!/usr/bin/env python

which is a trick that uses the env program to do nothing special but it searches for python in the path. This is good if the location of env is more likely to be fixed that the location of python (and I think this is true).
[Touch CDMA Android Development] l1q1d:
Update to 1.0.2 on sourceforge
[Touch CDMA Android Development] Neo2SHYAlien:
Cool i see u like my recommendation. Its make path independent when script is executable. Good work boys
[Touch CDMA Android Development] korish:
There was a problem after has changed LCD in the O2 Orbit 2 (Polaris). Put Panel type 3 Earlier and all worked. Now any of three parametres does not approach. Put the different.

VOGUIMG-320-FROYO-10-29-10.NBH

Panel type 1 all in inverse colour, last inscription fake_vsync_int

Panel type 2 Alternating black-and-white strips

Panel type 3 the screen Strongly blinks. Last inscription fake_vsync_int

VOGUIMG-320-FROYO-10-31-10.NBH

Panel type 1 colour dust

Panel type 2 Black screen

Panel type 3 colour dust

Earlier at me was Samsung LMS283GF04-002 60h00117-00m

And now Toppoly TD028TGEA1
[Touch CDMA Android Development] chiricop123:
Can anyone help me? I can not find the exe "Atools clicking on the link in the 1st post I find only one file. Tgz, I'm wrong, or should I look somewhere else? Thanks for your help
[Touch CDMA Android Development] l1q1d:
click link, scroll down the page...
[Touch CDMA Android Development] abompard:
kernel update

Hey, this may be a stupid question, but is it possible to update the kernel without flashing and reinstalling everything ? Like on a regular linux install ?
[Touch CDMA Android Development] mrkite38:
the kernel is embedded in the nbh... I know dzo has used haret and kexec in the past to test kernels but that wouldn't be great for daily use.
[Touch CDMA Android Development] l1q1d:
it's quite stable in latest release.

You can flash it only if there is no changes in yaffs. If the yaffs support change you can lose all data and you need to reinstall.
[Touch CDMA Android Development] vellowax:
For the latest kernel .25, seems like it a little bit drains the battery for vogue. Thank you l1q1d for any update for the kernel.

If the latest was meant to support kaiser battery, hope you could make some adjustment for vogue.

that .25 branch kernel that you post in vogue thread are more battery-friendly for vogue. Or maybe just my battery going to old now.
[Touch CDMA Android Development] silex:
I'm confused. Do we open up an existing NBH, modify, and then save it? Do you use the RUU utility to flash the new kernel also need to put it in the root directory? I'm getting a lot of broken file links no matter which way it's done. Even though I selected NAND the options on boot are saying that the sys and data are on SD card.
[Touch CDMA Android Development] l1q1d:
Follow the guide in atools step by step.

In atools is proposed the falsh from sd but you can flash also using RUU (in this case you don't need to put nbh in sd)
[Touch CDMA Android Development] fabiogiallo:
i follow the guide but it doesn't install...

show message "unable to format"

i need some info about sdcard partition
[Touch CDMA Android Development] l1q1d:
Please post your install-seq.sh and explain what you want to do.
[Touch CDMA Android Development] PIERCED6966:
I have to ask and it baffles me as to why no on else has asked it, but from the screenshots this is a MAC tool.

Now i dont want to point out the obvious here but 9.99999999% out of 10 who wud have a windows based phone tend to have a windows based PC, so why in the name of god is this a mac tool?????

I have been searching this site for straight forward up to date info with no success.

Why keep usless info thats out dated, it just makes people search for the correct info impossible.

I havent used my htc tytn II (kaiser) for 3 yrs and thought id give this a try.

I got the flash going, got the penguin up, got the options up, installed latest android 2.2.

Boots up with 8 bit graphics, look in setting and says android on htc vogue even though set it to Kaiser in the old windows NBHEditor.

Any one give me a idea whats wrong?
[Touch CDMA Android Development] abompard:
It's not a mac-only tool, it's portable (partially due to the language it's been written in). For example, it works perfectly here under Linux.
[Touch CDMA Android Development] l1q1d:
why the 99 % of windows users are so stupid?

If they haven't a exe they are in panic!

The app is tested on win7/mac/linux with python 2.7 next time pay some more attention and read the first post!
[Touch CDMA Android Development] mrkite38:
Yes, and while vogue was originally a windows phone, you're in a forum dedicated to porting a linux-based operating system to it.

Readreadreadread.
[Touch CDMA Android Development] manu33xtro:
I'm really lucky because I am in the remaining 1% :)

But you're right l1q1d, many people do not read: education problem ? ;)

I'm a WM XP user and it works perfectly !!
[Touch CDMA Android Development] dai_thang:
Sorry but I wonder that when I change the NAND partition size ( I want to reduce the system partition to have more data partition size) I cound not install android maybe the code of formating partition is on the androidinstall not on android installer. One more question, if i do the SD partition script so after install the first time all the card data was lost ? am I right ? sorry for stupid question .
[Touch CDMA Android Development] l1q1d:
The sd card partition works only when you use a sd card with one partition in fat32. The script will create the partition selected. The data in first partition will not erased.

What did you change on nand parameters?
[Touch CDMA Android Development] n2rjt:
For me, on Kaiser, I find that I have to use the old original atools without GPU overclock for the NAND partition sizes to work. I like 72M system with the rest data. When I compare the kernel parameters, the newest atools is putting data partition at a different offset and does not work. If I put data on SD with such a kernel, it will work, but it cannot put data on NAND.

Do you want more specific information? I could send the kernel parameters themselves tonight if you need.
[Touch CDMA Android Development] ZeGuido:
Install using existing partitions. Nand Partition ?

Hy,

I'd like to install a new Froyo distr on my Polaris, basically what I need is to get a correct panel number .NBH. But this tool seems to have a lot more possibility. I read the nand howto from the link in first post, still I have some question :

It's said that the boot editor I have to select the same partition location as in the nbhEditor. Only the option aren't exactly the same, and I am not sure of the meaning :

In nbhEditor I get for sytem data and swap the choice AUTO-NandP2-NandP3-SDP2-SDP3-SDP4-system.img-data.img

I can guess that SDP2 is the second partition on the SD card, system.img is straight forward. But I don't get the NandP2 and NandP3 options.

Then in the bootScriptEditor, the choices are reduced to Nand-SD-image disk.

Ok, I have a SD partition with a first Fat32, then two Ext2 partitions.

If I want to install without changing the partitions, using system on Nand and Data on SD, the settings in the bootScriptEditor are easy, but I feel confused about the nbhEditor settings. I guess I should set the data on SDp2 and swap on SDp3. But what is this nandP2 or nandP3 option for ?

I'd apreciate some details on this option.

Thanks.
[Touch CDMA Android Development] l1q1d:
In next version i'll make it more clear, but

nandP2, nandP3 are the two avaible partition in nand

so if you want

system on nand: select nand p2 and nand on bse

data on sd partition: select sdpartition 2 and sdpartition on bse

swap on sd partition select sdpartition 3
[Touch CDMA Android Development] ZeGuido:
Thank you l1q1d,

I prefer to be sure. It seems I guessed ok.

I made a few test to sort it out, this is a great tool.

I am in the process of saving my data and apps, and I'll flash next.
[Touch CDMA Android Development] ZeGuido:
KeyMpEditor problem with Polaris

I have been trying the KeyMapEditor, but I have messed up something.

Now I have my power button behaving as home, and whatever I do with the KME, it remains a home button.

I used to have home on the endCall button.

I also check out that in LaunchherPro the Home button does nothing.

I tried to make a new android update with power button set to power and endCall button set to home, but now both are doing the same : Home/recent used app. Plus, I can't shut down my phone as a long press on Home (endCall) give me access to recently used app.

this is annoying as I can't manually put my Polaris to sleep, and I have to wait before putting it in my pocket.

Do you have any idea of what I am doing wrong ?
[Touch CDMA Android Development] l1q1d:
No but it's quite interesting. If you want to return to default use this update.

I have no time today but i'll take a look this week-end.

rename it to androidupdate.tgz
[Touch CDMA Android Development] ZeGuido:
I just applied the update you passed me, but still can't put the phone to sleep using the power button. :confused:

I try another homemade layout and then go back to the best working : endCallButton set at Power and powerButton set at home...
[Touch CDMA Android Development] l1q1d:
This is very strange! This is the default layout (as just installed), probably there is a problem somewhere in your phone.
[Touch CDMA Android Development] damaph:
I can't figure out how to put system and data on nand. I tried

system on nand p2

data on nand p3

swap on sdpartition 2

but my phone does not boot with those settings. There is also a system.img and data.img on my sd card after using these settings and installing the rom.

If I just make everything auto, it boots up but it creates a system.img and data.img on my sd card.

Without editing the NBH using ATools, I can choose install system and data on nand in the nomorootfs menu and everything works fine, but I would like to overclock my CPU and GPU.
[Touch CDMA Android Development] l1q1d:
Which nbh did you flash?

How did you install the system?
[Touch CDMA Android Development] damaph:
I'm using the 11-29 nbh and I installed it through RUU.
[Touch CDMA Android Development] l1q1d:
how did you install the system?
[Touch CDMA Android Development] damaph:
Sorry I thought you meant how did I install the nbh. Through the menu when you hold down the center button.
[Touch CDMA Android Development] l1q1d:
Are you sure that if you left auto it doesn't install in nand?
[Touch CDMA Android Development] damaph:
When I click auto, it creates a system.img and a data.img on /sdcard/andboot and the phone freezes whenever I take out my sdcard.
[Touch CDMA Android Development] l1q1d:
the only idea is that kernel didn't detect the nand, but the kernel is tested in nand and it works. Did you try also with old kernels?
[Touch CDMA Android Development] damaph:
I tried the ones from 11/12 and onward and all of them did not install to nand when set to auto in ATools.