yashsingh1/xdaforums huggingface dataset:
[Click Android Development] milos11136:
I'm getting error message when try to build rom from working folder:

Signing update.zip as signed_032910_202313.zip ...

cp: cannot stat `../tools/testsign.jar': No such file or directory

Exception in thread "main" java.lang.NoClassDefFoundError: testsign

Caused by: java.lang.ClassNotFoundException: testsign

at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

at java.lang.ClassLoader.loadClass(ClassLoader.java:307)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

Could not find the main class: testsign. Program will exit.

rm: cannot remove `testsign.jar': No such file or directory

Can someone help me plese !!! :)
[Click Android Development] dsixda:
Excellent! Thank you for trying it out. :D

Yeah, I think I know the reboot problem.. that file probably got deleted .. I will take a look later.
[Click Android Development] dsixda:
What operating system are you using, and did you follow the instructions for installation of JDK?
[Click Android Development] milos11136:
I'm using ubuntu 9.10,and java works good.
[Click Android Development] dsixda:
Hey bro,

"reboot" works on my Nexus One with my modified stock ROM.

In Ubuntu I did this:

cd ~/AndroidSDK/tools
./adb kill-server
sudo ./adb start-server
./adb devices

./adb shell reboot
[Click Android Development] dsixda:
Your tools folder doesn't have testsign.jar?
[Click Android Development] gambitvbi:
@dsixda Can I port a dream based rom like cyanogen to tatto? I've tried but i get error flashing
[Click Android Development] dsixda:
Can you be more specific about the error?

The kernel in the ROM you want to port is heavily modified. Replacing it with a simple Tattoo kernel is not necessarily going to work. I would rather use a shipped Dream ROM instead. Also, keep in mind that the two devices have different screen resolutions so it's going to require some extra work.
[Click Android Development] gambitvbi:
In the screen appears: Failure at line 2: assert getprop ("ro.product.device") == "dream" || getprop("ro.build.product") == "dream" || getprop("ro.product.device") == "sapphire" || getprop("ro.build.product") ==. I suposed that it will be more dificult, but I wanted to try your kitchen. Thanks for all
[Click Android Development] dsixda:
Whoa... what screen? what are you trying to do? These are shell scripts that are run in Linux on your computer. How are you getting assert statements (you are showing me lines from the build_boot_img script)??
[Click Android Development] gambitvbi:
Well, I was proving the option to port superatmelrrom, using fyodor rom like original rom. When I've generated the new update.zip I tried to flash with maverix recovery's, and then the error ocurs.
[Click Android Development] dsixda:
Oh wait, sorry, nevermind... those lines above were not from my script, but rather they appear to be from the Rom you ported. Porting a custom Rom is more complicated because the cook puts in his own modified kernel and startup scripts. You would need to modify your device's kernel to reflect on those specific modifications.

As I said earlier, it is easier to port a stock Rom because no customizations were done.
[Click Android Development] gambitvbi:
Thanks for all, I wanted to port that rom because I was thinking that a rom for tattoo with cyanogen base will be fast and stable, but I'm seeing that it's very difficult to port.
[Click Android Development] svprm:
All working well....

Untill Installation complete from sdcard.

Then stuck at Tattoo Boot Img.

What i did?

First put stock rom(system.img and boot.img) in the img_files

Then added root user.

Then Create the rom and signed the rom.zip.

Tried failed.
[Click Android Development] dsixda:
You used:

Cygwin? Ubuntu? Mac?

By the way, make sure you have the LATEST version of the kitchen, because the version from last week had the wrong base address for the Tattoo's kernel.

Download the latest, and ALSO, use a new, untouched boot.img. If you used the older version of the kitchen it would have modified the boot.img to a corrupted version. So refresh your boot.img to one that was not modified.
[Click Android Development] svprm:
I'm using cygwin.

i tried it on latest version.

