Anyone know how to tell if JIT is enabled? - Hero CDMA General

Not much more to say than what the title says!
Thanks

type
adb shell
dalvikvm -h
at the bottom somewhere on the line that says "Configured with:" it will say "with_jit"

Jus10o said:
type
adb shell
dalvikvm -h
at the bottom somewhere on the line that says "Configured with:" it will say "with_jit"
Click to expand...
Click to collapse
Dammit, I figured as much because it booted! I still cant get this crap to work!
Have you ever done it using this method!
Required:
1. Android 1.6 ROMS with a bit Eclair stuff in the Kernel and framework such as Cyanogen ROM 4.2.x, Super D 1.8 - 19.2, WG Y2.6, FastTest, KingKlick Eclair and more.. This libdvm.so works on Android 2.1 as well as it seems it should..
How to install: (easier to go in recovery mode but can be done through terminal)
1. Download the VMLIBS.ZIP from t3hSteve of allroid.com http://alldroid.org/download/file.php?id=1374
2. You only need the libdvm.so file of which appears to be JIT enabled by default.
3. Backup the original libdvm.so #cp /system/lib/libdvm.so /sdcard/libdvm.so
4. Copy the JIT enabled libdvm.so #cp -f /sdcard/vmlibs/libdvm.so /system/lib/libdvm.so
5. Set permissions on the file #chmod 644 /system/lib/libdvm.so

Roman G said:
Dammit, I figured as much because it booted! I still cant get this crap to work!
Have you ever done it using this method!
Required:
1. Android 1.6 ROMS with a bit Eclair stuff in the Kernel and framework such as Cyanogen ROM 4.2.x, Super D 1.8 - 19.2, WG Y2.6, FastTest, KingKlick Eclair and more.. This libdvm.so works on Android 2.1 as well as it seems it should..
How to install: (easier to go in recovery mode but can be done through terminal)
1. Download the VMLIBS.ZIP from t3hSteve of allroid.com http://alldroid.org/download/file.php?id=1374
2. You only need the libdvm.so file of which appears to be JIT enabled by default.
3. Backup the original libdvm.so #cp /system/lib/libdvm.so /sdcard/libdvm.so
4. Copy the JIT enabled libdvm.so #cp -f /sdcard/vmlibs/libdvm.so /system/lib/libdvm.so
5. Set permissions on the file #chmod 644 /system/lib/libdvm.so
Click to expand...
Click to collapse
I use this method.. I wrote the post awhile back... Follow the instructions if you want a working phone in the end. Iv learned whats not good to use and what is.
MAKE A NANDROID BACKUP. Just in case it doesnt go well.
http://forum.xda-developers.com/showthread.php?t=659756

Jus10o said:
I use this method.. I wrote the post awhile back... Follow the instructions if you want a working phone in the end. Iv learned whats not good to use and what is.
MAKE A NANDROID BACKUP. Just in case it doesnt go well.
http://forum.xda-developers.com/showthread.php?t=659756
Click to expand...
Click to collapse
Ya I tried your method 3 times with no luck, and I also tried both methods on this page with no luck! Really pissing me off!
http://forum.xda-developers.com/showthread.php?t=637419

Well i am stuck at the android boot screen again by using the method above, I went to adb and typed dalvikvm -h and now it appears I have JIT enabled but every time it just freezes at the android bootscreen!

What rom are you using?

Jus10o said:
What rom are you using?
Click to expand...
Click to collapse
Darchdroid.....

Oh dang.. thats a legend rom. You might want to ask darch if he has a jit project going. Im pretty sure he has put jit on his rom, iv seen benchmarks from him i think.
And iv used my jits files on DC 2.05+ and now fresh toast which is 2.0d and 2.0d is based of the same as dc roms.

Jus10o said:
Oh dang.. thats a legend rom. You might want to ask darch if he has a jit project going. Im pretty sure he has put jit on his rom, iv seen benchmarks from him i think.
And iv used my jits files on DC 2.05+ and now fresh toast which is 2.0d and 2.0d is based of the same as dc roms.
Click to expand...
Click to collapse
Ya I kinda figured as much, thanks for the help!

C:\android-sdk-windows\tools>adb shell
# dalvikvm -h
dalvikvm -h
Unrecognized option '-h'
dalvikvm: [options] class [argument ...]
dalvikvm: [options] -jar file.jar [argument ...]
The following standard options are recognized:
-classpath classpath
-Dproperty=value
-verbose:tag ('gc', 'jni', or 'class')
-ea[:<package name>... |:<class name>]
-da[:<package name>... |:<class name>]
(-enableassertions, -disableassertions)
-esa
-dsa
(-enablesystemassertions, -disablesystemassertions)
-showversion
-help
The following extended options are recognized:
-Xrunjdwp:<options>
-Xbootclasspath:bootclasspath
-Xcheck:tag (e.g. 'jni')
-XmsN (min heap, must be multiple of 1K, >= 1MB)
-XmxN (max heap, must be multiple of 1K, >= 2MB)
-XssN (stack size, >= 1KB, <= 256KB)
-Xverify:{none,remote,all}
-Xrs
-Xint (extended to accept 'ortable' and ':fast')
These are unique to Dalvik:
-Xzygote
-Xdexopt:{none,verified,all}
-Xnoquithandler
-Xjnigreflimit:N (must be multiple of 100, >= 200)
-Xjniopts:{warnonly,forcecopy}
-Xdeadlockpredict:{off,warn,err,abort}
-Xstacktracefile:<filename>
-Xgc:[no]precise
-Xgenregmap
-Xcheckdexsum
Configured with: debugger profiler hprof show_exception=1
Dalvik VM init failed (check log file)
#
this is what i got when i typed in the above command.... eh.... can someone tell me what this means to a dummy like me

Bad--Dog said:
C:\android-sdk-windows\tools>adb shell
# dalvikvm -h
dalvikvm -h
Unrecognized option '-h'
dalvikvm: [options] class [argument ...]
dalvikvm: [options] -jar file.jar [argument ...]
The following standard options are recognized:
-classpath classpath
-Dproperty=value
-verbose:tag ('gc', 'jni', or 'class')
-ea[:<package name>... |:<class name>]
-da[:<package name>... |:<class name>]
(-enableassertions, -disableassertions)
-esa
-dsa
(-enablesystemassertions, -disablesystemassertions)
-showversion
-help
The following extended options are recognized:
-Xrunjdwp:<options>
-Xbootclasspath:bootclasspath
-Xcheck:tag (e.g. 'jni')
-XmsN (min heap, must be multiple of 1K, >= 1MB)
-XmxN (max heap, must be multiple of 1K, >= 2MB)
-XssN (stack size, >= 1KB, <= 256KB)
-Xverify:{none,remote,all}
-Xrs
-Xint (extended to accept 'ortable' and ':fast')
These are unique to Dalvik:
-Xzygote
-Xdexopt:{none,verified,all}
-Xnoquithandler
-Xjnigreflimit:N (must be multiple of 100, >= 200)
-Xjniopts:{warnonly,forcecopy}
-Xdeadlockpredict:{off,warn,err,abort}
-Xstacktracefile:<filename>
-Xgc:[no]precise
-Xgenregmap
-Xcheckdexsum
Configured with: debugger profiler hprof show_exception=1
Dalvik VM init failed (check log file)
#
this is what i got when i typed in the above command.... eh.... can someone tell me what this means to a dummy like me
Click to expand...
Click to collapse
I couldnt tell you why it returned init failed..
But on the line right above it.. "Configured with: " is where it would say "with_jit".
Which yours doesnt say it. It would also display files with jit in them, which yours doesnt.