i simply copied the images from stock rom to the kitchen.
[Click Android Development] dsixda:
I was having the same problem as you with my HTC Hero with Cygwin, but I sold it and I cannot test it anymore :( However, the flashed ROM works on my Nexus One with Cygwin. It will work in Ubuntu and Mac OS though.

Anyways, can you please try this in Cygwin:

Go to the folder that has the unmodified stock boot.img, and do this command:

od -A n -h -j 34 -N 2 boot.img

Add 4 more zeros to the number and that is your kernel base address. Let me know what you get.

Then, run the kitchen, select Option 1, then Option 14, then 15 (this extracts the boot.img and rebuilds it). Do this only once.

Do the same command again:

od -A n -h -j 34 -N 2 boot.img

Add 4 more zeros to the number and let me know what you get. Should be the same.
[Click Android Development] svprm:
first i ran this command

od -A n -h -j 34 -N 2 boot.img

then i got this result

02e0

then i extract and rebuild the boot image.

RUN THE SAME COMMAND IN THE WORKING FOLDER.

GOT THE SAME RESULT.

BUT SIZE CHANGED

BEFORE 2064384bytes

AFTER 2066432bytes
[Click Android Development] dsixda:
Ah ok, thanks for the info. Can you zip up both those files and attach them? It looks like mkbootimg does not work well in Cygwin for certain devices.

If want to continue cooking for now on the Tattoo, just install Ubuntu Linux or Mac.
[Click Android Development] svprm:
now i do not have internet no my computer.

i browsing through the mobile.

i cant upload through the mobile.

today evening i will upload here.

Edit:Uploaded

Link:

http://cybflash.tk/boot.7z
[Click Android Development] dsixda:
Thanks a lot. From comparing the headers of the two files in a hex editor, I noticed that that ramdisk size is different (address 0x10-0x13 in boot.img, and read backwards). So there must be a problem with mkbootfs when it built the ramdisk (this is the step before using mkbootimg).

I'll have to spend more time on this but today is a holiday and I will be out for a while. Using your boot.img, I'll try to compare the ramdisk that is extracted and then built in Cygwin vs the one that is extracted/built in Ubuntu.
[Click Android Development] svprm:
Thanks for your help.

waiting....
[Click Android Development] dsixda:
Ok good news, I think I have managed to compile a correct mkbootimg binary for Cygwin. I had to link rsa.c and sha.c (encryption-related files).

The boot.img that was built in Cygwin now looks like one that was built in Ubuntu! I just need you to try it.

I will upload 0.37 soon.
[Click Android Development] svprm:
now power cut in my area.

power will come after 2 hour.

soon i will test and reply.
[Click Android Development] dsixda:
Load shedding? That sucks.

Thanks for letting me know, I am confident you will get a better result this time.
[Click Android Development] svprm:
Bad news man.

Not working....

What i did?

Copied the system.img and boot.img to the kitchen folder.

First create the working folder.

Then add the root user.

Create the update.zip and signed the zip.

Same Result.

Stuck at Tattoo.

Edited:

Extracted the boot.img and rebuilt it.

Size changed.
[Click Android Development] dsixda:
God... I don't know what to say. My Nexus One is okay with this latest fix for Cygwin. Can you do me a favour and upload the rebuilt boot.img from your last sentence? Thanks.

BTW, does this ROM even work if you just create the working folder from the .img files, and build and sign it? ie. With no kernel rebuilding or rooting.

Have you tried using Ubuntu instead in a virtual machine on your pc?
[Click Android Development] svprm:
Tried without rooting.

Failed.

Now only downloading Ubuntu.
[Click Android Development] dsixda:
Ok, so that means your Rom isn't being signed properly. So the boot.img is not the problem. When my Hero wasn't booting with Cygwin, it did however boot when I didn't apply the rooting.

I am wondering if your img files are corrupted. If you can get this working in Ubuntu then we will know that this is not the problem. We also know that tattoo roms boot fine when cooked in Ubuntu.
[Click Android Development] svprm:
Downloaded ubuntu 9.10.

Installed it on Windows(Nice option).

Working.....

Nice to see.

I don't know what problem with cygwin?
[Click Android Development] dsixda:
Well, it is good that you finally got a working ROM ;-)

I am not sure now why Cygwin doesn't work.

By the way, did you see warning messages in Cygwin whenever you extracted the boot.img? I saw them on mine.
[Click Android Development] svprm:
Got it when extracting the boot.img

Working folder found
Making folder BOOT-EXTRACTED ...

Extracting kernel ...
Subroutine Cwd::cwd redefined at /usr/lib/perl5/5.10/i686-cygwin/Cwd.pm line 407
.
Subroutine Cwd::fastcwd redefined at /usr/lib/perl5/5.10/i686-cygwin/Cwd.pm line
812.
Subroutine Cwd::getcwd redefined at /usr/lib/perl5/5.10/i686-cygwin/Cwd.pm line
812.
Subroutine Cwd::abs_path redefined at /usr/lib/perl5/5.10/i686-cygwin/Cwd.pm lin
e 812.

Extracting ramdisk ...
Subroutine Cwd::cwd redefined at /usr/lib/perl5/5.10/i686-cygwin/Cwd.pm line 407
.
Subroutine Cwd::fastcwd redefined at /usr/lib/perl5/5.10/i686-cygwin/Cwd.pm line
812.
Subroutine Cwd::getcwd redefined at /usr/lib/perl5/5.10/i686-cygwin/Cwd.pm line
812.
Subroutine Cwd::abs_path redefined at /usr/lib/perl5/5.10/i686-cygwin/Cwd.pm line 812.
528 blocks

Rebuilt the boot.img

mkbootfs successfully compiled