Jus10o said:
I couldnt tell you why it returned init failed..
But on the line right above it.. "Configured with: " is where it would say "with_jit".
Which yours doesnt say it. It would also display files with jit in them, which yours doesnt.
Click to expand...
Click to collapse
whoa i dont know what happened but i did a nandroid back up of this and rebooted and all apps were fc so i backup to the previous update from 4/20 and now everything is running smooth again, can i get jit running from the 4/20 update or should i try the 4/21 update again ?

Bad--Dog said:
whoa i dont know what happened but i did a nandroid back up of this and rebooted and all apps were fc so i backup to the previous update from 4/20 and now everything is running smooth again, can i get jit running from the 4/20 update or should i try the 4/21 update again ?
Click to expand...
Click to collapse
nano of what and what?
What rom are you using and trying to put jit on?
What is your nano backups of and why is the 4/20 different then 4/21?
(other then the dates, i mean what did you change)

Jus10o said:
nano of what and what?
What rom are you using and trying to put jit on?
What is your nano backups of and why is the 4/20 different then 4/21?
(other then the dates, i mean what did you change)
Click to expand...
Click to collapse
i downloaded the update zip from this thread on 4/20 it worked fine then i saw that another updat zip was uploaded a 5pm on 4/21 so i flashed that one over what i already had from the day before. it seemed to work fine but then i did a backup of the most recent flash and rebooted and after the reboot is when all hell broke loose, so i had to go back to the backup from the flash i did from the update on 4/20. im on the latest damage rom 2.0.7.2 the apps2sd worked fine and i wanted to enable jit so i wasnt sure if i had to update to the 4/21 zip to enable jit to work correctly or not

Jus10o said:
Oh dang.. thats a legend rom. You might want to ask darch if he has a jit project going. Im pretty sure he has put jit on his rom, iv seen benchmarks from him i think.
And iv used my jits files on DC 2.05+ and now fresh toast which is 2.0d and 2.0d is based of the same as dc roms.
Click to expand...
Click to collapse
DarchDroid is an aosp rom.
Roman G said:
Ya I kinda figured as much, thanks for the help!
Click to expand...
Click to collapse
I've explained like twice in my thread how to enable it i believe. You should go check in there.
http://forum.xda-developers.com/showpost.php?p=6240591&postcount=135

Related

[TUT]-PORTING-Android To The VOGUE