Compiling mkbootimg ...
mkbootimg.c: In function `main':
mkbootimg.c:221: warning: assignment discards qualifiers from pointer target typ
e
mkbootimg successfully compiled

Building ramdisk-boot ...

Building newBoot.img ...
Working folder found

Using base address of 0x02E00000 (bahamas)

newBoot.img created
Copying as boot.img to working folder

total 78728
drwxr-xr-x+ 1 Satheesh Kumar None 0 2010-04-03 23:42 META-INF
drwxr-xr-x+ 1 Satheesh Kumar None 0 2010-04-03 23:43 system
-rw-r--r-- 1 Satheesh Kumar None 78547380 2010-04-03 23:44 update.zip
-rwxr-xr-x 1 Satheesh Kumar None 2066432 2010-04-04 07:40 boot.img

Removing BOOT-EXTRACTED folder ...
[Click Android Development] dsixda:
Yeah I got the same warnings as you, but why do you have update.zip in your working folder?
[Click Android Development] svprm:
i slightly modified the script to check whether any problem with signing the zip.

first i created update.zip on ubuntu.

then i signed the zip on windows xp.

tried but failed.
[Click Android Development] dsixda:
Oh, so you mean that if the update.zip is signed in Cygwin, it doesn't boot?
[Click Android Development] dave_uno:
Hello Dsixda, first of all congratulate you on your great work, now I'm using your kitchen and a question has arisen ... Apps2sd choosing the option seems to work, but to install the applications do not stay in sd, (I have partitioned the ext3 and fat32 sd, you have to do something else?) thanks! sorry for my bad english... ;-p
[Click Android Development] svprm:
No probelm with signing the zip on Both ubuntu and cygwin.(Rom Working)

I compared the both working folder on unbuntu and xp.

liba2dp2.so not found on working folder(XP) due to case-sensitive.

So,I tried to insert file in to system/lib/

I created a rom with root user on cygwin.

Stuck at Tattoo.

Then i connected with usb cable.

In the cmd,

adb shell

I got the root user

#

.

Now i don't how to copy the liba2dp.so to /system/lib.
[Click Android Development] Holyachmed:
can you tell me how to run it i know through command prompt ... but how ...

can somebody help?
[Click Android Development] dsixda:
You would need to use the adb push command.

Also you can do a logcat to see why it is not booting ... I have never tried logcat so I don't know how to apply it in this case... but it is an effective debugging tool.

Thanks
[Click Android Development] dsixda:
I am not exactly sure what needs to be done, this option was implemented with help from guys using the Hero (it worked for them). You may want to ask in the main thread that is linked in the first post.
[Click Android Development] dsixda:
In Ubuntu the command prompt is under System menu --Accessories--Terminal, I think.
[Click Android Development] dave_uno:
Ok, thank you very much anyway, I will ask to see what I need to get it to work, if I remember correctly is a rom for Tattoo MoDaCo that this option is enabled ...
[Click Android Development] dsixda:
Hey bro,

You can try "adb logcat" while the phone is rebooting, to find the real reason for the non-booter.

I guess the liba2dp file could be a reason for the hanging. There are two files under /system/lib that have the same name but different upper-case and lower-case: libA2DP.so and liba2dp.so. Windows (Cygwin) only copies one of them because it is case-insensitive. BUT Linux copies both because it IS case-sensitive.

Anyways, can you open the attachment below and add the patch files to your kitchen (one file under 'tools', and another under 'scripts'), and then build the ROM again in Cygwin? This includes a fix for the libA2DP.so crap.

It would be great if you could try this with success in Cygwin!
[Click Android Development] svprm:
Installation error!

I got this error:

symlink SYSTEM:liba2dp/liba2dp_upper.so SySTEM:lib/libA2DP.so

Corrected the problem:

See my next post.
[Click Android Development] Holyachmed:
but im in windows does it work?
[Click Android Development] svprm:
@Holyachmed

Now not working properly on xp using cygwin.

Soon it will be corrected.

@

I slightly edited your build_rom script.

Added this line:

................
mkdir system/liba2dp
cp ../tools/liba2dp_upper.so system/liba2dp/
[B]cp ../tools/liba2dp_replace.so system/liba2dp/[/B]
[B]rm system/lib/libA2DP.so[/B]

[B] perl -pi -e 's/copy_dir PACKAGE:system SYSTEM:/copy_dir PACKAGE:system SYSTEM:\n\nsymlink SYSTEM:liba2dp\/liba2dp_upper.so SYSTEM:lib\/libA2DP.so \n\nsymlink SYSTEM:liba2dp\/liba2dp_replace.so SYSTEM:lib\/liba2dp.so\n/g' META-INF/com/google/android/update-script[/B]
........................

Then add this two file to tools folder

"liba2dp_replace.so" and "liba2dp_upper.so".

Files:http://cybflash.tk/tools.rar

Now installation working properly.

Good news! Now rom created on xp and ubuntu have same size.(Signed zip).

But Rom not worked(Created by cygwin)

stuck at Tattoo.

I tried adb logcat.

I can't undersatand.

So i attached here "boot.txt"
[Click Android Development] Holyachmed:
do you mean its working on xp?

tell me how if so :D
[Click Android Development] svprm:
Rom created by cygwin(XP) not worked on tattoo.

stucks at Tattoo boot screen.

Working well on ubuntu.
[Click Android Development] dsixda:
Good work! But why did it complain about my original script? The one that was in system/lib was the lower case liba2dp.so and the one in system/liba2dp was the upper case libA2DP.so, so it shouldn't have a problem there. :(

Here is the part that had errors in your logcat:

D/dalvikvm( 115): Trying to load lib /system/lib/libandroid_servers.so 0x0
I/dalvikvm( 115): Unable to dlopen(/system/lib/libandroid_servers.so): Cannot l
oad library: link_image[1638]: 113 could not load needed library 'libsystem_se
rver.so' for 'libandroid_servers.so' (link_image[1638]: 113 could not load nee
ded library 'libaudioflinger.so' for 'libsystem_server.so' (link_image[1638]:
113 could not load needed library 'liba2dp.so' for 'libaudioflinger.so' (load_li
brary[984]: Library 'liba2dp.so' not found)))

Maybe it did not like symbolic links!
[Click Android Development] dsixda:
How about this -- use the "copy_dir" statement to copy the liba2dp.so (the lower case version):

In build_rom:

mkdir system/liba2dp_upper

cp ../tools/liba2dp_upper.so system/liba2dp_upper/

mkdir liba2dp_lower (not under /system!)

cp ../tools/liba2dp_replace.so liba2dp_lower/liba2dp.so

rm system/lib/liba2dp.so

perl -pi -e 's/copy_dir PACKAGE:system SYSTEM:/copy_dir PACKAGE:system SYSTEM:\n\nsymlink SYSTEM:liba2dp_upper\/liba2dp_upper.so SYSTEM:lib\/libA2DP.so \ncopy_dir PACKAGE:liba2dp_lower SYSTEM:lib/g' META-INF/com/google/android/update-script
[Click Android Development] svprm:
man atlast you succeed.

now working.

I'm not complaining your script.

now your script working well.

thanks.
[Click Android Development] dsixda:
Awesome!!! :-D

No, there was a misunderstanding - I was wondering why the device (not you!) was complaining about the update-script the first time. ;-)

Thanks for testing and for your help!

Sent from my Nexus One using the XDA mobile application powered by Tapatalk
[Click Android Development] rheza02:
dsixda, is it possible to implement apps2sd (chrisyoras version) to any rom using your kitchen ?

thanks
[Click Android Development] dsixda:
How is this one different from the current apps2sd in the kitchen?
[Click Android Development] dsixda:
Ok, for svprm and other Cygwin users -- the kitchen has now been updated for Cygwin compatibility with HTC Tattoo (no more hanging at the boot screen).
[Click Android Development] Holyachmed:
but how do i launch the menu (script) on xp?

edit: i get it ... go through cigwin and run ./menu
[Click Android Development] dsixda:
So when you downloaded it, did you not read all the information that is directly below? You type ./menu
[Click Android Development] Holyachmed:
but 'cause im a biig noob i didnt know i shall go through cygwin
[Click Android Development] dsixda:
Achmed -- for Windows XP you can either use Cygwin or install a 'virtual machine' that contains Ubuntu Linux. Please read the directions in the first post, it tells you exactly what to do. Don't just download something and then run it without knowing what you are doing. ;) Please read the FAQ first before asking questions - you don't need to be an expert to read that :-)

Thanks
[Click Android Development] Holyachmed:
but... its SOOO boring to read :D
[Click Android Development] dsixda:
Then don't expect people to spoonfeed answers to you if you're gonna be lazy.
[Click Android Development] dsixda:
gabitvbi, if you are still following this thread, there is a solution for this in this kitchen's FAQ:

http://xdaforums.com/showpost.php?p=5626300&postcount=3

Sorry, I think I posted the solution earlier today but I must've forgotten to hit Submit.
[Click Android Development] dsixda:
Discussion continued in main thread:

http://xdaforums.com/showthread.php?t=633246
[G1 Apps and Games] legend221:
NOW AVAILABLE ON THE MARKET!!!!!

Now a FREE version to try out in the Market as well.

THE RETURN OF CLASSIC ACTION RPG, NOW ON THE ANDROID!!

AWARDS:

Best Adventure/RPG Game from The Pocket Gamer Awards 2010: iPhone

Best Game of 2009 by Apple's Rewind 2009

Best RPG Game of 2009 by IGN

Best Role Playing iPod Touch and iPhone Game of 2009 by Touch Arcade

Top 10 iPhone Games of 2009 by AppGamer

Best RPG 2009 by TouchGen

Editor's Choice Award by IGN

I started playing it today and it is f***ing awesome so far.

Wondering if anyone has played or tried the game as well?

It comes highly recommended :D
[G1 Apps and Games] Freedomcaller:
Couldnt find it on the market. But its a great game, more then willing to pay for it. If only i could....
[G1 Apps and Games] phaelox:
If you see paid other apps in Market and you can't find this game, it's probably because you're running Android 1.5 and you need Android 1.6+.
[G1 Apps and Games] Freedomcaller:
im running 1.6 and i get 0 search results for zenonia in the market app, and yes i have other paid apps, on the other hand i installed it from the blapk market and it works just fine....
[G1 Apps and Games] area5x1:
After a few minutes playing it, the game doesn't seem to be that great tbh. No keyboard controls, which is a huge downside for me. Plus, you already have tons of emulators on Android, what makes this better than full roms?
[G1 Apps and Games] legend221:
Give it a few more minutes itll grow on you.

The developers want to mainstream the game, not just cater to us. Most newer android phones are all touch screen remember.

This game is brand new, its not from yesteryear like the games the emulators run.

The storyline, gameplay and controls are excellent and as the reviewers have mentioned they have already been more than satisfied with the game.
[G1 Apps and Games] erlern:
Is it only me or the game is still not up on the US market? I'm using Market Enabler to access the US T-mobile Market. Can someone help me with this?
[G1 Apps and Games] rs19078:
Ended up finding a dl for it, but i cant install because im running out of space? it doesnt look like im running out of space anywhere though when i check my phone's internal storage. (SD card has 7 gb free..)
[G1 Apps and Games] erlern:
But can you find it from the Market?
[G1 Apps and Games] rs19078:
found it by googling running the latest cyanogenmod on my g1. Has someone else gotten it to work from downloading elsewhere?

--It is not in my normal market app
[G1 Apps and Games] lanzemurdok:
i'm running super d and it's not coming up in the market
[G1 Apps and Games] erlern:
Phew.... for a moment, I thought I was the only one.
[G1 Apps and Games] rs19078:
Got it working...turns out i actually didnt have enough space -_-...i thought 36 mb would be enough for a 9mb .apk....just deleted some useless apps and now it works great. still dont know why it doesnt show up in market though
[G1 Apps and Games] legend221:
SEE THE GAME TRAILER HERE ---->> http://www.youtube.com/watch?v=BrsYbeVV0wM
[G1 Apps and Games] erlern:
Gamevil has noted (check their twitter) the problem and promises to find a workaround for it or to post it at Handango or something. For those who are support the devs, we just need a bit more patience :)
[G1 Apps and Games] mitch1974:
I'm running the latest version of CyanogenMod with an ext 2 partition on my sd card and I had no trouble installing it.

Not that far into it, but I suspect it may make a lot of bus journeys go quicker.

I think this is the 2nd best game on the G1 for people who thought Final Fantasy 6 (3 in the US) was the best of the series.
[G1 Apps and Games] beltrandrea:
Best rpg on android! It run well on my g1:D
[G1 Apps and Games] muaddip:
A very good RPG for the android.

I just wish the movement controls on my Droid were not so sensitive.
[G1 Apps and Games] erlern:
Gamevil has solved the problem :) It is now on the market. Go support Android devs people! :)
[G1 Apps and Games] legend221:
Confirmed! Currently available on the market and YES I agree lets support the devs..
[G1 Apps and Games] Freedomcaller:
Bought ;-)
[G1 Apps and Games] cmsweet21:
im playing this now, =)

do u guys have the idea build = stats

for each characters? coz i do hybrid >.<

im using warrior :D

*PS = WAS THERE ANY GLITCH OR HACK ON THIS GAME?

coz ive seen some video they use hack, or w/e..
[G1 Apps and Games] mitch1974:
I think you'd better remove that link, pretty sure that it's against XDA rules.
[G1 Apps and Games] Icebergxx:
Bought it, won't even start downloading without saying download unsuccessful, on HTCClay Fasttest rom
[G1 Apps and Games] erlern:
You too????? I thought I was the only one having this problem. If you have a twitter account, do ask Gamevil what resolutions there are for this. I asked, but gave up when their solution failed.

Anyone else having this problem?
[G1 Apps and Games] cmsweet21:
i finished this game twice

using warrior and assasin ^^

i thought i can repeat the last boss so that i can reach lvl 99

but sadly it wont let me xD

in evil = i can play the game after the last quest

in good = no i can't it after the game it return to main menu and when i click continue it roll back the game in the last boss, and all of them are rollback xD so >.<
[G1 Apps and Games] Icebergxx:
I think it's more so on Googles end when it's a market problem, what rom are you running?

And we'll probably have to be bad XDA kids and get warez for the .apk lol
[G1 Apps and Games] erlern:
I'm on Cyanogen's latest. All other games downloaded fine on my phone... Every single purchase, but Zenonia really fails on me :(