the title says it
after many requests here is the guide
most of this is spread around the vogue
forum here and there, i just wanted to bring it all together
goal-seeing lately we have lost some good developers, this is a shot at getting more involvement in vogue/android development
I.SETTING UP YOUR SYSTEM
1. GETTING LINUX you will need to have Linux installed on your computer(dual-boot, vm, whatever). i recommend Ubuntu karmic (9.10) because its pretty new-user friendly. It can be found at http://www.ubuntu.com/
for you windows lovers here is a guide to setting up a ubuntu VM(virtual machine (if you really didnt know ))
2. THINGS/TOOLS YOU WILL NEED download these:
original 8/8/09 ion 1.5 build HERE(we are gonna use the bin-files and the apns-conf.xml, and a few apps)
the latest rootfs.img (find it)
these android tools (included are genext2fs (android version), split_bootimg.pl, and extract_ramdisk.sh)
after downloading, extract the zip to a folder. open a terminal and cd to the dir of the tools. click applications>accesories>terminal and type:
Code:
cd ~/whatever/
sudo rm -rf /bin/genext2fs
#dont type whats after the pound signs
#type in your password
#if you havent set up a su password yet type:
sudo passwd
#then make one, next
sudo cp -r ./whatever/genext2fs /bin/
squashfs-tools (if you have ubuntu 9.10-karmic first you will have to uninstall squashfs-tools 4.0(4.0 WILL NOT NOT NOT NOT NOT WORK) that is installed during the installation of linux ): go to system>administration>synaptic package manager. type squashfs-tools in the quick search, then right click and click mark for complete removal. then hit apply. then download and install this here http://http://ftp.us.debian.org/debian/pool/main/s/squashfs/squashfs-tools_3.3-7_i386.deb
i also strongly recommend downloading the sdk-tools v1.1(adb is almost essential when porting, for debugging purposes) enatefox has it posted on his media fire. (search for it)
3. ORGANIZATION
now that we have what we need. lets get organized.
a.mount points
we are going to use mount points while porting.
terminal:
Code:
sudo mkdir /mnt/rootfs
sudo mkdir /mnt/system
#i also have one for mounting data files
mkdir /mnt/data
b. directories
terminal:
Code:
mkdir ~/Desktop/android
mkdir ~/Desktop/android/ion
mkdir ~/Desktop/android/donut
#you get the point...
now put the ion 8/8/09 build in the ~/Desktop/android/ion folder and rename it system.sqsh then
terminal:
Code:
cd ~/Desktop/android/ion
unsquashfs ./system.sqsh
you should now have a folder called squashfs-root in the ion directory. it contains all the guts from the ion build. feel free to look around in that folder as you should get familiar with the folders and things in there
II PORTING
1. PORTING A HERO ROM(this was in zens how-to-make-a-hero-rom.txt im just adding on to it)
a. Download a rom from the dream/sapphire development forums.
b. Extract what you downloaded to ~/Desktop/android/hero. It is usually an update.zip.
c. Open the extracted folder. Inside you should see a data directory and a system directory.
d. Open the data directory and look for an app or app_s folder.
e. Open those folders and copy the apks to the system/app/ folder. Leave out what you don't need. feel free to add any custom apps. as long as they are from the same sdk number. ie 1.5, 1.6, 2.0.1, 2.1 most are pretty cross-compatible though.
f. Delete system/xbin from the rom your porting and replace it with the one from Ion.
g. Copy ~/Desktop/android/ion/squashfs-root/etc/apns-conf.xml from Ion to ~/Desktop/android/hero/system/etc/
h. Mount the latest rootfs.img
terminal:
Code:
sudo mount ~/whereever/rootfs.img -o loop /mnt/rootfs
i. Copy libaudio.so libaudioflinger.so libcameraservice.so libgps.so from /lib in the mounted rootfs over to system/lib in the rom you are porting*(donut and eclair really dont need this step because those files are in most of the latest rootfs.img's but be sure to check)
j. Edit the system/build.prop or even use the Ion build.prop.*(for donut/eclair you may want to edit the lcd density to 120 or 110 in the build.prop for qvga and 160 for 320x480)
k. Create a blank file in system/ called hero.build*(for eclair/donut create donut.build or eclair.build or eclairhero.build.....etc)
*l. for hero any systems too big to run on nand, here is a script to make a data file. put this in the ~/Desktop/android/hero directory. cut the app folder from ~/Desktop/android/hero/system and paste it to ~/Desktop/android/hero , and rename it too app_s . next run the mkdataimg.sh it should ask for you password in a terminal. type it in and then it should mount the data.img to data-mnt folder in ~/Desktop/android/hero . keep that terminal open copy the app_s folder in to data-mnt. then type y in the terminal to unmount the data.img. next:
terminal:
Code:
cd ~/Desktop/android/hero
ln -s /data/app_s ./system/app
that should make a broken symlink in system
2. Mount it and squash it
ok now that we are done porting lets put it together
terminal:
Code:
cd ~/Desktop/android/hero
genext2fs -d ./system -b 180000 -a system.ext2
sudo mount -o loop ./system.ext2 /mnt/system
sudo mksquashfs /mnt/system system.sqsh
sudo chown $USER ./system.sqsh
#and if you want
rm -rf ./system.ext2
from zenulator:
There are other little tweaks here and there but thats basically it. Now you can roll your own.
Click to expand...
Click to collapse
im gonna clean this up a bit later just wanted to get this out to you guys
nice thanks jamezelle
zen's manup456-based Eclair build contains different libaudio.so & libaudioflinger.so than the rootfs, and Eclair wouldn't boot if I replaced them with the libs from the rootfs. This might be due to the rootfs libs not being updated for Eclair yet (also why voice search/dial doesn't work) but I'm not sure. I don't know if this will be the case for 2.1, just wanted to add that in.
I really appreciate the guide and look forward to hearing more. I've learned a lot from zen as well but a lot of the work the devs do is so hard to follow because it's undocumented.
Do you know why the xbin has to be from Ion? Is it because of our kernel version or the squashfs ver that our kernel contains? I've been wanting to grab some of the tools from the xbin of other builds but have been unsure about compatibility.
Also, for more advanced Android ROM building, I'd like to add a link to zipalign optimization.
polyrhythmic said:
zen's manup456-based Eclair build contains different libaudio.so & libaudioflinger.so than the rootfs, and Eclair wouldn't boot if I replaced them with the libs from the rootfs. This might be due to the rootfs libs not being updated for Eclair yet (also why voice search/dial doesn't work) but I'm not sure. I don't know if this will be the case for 2.1, just wanted to add that in.
I really appreciate the guide and look forward to hearing more. I've learned a lot from zen as well but a lot of the work the devs do is so hard to follow because it's undocumented.
Do you know why the xbin has to be from Ion? Is it because of our kernel version or the squashfs ver that our kernel contains? I've been wanting to grab some of the tools from the xbin of other builds but have been unsure about compatibility.
Also, for more advanced Android ROM building, I'd like to add a link to zipalign optimization.
Click to expand...
Click to collapse
we need to move back to a more standardized comunity rootfs.img. i'm seeing more and more different rootfs.imgs that vary little by little. it is kind of hard to really document all of the development. but i see your point. the xbin(are just eXtended bin files) doesnt have to come from ion. the xbin in ion is actually empty
yes our kernel doesnt support LZMA compression which is what 4.0 uses. more info on it here http://www.squashfs-lzma.org/ i dont know why out kernel has not been updated to support it(you would have to ask DZO), i just know is isnt supported
thanks for the link to zipalign. i usually zipalign my apps. btw most dream and sapphire devs are already zipaligning there apks so we dont have to
I agree, I don't like forking the rootfs but the latest ones don't contain the correct WiFi files & settings for Kaiser. I know our kernel is way behind, I've asked several questions in the kernel thread about it but then the thread goes OT and I've never gotten an answer to most of the questions. Newbie16 has been compiling kernels but we've had trouble finding all the updated source files.
Oh, the PNG optimization in the zipalign thread is useful also, I easily saved 5 MB in the Eclair build.
The 8/8 file is a .img file, not .sqsh. Terminal tells me it can't find a sqash superblock on the file, or something to that extent.
EDIT: also missing a step that seems crucial... re squashing the files to make a .sqsh file to use?
ln -s help. hero nand porting
When ever I'm trying to port a hero build to nand ln -s gives me "operation not permitted" during boot. I used -a during genext2fs. Also data didn't work, even though I have the right apns-conif.xml. any idea? I was trying to port hero revolution (I think thats it ). Thanx
TheKartus said:
The 8/8 file is a .img file, not .sqsh. Terminal tells me it can't find a sqash superblock on the file, or something to that extent.
EDIT: also missing a step that seems crucial... re squashing the files to make a .sqsh file to use?
Click to expand...
Click to collapse
i fixed(add the missing steps) it but i dont have a copy of 8/8 ion personally. any ion system.sqsh build will work. if anyone has one please post it!
TheKartus said:
The 8/8 file is a .img file, not .sqsh. Terminal tells me it can't find a sqash superblock on the file, or something to that extent.
EDIT: also missing a step that seems crucial... re squashing the files to make a .sqsh file to use?
Click to expand...
Click to collapse
jamezelle said:
i fixed(add the missing steps) it but i dont have a copy of 8/8 ion personally. any ion system.sqsh build will work. if anyone has one please post it!
Click to expand...
Click to collapse
i just mounted the system.img and copied all the files to a new folder....that way then u dont have to mount the system.img everytime u are porting a rom
my steps to do that
[email protected]:~# cd Android
[email protected]:~/Android# dir
hi Inferno sensehero13 SenseHERO-v1.4_NoTheme senshero
signed-Hero_Inferno_Final signed-Hero_Inferno_Final.zip
system-2009-08-08.img system-sensehero-20091009.sqsh
TOOLS
ZipAlign.sh
[email protected]:~/Android# mkdir ion
[email protected]:~/Android# mount -o loop system-2009-08-08.img ion
[email protected]:~/Android#
Could someone please define...
Could someone please define rootfs, zIMage and the other parts that go into an Android build? If you're going from say, donut, to eclair, which ones can you reuse? I think I understand that the system.sqsh is what makes a build donut or eclair and actually is the file that has the customizations in it. But, what do the other parts do? If this is the wrong place to post this, mods, please move this. Thanks.
Sally
Hey guys, don't know if anyone else is having this issue or not.
I'm trying to work with the Topaz kernals...I downloaded the XDAndroid 2.1 system.sqsh and was able to unsquashfs it fine on my Vector Linux box...but I want to do the same to the TopazKernal16 system.sqsh (donut) but when I run unsquashfs it makes it to about 70% (highest I got to was 80% on one try) and then stops saying "killed".
any way to remedy this? also, what is the simplest way to "re"squash it?
Thanks!
iceman198 said:
Hey guys, don't know if anyone else is having this issue or not.
I'm trying to work with the Topaz kernals...I downloaded the XDAndroid 2.1 system.sqsh and was able to unsquashfs it fine on my Vector Linux box...but I want to do the same to the TopazKernal16 system.sqsh (donut) but when I run unsquashfs it makes it to about 70% (highest I got to was 80% on one try) and then stops saying "killed".
any way to remedy this? also, what is the simplest way to "re"squash it?
Thanks!
Click to expand...
Click to collapse
You just posted in the wrong forum altogether. This section is for the Vogue, not for the Topaz. Try to ask there on in one of the xdandroid threads. This project is different from xdandroid. Thanks.
egzthunder1 said:
You just posted in the wrong forum altogether. This section is for the Vogue, not for the Topaz. Try to ask there on in one of the xdandroid threads. This project is different from xdandroid. Thanks.
Click to expand...
Click to collapse
Sorry, thanks...
iceman198 said:
Sorry, thanks...
Click to expand...
Click to collapse
No prob
I would be interested in the Android's filesystem breakdown. Just some guide on what exactly is in the system, and then rootfs.img and then the modules. If someone could point me in the right direction, that would be much appreciated!
Thanks!
iceman198 said:
I would be interested in the Android's filesystem breakdown. Just some guide on what exactly is in the system, and then rootfs.img and then the modules. If someone could point me in the right direction, that would be much appreciated!
Thanks!
Click to expand...
Click to collapse
pm dzo, he will probably be able to help you there.
egzthunder1 said:
pm dzo, he will probably be able to help you there.
Click to expand...
Click to collapse
Thanks egzthunder1!
iceman198 said:
Thanks egzthunder1!
Click to expand...
Click to collapse
Not a problem. Good luck!

Just installed 2.1

I just rooted my Sprint Hero and used the 2.1 rom. I love it except i was wondering if anyone has the same trouble i am.
1- when making a call...proximity error and i have to hit the back key to get the phone screen.
2- not saving new contacts to my gmail account but will save under the phone.
3- my temp one the clock widget and weather widget for some reason is about 30 degrees off
on a side note. I am good with following directions. so rooting the phone wasnt bad.
i would like to understand what the hell i was typing in for commands and what each was doing. im kinda nervous now to install anything else because of this.
ive been on these boards all day, and have done my fair share of searching. modding this phone has been harder to do than my iphone and pre when they first came out.
Which commands did you type. If you share them, I will translate what it actually did.
well, don't expect to have a working ROM that's 2.1 for now even. the problem is, most people come into the forum and just install 2.1 cause they get excited and don't realize that its a beta. its not final. if you want a real working ROM, just use 1.5 for now and add modaco's custom kernel to make it go faster.
Also stlsinger, please tell me you didn't flash with this ROM. Because that ROM is for the G1, NOT the Hero...
gu1dry said:
Which commands did you type. If you share them, I will translate what it actually did.
Click to expand...
Click to collapse
I used all of them from this link
http://forum.xda-developers.com/showthread.php?t=583291
if you could explain that way since they are numbered, that would be alot of help.
and do i backup every time before i install a new one and save that nandroid foler each time? will this enable me to go back to each time before and reinstall whats in the folder?
so if i install 1.5. i wipe and install that. then how do you install a custom kernel.
i know im asking alot of noob questions. please be patient with me. i just want a deeper explination to doing these things.
Thanks for the quick respons guys.
gu1dry said:
Also stlsinger, please tell me you didn't flash with this ROM. Because that ROM is for the G1, NOT the Hero...
Click to expand...
Click to collapse
haha, no. but i would have if i didnt do alot of searching. i only found two versions of 2.1 at first. then i looked a little further and found my phone was cdma. typical noob. Ill catch on sooner or later, haha!
stlsinger said:
I used all of them from this link
http://forum.xda-developers.com/showthread.php?t=583291
if you could explain that way since they are numbered, that would be alot of help.
and do i backup every time before i install a new one and save that nandroid foler each time? will this enable me to go back to each time before and reinstall whats in the folder?
so if i install 1.5. i wipe and install that. then how do you install a custom kernel.
i know im asking alot of noob questions. please be patient with me. i just want a deeper explination to doing these things.
Thanks for the quick respons guys.
Click to expand...
Click to collapse
check out the ROM wiki that's stickied. but for beginners, you might just wanna go with fresh 1.1 or modaco's 2.2 custom rom. if you install modaco's rom, you'll automatically get the custom kernel with all the enhancements like compcache, etc.
if you go fresh 1.1, which is what i use, you should download the update.zip of the custom kernel (also in the rom wiki), and apply that as an update.zip
either way, if you want to enable compcache, you'll have to use adb pull /system/init.db/compcache.sh and uncomment(remove the '#'s) from the scripts. or you can just do it from a file explorer like ES.
you said something about your weather being off? maybe, just maybe its in celsius, not Fahrenheit. as for the proximity sensor, its a app that trys to copy the proximity sensor using the light sensor I think.. Mine didnt work either lol. And I agree, go to fresh, modaco, or ttg with the 1.2 modaco kernel.
1:
Code:
cd C:\android-sdk-windows\tools
Click to expand...
Click to collapse
"cd" means change directory, so all you did here was changed where you were.
2:
Code:
adb devices
Click to expand...
Click to collapse
"adb" is telling your computer to communicate to your android phone.
"devices" just tells us what's connected.
3:
Code:
adb push asroot2 /data/local/
Click to expand...
Click to collapse
"push" means move from the computer to the phone.
So in this command you copied asroot2 from your computer to /data/local/ on your phone.
4:
Code:
adb shell
Click to expand...
Click to collapse
"shell" allows you to run Linux commands on the phone.
5:
Code:
chmod 0755 /data/local/asroot2
Click to expand...
Click to collapse
"chmod" stands for change mode. In essence your changing the permissions.
The four numbers following, means which class. First number being "all", second number being "user", third number being "group" & the last number being "other".
The actual number corresponds to what permissions that class has.
0: being no access
1: being execute, but no write or read access
2: being write, but no read or execute
3: being execute & write, but no read
4: being read, but no execute or write
5: being execute & read, but no write
6: being read & write, but no execute
7: being read, write & execute (aka full access)​So what you did there was provide no access to "all", full access to "user", execute & read access to "group" & "other".
6:
Code:
/data/local/asroot2 /system/bin/sh
Click to expand...
Click to collapse
Not really sure here.
7:
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
Click to expand...
Click to collapse
"mount" tells the computer to that the partition is ready to be accessed.
"remount" tells the computer to remount the partition.
"rw" as in read & write.
/dev/block/mtdblock3 being the partition that is being mounted.
8:
Code:
cd /system/bin
Click to expand...
Click to collapse
Changing directory to /system/bin on the phone.
9:
Code:
cat sh > su
Click to expand...
Click to collapse
This is what "cat" does.
10:
Code:
chmod 4755 su
Click to expand...
Click to collapse
Changing mode/permission of "su" to, read only to "all", full access to "user", execute & read access to "group" & "other".
11:
Code:
exit
Click to expand...
Click to collapse
"exit" terminates the program or shell.
12:
Code:
exit
Click to expand...
Click to collapse
13:
Code:
adb push recovery-RA-heroc-v1.5.2.img /sdcard
Click to expand...
Click to collapse
Your "pushing" recovery-RA-heroc-v1.5.2.img from the computer to /sdcard on the phone.
14:
Code:
adb shell reboot
Click to expand...
Click to collapse
Your telling the phone to reboot.
15:
Code:
adb shell
Click to expand...
Click to collapse
Going back into the shell.
16:
Code:
su
Click to expand...
Click to collapse
"su" tells the computer to running the following commands as the root user.
17:
Code:
cd /sdcard/
Click to expand...
Click to collapse
Changing directory to /sdcard/ on the phone.
18:
Code:
flash_image recovery recovery-RA-heroc-v1.5.2.img
Click to expand...
Click to collapse
"flash-image" means we are flashing/replacing an image.
The second item is which image.
The third item is what image is replacing the aforementioned image.
So here we are flashing/replacing the recovery.img with recovery-RA-heroc-v1.5.2.img.
19:
Code:
reboot recovery
Click to expand...
Click to collapse
We are rebooting the phone into the recovery image.
justinisyoung said:
check out the ROM wiki that's stickied. but for beginners, you might just wanna go with fresh 1.1 or modaco's 2.2 custom rom. if you install modaco's rom, you'll automatically get the custom kernel with all the enhancements like compcache, etc.
if you go fresh 1.1, which is what i use, you should download the update.zip of the custom kernel (also in the rom wiki), and apply that as an update.zip
either way, if you want to enable compcache, you'll have to use adb pull /system/init.db/compcache.sh and uncomment(remove the '#'s) from the scripts. or you can just do it from a file explorer like ES.
Click to expand...
Click to collapse
I just enabled compcache by removing all of the # using es file explorer, just curious what this does ?
It compresses an area of RAM and uses it as cache.
Com(pressed)cache
sweet glad I did that thanks
"chmod" stands for change mode. In essence your changing the permissions.
The four numbers following, means which class. First number being "all", second number being "user", third number being "group" & the last number being "other".
The actual number corresponds to what permissions that class has.
0: being no access
1: being execute, but no write or read access
2: being write, but no read or execute
3: being execute & write, but no read
4: being read, but no execute or write
5: being execute & read, but no write
6: being read & write, but no execute
7: being read, write & execute (aka full access)​So what you did there was provide no access to "all", full access to "user", execute & read access to "group" & "other".
Click to expand...
Click to collapse
Almost right but not quite. In the chmod 0755 notation the first digit is for setuid, setgid, or stickybit, the second is for user, the third for group, the fourth for world. There is no other. You could use chmod 755 and have the same effect. The numbers are literally right but the actual permissions are additions.
Octal notation
Another common method for representing Unix permissions is octal notation. Octal notation consists of a three- or four-digit base-8 value.
With three-digit octal notation, each numeral represents a different component of the permission set: user class, group class, and "others" class respectively.
Each of these digits is the sum of its component bits (see also Binary numeral system). As a result, specific bits add to the sum as it is represented by a numeral:
The read bit adds 4 to its total (in binary 100),
The write bit adds 2 to its total (in binary 010), and
The execute bit adds 1 to its total (in binary 001).
So read/write is 4+2 which equals 6
Read/write/execute is 4+2+1 which equals 7
I know it's pedantic but 6 and 7 don't actually mean r/w and r/w/x by themselves. They are additions of the distinct permission states.
So what he did was grant the following
0755
0 = No setuid, no setgid, no stickybit
7 = Read/Write/Execute (4+2+1) for the UID (user) that owns the file
5 = Read/Execute (4+1) for the GID (group) that owns the file
5 = Read/Execute (4+1) for anyone who can access the file at all (world)
Other, World, Everyone; they mean exactly the same. Just different terminology for the same thing.
In OS X, which is FreeBSD based, X00 is defined as system (root), 0X0 is defined as admin & 00X is defined as everyone. Like I said before differnt terms for the same thing.
gu1dry said:
Other, World, Everyone; they mean exactly the same. Just different terminology for the same thing.
In OS X, which is FreeBSD based, X00 is defined as system (root), 0X0 is defined as admin & 00X is defined as everyone. Like I said before differnt terms for the same thing.
Click to expand...
Click to collapse
I was mostly referring to the first number which in the post was listed as "all"
"...provided no access too all" which is incorrect. There are only three digits for user/group/(other,all,world) and you are correct that they mean the same thing. However 0755 is the exact same as 755 and the 0 is not "all" it is used for setuid, setgid, and the sticky bit. To get technical "all" is not the same on a Linux based system. "All" refers to the combination of user/group/other so chmod a+rw is the same as chmod 666 as "a" is "all" and changes the permissions of all the pieces of the triplet.
justinisyoung said:
check out the ROM wiki that's stickied. but for beginners, you might just wanna go with fresh 1.1 or modaco's 2.2 custom rom. if you install modaco's rom, you'll automatically get the custom kernel with all the enhancements like compcache, etc.
if you go fresh 1.1, which is what i use, you should download the update.zip of the custom kernel (also in the rom wiki), and apply that as an update.zip
either way, if you want to enable compcache, you'll have to use adb pull /system/init.db/compcache.sh and uncomment(remove the '#'s) from the scripts. or you can just do it from a file explorer like ES.
Click to expand...
Click to collapse
Which custom kernel are you suggesting be installed? All I see is the one from Modoco..which is said to be for his rom, will it work for fresh also?
romeosidvicious said:
I was mostly referring to the first number which in the post was listed as "all"
"...provided no access too all" which is incorrect. There are only three digits for user/group/(other,all,world) and you are correct that they mean the same thing. However 0755 is the exact same as 755 and the 0 is not "all" it is used for setuid, setgid, and the sticky bit. To get technical "all" is not the same on a Linux based system. "All" refers to the combination of user/group/other so chmod a+rw is the same as chmod 666 as "a" is "all" and changes the permissions of all the pieces of the triplet.
Click to expand...
Click to collapse
Ok, I think there was a just misinterpretation on my end on your original post.
I'm not too familiar with the first digit on a the four digit expression & I got my info on that digit from Wikipedia. So I have a question on this since I'm a little confused, what does "setuid", "setgid" & "the sticky bit" actually do?
laramiebates said:
Which custom kernel are you suggesting be installed? All I see is the one from Modoco..which is said to be for his rom, will it work for fresh also?
Click to expand...
Click to collapse
He is suggesting MoDaCo's custom kernel be installed. The MoDaCo kernel works with Fresh 1.1, at least for me. Note that I did NOT have to Wipe Data before I installed it.
mrinehart93 said:
He is suggesting MoDaCo's custom kernel be installed. The MoDaCo kernel works with Fresh 1.1, at least for me. Note that I did NOT have to Wipe Data before I installed it.
Click to expand...
Click to collapse
Thank you. Worked great and no wipe required here either.
stlsinger said:
3- my temp one the clock widget and weather widget for some reason is about 30 degrees off
Click to expand...
Click to collapse
Celcius maybe?? Whats the conversion rate on that? lol I was never any good with math...bad career path I chose

(for tereg) NoRecovery custom recovery

Hi tereg,
[SIZE=-1](If you are not tereg, you can stop reading this. I didn't PM because I needed to ship an attachment)[/SIZE]
Have a look at the attached (custom) recovery (pick it apart and diff it against the leak-V3/RUU recovery.img) using split_bootimg.pl and the gunzip | cpio pipeline.
You can flash it to your recovery partition and run it if you like, it doesn't do anything dangerous. Basically, it is the same thing as the Leak-V3(=RUU = OTA-2.1) recovery, with two major changes:
- /sbin/recovery service is turned off so this doesn't run automatically (and as a result you won't see the splash screen change from the 3 skating droids). You can run it manually, though, from the adb shell - just wait 8-10 seconds and adbd will come up.
- I added the shell (sh) and a few of the diagnostic tools (dmesg, dumpstate, logcat... and supporting dynamic link libraries, the linker, etc), and dropped in there both /system/bin/toolbox (HTC) and /system/xbin/busybox and created some of the symlinks so that an adb shell has a useful set of tools available. (Oh yeah, I added an /etc/fstab as a convenience for /system/xbin/mount. Note the system mtd partition mounts at /os-system so it won't cover up all the installed tools underneath /system in the boot image)
- I altered the init.rc (and default.prop) so that adbd will always come alive - not just when a race is won.
The base of this image (kernel, bootscripts, /sbin), is the leak-V3 recovery.img; everything else such as dynamicly linked executables and supporting dynamic libraries comes from Jcase's Plain Jane, which in turn comes from Leak-V3/OTA/RUU, so, essentially everything in this bootable recovery comes from HTC except the version of busybox in /system/xbin and mods to the init scripts and default.prop
Note that the NAND flash partition in the mtd device for the recovery is only something like 5.2 MB - I would have added more, but was starting to get tight on space.
If you want it to run as close as possible to the timing of the HTC leak-V3 recovery.img, what I would do would be the following:
- defer all the symlinking in init.rc (except for the "sh" and "ln", of course) and package that up into a shell script that you can run after the recovery has booted
- uncomment (re-enable) the "recovery" service (/sbin/recovery)
- maybe experiment and see if you can get the complete kernel boot sequence from dmesg without starting logcat as the first service (that's not done in the normal recovery).
The only other useful piece of info that I can think of at the moment is that you need to use the ---base option with mkbootimg with an address that starts with something like 0x11208000..... (I can't recall and my machine is down - crap.) You can discover the value of the kernel base address load offset for the Eris by snooping through a hexdump of the beginning of any valid Eris bootable image
cheers
bftb0
MD5s
5801babcdf4e6e5d51e5f775aad0a09e ErisNoRecovery-recovery-v0.9.0.img.zip
4d280b367be75e7e75563a6357575ea7 ErisNoRecovery-recovery-v0.9.0.img
Sent via my nearly dead crap Pentium II booted from a 2003 version of Knoppix - 256 megs of EDO RAM - woot!
Sorry, here's the attachment
I read it anyway.
Suck it.
Hungry Man said:
I read it anyway.
Suck it.
Click to expand...
Click to collapse
Same Here Brosidon,
Well, actually i attempted to read it. Then I got confused and went and got some beef jerkey.
mmm beef jerky. i read it to maybe there will be a fresh recovery menu for the eris.
i read somones got beef jerkey and not sharing *waves fist* four messin up kid
j/k
it would be nice if we got an updated recovery. especially now learning that we won't need/be able to format our sdcards using FroYo.
Actually, I don't mind if anybody reads or uses that - it just gets me off the hook when somone asks
"But what is this for?"
Now someone will ask, LOL
bftb0
bftb0 said:
Actually, I don't mind if anybody reads or uses that - it just gets me off the hook when somone asks
"But what is this for?"
Now someone will ask, LOL
bftb0
Click to expand...
Click to collapse
but what is this for??? can i root my eris 2.1 v3 leak??? can it make pizza out of code? jk jk lol,
Thank you, I got it now.
I will definitely be experimenting with this. I'll let you know if I have further questions.
Tereg, I'll be online tonight and can help with testing.

Debian working niceley on Desire.

Debian for Desire.
If you are able to try this on another android device, please do as I will be very interested in the results.
Download
http://www.multiupload.com/79TSI1AAF9
You will need.
-Root access.
-Busybox (included in most custom roms)
-1.4gig free on SDCARD
-VNC Client (ie. AndroidVNC)
-Terminal Emulator (ie. ConnectBot)
-7zip
Instructions
-Extract the file deSIREbian.7z on your PC using 7zip.
-Copy the contents (debian.img and deboot) to root directory of SDCARD.
-On your phone in terminal emulator type
su
sh /sdcard/deboot
Click to expand...
Click to collapse
You should get a blank screen showing "localhost:/#" after a couple of seconds.
-On your phone in your VNC client log in using these details
Password - password
Port - 5901
Click to expand...
Click to collapse
Nickname and Address are not needed, call it what you want though.
Changing the colour to 24bit and enabling local mouse pointer and full screen bit map are not neccesary but reccomended.
-Thats it.
Notes.
-You can log in via ssh, (gives a much better terminal, ie works properly with aptitude). Use [email protected] and password "toor"
-The version of Debian is Armel Lenny, installed using debootstrap.
-It is just the base package with LXDE on top, you only get a desktop, a file browser, an internet browser, and a pic viewer.
-If you want more packages there's tonnes of room on the image. eg apt-get install openoffice.org or apt-get install abiword or apt-get install any flipping thing u want
-You can access the SDCARD from Debian at "root/sdcard" (read-write)
-You can access Debian filesystem from Android (When Debian is running) at "sdcard/debian" (read only)
-debian.img is mounted at "sdcard/debian" using "dev/block/loop5"
-So far the only rom i have come accross that this dont work with is one of the cyanogen nightlies from last week. apart from that, working on opendesire, cyanogen, defrost, leedroid, official 2.2 with busybox...
Issues.
Debian cannot be shut down. You need to reboot the phone to do this. (You can kill the VNC server with "vncserver -kill :1" there is an icon on the festoons to do this.)
Update log.
deSIREbain.
-First release.
deSIREbain2
Fixed
-Loading a second terminal no longer breaks vnc.
-You no longer need to create the folder debian on sdcard.
Added
-ssh server (login with root and toor)
Removed.
-The image has been downsized from 2 gig to 1.4
Hey,
thank you for your work, i will test it so far and will tell you the results
got this error:
Code:
# su
su
# sh /sdcard/deboot
sh /sdcard/deboot
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
mount: mounting /sdcard on /sdcard/debian/root/sdcard failed: No such file or di
rectory
net.ipv4.ip_forward = 1
chroot: can't change root directory to /sdcard/debian: No such file or directory
#
If you have the same problems try out
su
mkdir /sdcard/debian
losetup /dev/block/loop3 /sdcard/debian.img
mount -t ext2 /dev/block/loop3 /sdcard/debian
ls /sdcard/debian
thx to mercianary for help
greetings
I found this guide quite helpful at getting a bootstrapped Debian setup running.
http://www.saurik.com/id/10
I didn't need to insert the ext2 module as it's already loaded for me, I guess G1s didn't have that convenience back then.
blackstoneuser5 said:
I found this guide quite helpful at getting a bootstrapped Debian setup running.
www . saurik.com/id/10
I didn't need to insert the ext2 module as it's already loaded for me, I guess G1s didn't have that convenience back then.
Click to expand...
Click to collapse
I used parts of this for reference too. Its a great guide, explains things really well.
i've just updated this. link is in the first post.
Fixed
-Loading a second terminal no longer breaks vnc.
-You no longer need to create the folder debian on sdcard.
Added
-ssh server (login with root and toor)
Removed.
-The image has been downsized from 2 gig to 1.4
debian for desire--help please
hi
I spent much time for searching debian or ubuntu for desire, but nothin worked
know i found this and i have download everything and start to install over the terminal
but the " sh /sdcard/deboot" is not workin to
there's only this answer:
# su
su
# sh /sdcard/deboot
sh /sdcard/deboot
[: not found
losetup: not found
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
busybox: not found
sysctl: not found
chroot: not found
may somebody help me?
i really want to have it on the desire
thanks
It looks like you had not installed busybox
Which ROM do you use ?
oh i'm sorry
i'm a newbie and don't really know what a rom is
but i had problems with busybox and there was a somebody who said i can get the app titanium and let it install the busybox
could you please show me a tut how to install busybox
maybe a german tut
thanks
Getting error at: sh /sdcard/deboot
line 5: syntax error near unexpected token `else'
Rosi1337 said:
Getting error at: sh /sdcard/deboot
line 5: syntax error near unexpected token `else'
Click to expand...
Click to collapse
dont know why that happened.. works on mine. syntax looks ok to me.
try with this one (attatched), it's the same but without the bit that's not working for you.
what rom are you using, i shall try to replicate the error so I can try to fix properly.
thepuechen said:
could you please show me a tut how to install busybox
maybe a german tut
thanks
Click to expand...
Click to collapse
There should be a guide on installing busybox somewhere if you want to search for it, i know i remember seeing one a while ago.
Too be honest, your better off just flashing a rom that includes busybox, it would be MUCH easier.
have a look here and see what takes your fancy, I would recomend defrost, because it is stable and easy to overclock.
Thanks mercianary,
It works fine!,
I use customised DeFroST_0.9b_uvonly with USB-host patch.
By the way I would like to add more options to kernel line.
Where can I find like a menu.lst file ? or How to add it to kernel line.
There is no /dev/graphics/* in running Debian console.
I would like to use FrameBuffer on running Debian.
thanks,
Android VNC won't connect Trying to get a handshake, but then says that VNC connection failed
please paste at that time log
jacobtc said:
Android VNC won't connect Trying to get a handshake, but then says that VNC connection failed
Click to expand...
Click to collapse
Please paste at that time log.
Maybe vnc server does not running.
tknv said:
Thanks mercianary,
It works fine!,
I use customised DeFroST_0.9b_uvonly with USB-host patch.
By the way I would like to add more options to kernel line.
Where can I find like a menu.lst file ? or How to add it to kernel line.
There is no /dev/graphics/* in running Debian console.
I would like to use FrameBuffer on running Debian.
thanks,
Click to expand...
Click to collapse
You should understand that this is not a really booted native linux. Instead you are working in a chroot environment. So there is no kernel running that can get parameters. Only the the stock kernel of your DeFroST. Also there is no FrameBuffer as the graphic hardware ist not accessible. Instead this approach uses a vnc-server to which you can connect via a local viewer.
The advantage of this approach is clear:
- run almost any linux package available in the debian repository
- use your phone as before with the nice android
The disadvantage:
- no graphic output, so no 3D-games (which are rare under linux on the arm platform ;-)
- you can crash your android by eating up to much ram (not such a problem - it restarts on its own and if not you just have to reboot)
Thread is dead?
It seems this thread is dead. The problems many users seem to have come from a dirty setup. The image is broken in many terms:
- wrong file permissions on important binaries, like su
- wrong file permissions on many device files under /dev, so the ttys are only accessible by root
- wrong permissions on other places so there are always errors when installing additonal software (e.g. with the man pages)
- wrong setup that uses the root user for the desktop - instead an unprivileged user should be used
- missing packages for timezones and locales so the time is only right, if you are in a UTC region and console programs having trouble displaying anything else then plain english
I can not recommend using this setup image. It is better to use one of the instructions available online to get a clean setup.
Su doesn't work because your allready root.
Getting anything but root to work would be a real pain.
As you said its a chroot environment, its never going to be perfect.
The image was made using debootstrap just like all the other 'clean' ones.
Yep, it is broken as hell, but it works for what most people would need it for...make,gcc,python,a proper web browser,torrents, and some emergency word processing on the train to work.
The problem most people have is not being able to mount the image, this is due to fro-yo a2sd taking up all the loop devices.
Just thought I'd add my 2 cents.
I tried this on a MIUI rom and the scripy didnt do anything - ie i ran it using:
"# sh /sdcard/deboot"
.....and all it said was:
"#"
I entered all the lines in the shell script but the last one said it failed to launch VLC and no commands registered property (not even ls)
So i tried it on Defrost 5.1, and the script still didn't work.
But when i entered everything manually, it did work. Not too sure about the green theme though.
But thanks alot! Saves me spending a few hours trying to coax a working debootstrap out of my computer.
Thanks!
Josh.
mercianary said:
Su doesn't work because your allready root.
Click to expand...
Click to collapse
Nope. Actually su works only for root. It's missing the setuid root flag like all other binaries that should have it set.
mercianary said:
Getting anything but root to work would be a real pain.
Click to expand...
Click to collapse
Nope. I am always working as a normal, unprivileged user in my chroot. You just have to be in the proper groups. No need to work as root. Android works also with an unprivileged user.
mercianary said:
As you said its a chroot environment, its never going to be perfect.
The image was made using debootstrap just like all the other 'clean' ones.
Yep, it is broken as hell, but it works for what most people would need it for...make,gcc,python,a proper web browser,torrents, and some emergency word processing on the train to work.
Click to expand...
Click to collapse
This is what I do not understand. There is no need that it is broken, as mine works without any errors. So I think something went wrong in creating yours. For sure a chroot is no running OS but you can server almost any service with it and run anything you want (if your ram does not get exhausted ;-).
mercianary said:
The problem most people have is not being able to mount the image, this is due to fro-yo a2sd taking up all the loop devices.
Click to expand...
Click to collapse
Yes. Everyone with a good rom should have a2sd+ (aka the old a2sd) which saves more space than the froyo one and leaves your loop devices for you.
jo

OpenOffice on Webtop

I've done the webtop2sd, webtopfix, and installed xfce4 via synaptic. Today I tried to install openoffice from synaptic (along with it's recommended dependencies and extras). I got the following error, which now happens on every package install:
Code:
Setting up openoffice.org-emailmerge (1:3.0.1-9ubuntu3.3) ...
Adding extension /usr/lib/openoffice/basis3.0/program/mailmerge.py...BusyBox v1.10.2 (2010-10-25 17:12:51 PDT) multi-call binary
Usage: mktemp [-dt] [-p DIR] TEMPLATE
Create a temporary file with its name based on TEMPLATE.
TEMPLATE is any name with six 'Xs' (i.e., /tmp/temp.XXXXXX).
Options:
-d Make a directory instead of a file
-t Generate a path rooted in temporary directory
-p DIR Use DIR as a temporary directory (implies -t)
For -t or -p, directory is chosen as follows:
$TMPDIR if set, else -p DIR, else /tmp
dpkg: error processing openoffice.org-emailmerge (--configure):
subprocess post-installation script returned error exit status 1
Setting up openoffice.org-writer2latex (0.5-8ubuntu1) ...
Adding extension /usr/lib/openoffice/share/extension/install/writer2latex.uno.pkg...BusyBox v1.10.2 (2010-10-25 17:12:51 PDT) multi-call binary
Usage: mktemp [-dt] [-p DIR] TEMPLATE
Create a temporary file with its name based on TEMPLATE.
TEMPLATE is any name with six 'Xs' (i.e., /tmp/temp.XXXXXX).
Options:
-d Make a directory instead of a file
-t Generate a path rooted in temporary directory
-p DIR Use DIR as a temporary directory (implies -t)
For -t or -p, directory is chosen as follows:
$TMPDIR if set, else -p DIR, else /tmp
dpkg: error processing openoffice.org-writer2latex (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of openoffice.org:
openoffice.org depends on openoffice.org-writer2latex; however:
Package openoffice.org-writer2latex is not configured yet.
dpkg: error processing openoffice.org (--configure):
dependency problems - leaving unconfigured
Setting up gawk (1:3.1.6.dfsg-0ubuntu1) ...
No apport report written because the error message indicates its a followup error from a previous failure.
I don't know if I really need these packages, and even though I'm an old-timer with Ubuntu (been running since before Jaunty), I'm not as comfortable with dinking around with dpkg and would rather dpkg stop trying to install these every time. Any help would be appreciated.
its a known issuse i dont think it does work n xfce4 i rries it too and it didnr work eather the other type of cusrom webtop it might woek the debian one
i did get gimp to work well
chuck norris aint got **** on this atrix!
That's strange... I have the same setup (Webtop2SD, XFCE4, OpenOffice, and many others) and all is good and dandy...
By webtopfix you mean to fix dependencies?
How big is your EXT partition you installed the Webtop copy through Webtop2SD app?
I created a 4 GB EXT partition to avoid running out of space. I'm not saying that the error you are seeing is because you are running out of space, but could that be the reason?
Also, are you using the latest Busybox release?
Cheers!
Rayan
I created a 4GB partition. Openoffice seems to be working, I've run a few of the apps. I think these are addins that are failing, and it seems to be a busybox issue at that (or perhaps the deb but I doubt it)... And right now I don't know the busybox release.
I also did the chromium install after that and no issue.
I read somewhere that emailmerge doesn't work with webtop, and that's why it keeps doing that. You'll have to remove it somehow... I'm not smart enough to tell you how though.
Kinda doubt this will work:
sudo apt-get purge openoffice.org-emailmerge
Edit: I read your full log. Run webtopscripts again.
Ok, I'll run it again, but I hope this isn't normal to have to run it multiple times after installing things.
Edit: Wow! Either it missed a lot the first time I ran this script, something undid its changes, or it's just reinstalling packages for fun (actually, the first part of the script had a whole bunch of "already installed" messages, so it probably isn't just re-installing).
I've had to run it three or four times as other packages force upgrades. Fixes most issues. Had some packed named ed that can't install or uninstall, removed it by editing its file in /var... something.
Trolling from my ATRIX 4G's XDA premium app, still on the gold medal winner of worst customer satisfaction for the second year in a row! Congrats!
If you can see an app or component inside Sytaptic Manager, you can remove it the same way you installed it. Just select the option to uninstall.
Cheers!
Rayan
On my last rom (Alien v4, Faux 0.22 1.2GHz Kernel, webtop2sd, Webtop v2.3.4, webtopscripts v1.4) I was able to download and install OpenOffice without an issue; but everytime I launched it the webtop-panel would crash. OpenOffice appeared to work fine though. I'll probably install it again here shortly on this FruitCake 2.3.6 setup, installing xfce4 at the moment.
I think the tzdata issue was biting me. I went in and made the recommended change and it finished installing.
viroid said:
On my last rom (Alien v4, Faux 0.22 1.2GHz Kernel, webtop2sd, Webtop v2.3.4, webtopscripts v1.4) I was able to download and install OpenOffice without an issue; but everytime I launched it the webtop-panel would crash. OpenOffice appeared to work fine though. I'll probably install it again here shortly on this FruitCake 2.3.6 setup, installing xfce4 at the moment.
Click to expand...
Click to collapse
It crashes it in debian chroot, but in a normal environment it worked for me.
Trolling from my ATRIX 4G's XDA premium app, still on the gold medal winner of worst customer satisfaction for the second year in a row! Congrats!

Resources