get multitouch in jf 1.51 US..the easy way - G1 Android Development

to fix the multitouch bug you just have to run these few commands in terminal emulator:
Code:
su
mount -o rw,remount /system
rm /system/app/Browser.odex
reboot

myabe im doing something wrong but i keeo getting
rm: cannot remove '/system/app/Browser.obex' : Nosuch file or directory
any suggestion?

Try Browser.odex instead

Browser.odex worked for me

lol, the original poster should edit his post.

No joy either file types

Denkai said:
No joy either file types
Click to expand...
Click to collapse
same here.

No odex files in my JFv1.51
# ash
ash
/ # find . -name "*.odex"
find . -name "*.odex"
/ # id
id
uid=0(root) gid=0(root)
/ #

That's because if you just recently downloaded JFv1.51, JF re-packaged it to not include the file that needed to be deleted.
From here:
Note: I’ve updated the US and UK downloads in the v1.51 release blog post to an updated version that has this fix. I didn’t update the version number since this is a small problem that is easily fixed. I believe jf updater has been updated with the fixed builds as well.
Click to expand...
Click to collapse

Don't you people bother confirming whether you have multi-touch already before you try fixing something that isn't broken? If the file's not there you should already be good to go.
And they're not different file types, "obex" was a typo, "odex" is correct.

What are those odex files? Seems like every system app has one.

DOHCtor said:
What are those odex files? Seems like every system app has one.
Click to expand...
Click to collapse
http://groups.google.com/group/andr.../567d69603d2ef3f4?show_docid=567d69603d2ef3f4
If you need that deciphered further... just ask

awesome thanks guys odex worked for me!

momentarylapseofreason said:
http://groups.google.com/group/andr.../567d69603d2ef3f4?show_docid=567d69603d2ef3f4
If you need that deciphered further... just ask
Click to expand...
Click to collapse
Me confused lol

I was checking the jf build info and it said us version didn't have multitouch, come to find out it does. Thanks for the tip.

The easiest way to get multitouch in the browser is to just go to http://www.wise-projects.com/android/browser.apk on your phone, and download that, then install it.
And you should have multitouch!

Related

How to create update script

I dont know how to create update script till now i used to edit some ones update script so i need a tutorial on making update script...
Update script? if you are asking for what I think you are you need to learn bash scripting. If not, you should clarify what you want when asking a question.
I think perhaps he means themes? If so, use the search key
Darkrift said:
Update script? if you are asking for what I think you are you need to learn bash scripting. If not, you should clarify what you want when asking a question.
Click to expand...
Click to collapse
If you're thinking what I'm thinking that you are thinking about what he is thinking..
the update-script file in an update.zip isn't a bash script . It sorta looks like one, but it actually contains commands that are interpreted by the recovery program.
sangeet.003 said:
I dont know how to create update script till now i used to edit some ones update script so i need a tutorial on making update script...
Click to expand...
Click to collapse
Assuming you mean update-script in an update.zip update, you will need to either look at existing update-script files for an example of the syntax, or look at the source of the recovery program in the android source
Thanks JesusFreke U got my point...
Bump
I too would like info on this. I'm wondering if its at all possible to alter the update script to install 3rd party apps into /data/app and /data/app-private. I've tried placing 3rd party apps into one of the Dude's roms(i think, can.'t remember exactly which rom it was), but I didn't install my 3rd party app. Yes, I did resign the update.
So if someone could help me with this, i would be really grateful. I'd like to make one script to load just /data and another to be included with my usual update.zip's.
I really enjoy the fact that my phone is so customizable, but those 3rd party apps make my custom themes sooooo ugly. i don't mind taking the time to pull apps and theme them, but reinstalling them is a pain. I know there is a windows utility for reinstalling apps, but I'd rather just flash /data.... is this even possible?
Anywho, if any of you "smart" guys around here could help me with this, I would be such a happy droid.
jonnybueno said:
I too would like info on this. I'm wondering if its at all possible to alter the update script to install 3rd party apps into /data/app and /data/app-private. I've tried placing 3rd party apps into one of the Dude's roms(i think, can.'t remember exactly which rom it was), but I didn't install my 3rd party app. Yes, I did resign the update.
So if someone could help me with this, i would be really grateful. I'd like to make one script to load just /data and another to be included with my usual update.zip's.
I really enjoy the fact that my phone is so customizable, but those 3rd party apps make my custom themes sooooo ugly. i don't mind taking the time to pull apps and theme them, but reinstalling them is a pain. I know there is a windows utility for reinstalling apps, but I'd rather just flash /data.... is this even possible?
Anywho, if any of you "smart" guys around here could help me with this, I would be such a happy droid.
Click to expand...
Click to collapse
update-script can put things into data, yes. Just create a data folder in your zip file and include the relevant lines in the script:
copy_dir PACKAGE:system SYSTEM:
copy_dir PACKAGE:data DATA:
Thank you! you sir, are a kind person. I will try this tonight and report my findings afterward!
bringing this thread back from the dead. I need help, if somebody could point to how to use set_permission and why all the symlinking toolbox and busybox (i understand busybox is not part of the regular android package) to other tools already in bin. Also, maybe pointers of what the tools in bin do and if i could remove them after including busybox since they're already in busybox anyway
how about removing a file?
would it be 'remove system:app:mms.apk'
would that work?
gwydionwaters said:
how about removing a file?
would it be 'remove system:app:mms.apk'
would that work?
Click to expand...
Click to collapse
Nope but I think
"delete SYSTEM:app/Mms.apk"
update-script
gwydionwaters said:
how about removing a file?
would it be 'remove system:app:mms.apk'
would that work?
Click to expand...
Click to collapse
what he said:
delete SYSTEM:app/Mms.apk
delete SYSTEM:app/Mms.odex
if you're really interested just grab any ROM available on xda and started learning the commands .. it's really rather simplistic
right on, thanks guys. i'll download some other roms as well and have a look through.
Maybe someone can halp me with correct command for sript. I need to copy one file (for example photo.ipg) into ext (root) partition whilst flshing update.zip. Files is in update.zip/photo.jpg. I have try put it into system/sd, but after flash files wont copy.
im trying remove certain apps from /data/app then install other apps on the /system/app
but im having trouble in removing apps from /data/app
mount("MTD", "data", "/data");
delete("/data/app/someapp.apk"); ?? not sure about deleting apps, i think this is wrong.
unmount("/data");
Is that the even the correct way to mount it? because that works with the /system
Any help would be greatly appreciated.
Ubuntu only
Wrong section btw, just have to say it. I am on Ubuntu 10.04 LTS and I just use terminal:
Code:
gedit update-script
Once you do that your newly created file will pop up, the put what ever you want in it and save it. The file will be in your home folder. this is what mine looks like:
Code:
show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
show_progress 0.1 10
Then create these folders, each one inside of the other:
Code:
META-INF
root of update zip >
Code:
com
>
Code:
google
>
Code:
android
Then place your update-script in the android folder, and also create the system or data folder in root of update.zip
If it's not compressed into a zip file already than you will need to select all the folders, right click and select compress, then compress as zip. After compressing into zip you will need to sign it. I'm not going to get into signing and all that because there is tons of info on xda for signing roms
in other thread and if someone still looking:
update-script syntax - A guide for ROM devs, modders, and themers
Code:
http://forum.xda-developers.com/showthread.php?t=641223
Thanks to TylTru for the gift
hey!, I have a problem when I try to flash the update.zip (AOSP compiled for HTC Desire), I get the following error:
E: Can't chown/mod /system/keyspa.sh
(No such file or directory)
E:Failure at line 14:
set_perm 0 0 06755 SYSTEM:keyspa.sh
Installation aborted
anybody knows the reason?
Thanks in advance..
jm0077 said:
hey!, I have a problem when I try to flash the update.zip (AOSP compiled for HTC Desire), I get the following error:
E: Can't chown/mod /system/keyspa.sh
(No such file or directory)
E:Failure at line 14:
set_perm 0 0 06755 SYSTEM:keyspa.sh
Installation aborted
anybody knows the reason?
Thanks in advance..
Click to expand...
Click to collapse
does /system/keyspa.sh exist?

HTC PDFviewer working on JF and Haykuro builds!

I"ve been whinging about this for awhile. A champion called strazzere has managed to patch the pdfviewer.apk. And has been tested on the JF build and Haykuro builds and also the latest SPL
Check it out his awesome work - http://strazzere.com/blog/?p=266
Original thread at apps forum - http://forum.xda-developers.com/showthread.php?t=506595&page=4
Instructions
1. Download referenced files
http://www.strazzere.com/android/libpdfreader.so
http://www.strazzere.com/android/FilePicker.apk
http://www.strazzere.com/android/PDFViewer.apk
2. Copy all files to your sdcard
3. Install the patched pdfviewer.apk either using your standard file explorer (Astro, Lina, etc) or using:
adb install /location_of_your_file/PDFviewer.apk
4. Copy the refenced files to the correct location, either adb shell or terminal emulator punch in:
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cp /sdcard/libpdfreader.so /system/lib
# cp /sdcard/FilePicker.apk /system/app
Enjoy =]
Problems and Fixes
--------------------
If you have any initial problems, try redownloading the files because they may be corrupted.
FilePicker does NOT need to be "installed (going through Linda/Astro file manager or adb install)" so to speak, just following the above steps and copying it to correct place is sufficient.
A JF complete image with Pdfviewer included:
savethechicken said:
if anyone wants it I have compiled JF1.5 with this Pdfviewer and the new Better Terminal (old one removed) app already installed you just have to ALT + S. I have tested it on my device and it works perfect. I didn't do anything special and am taking no credit for the ROM as I just copied the files into the right spots and resigned the .zip file.
I tested it twice... both times flashed without any problems
If you choose to use it just like any other ROM update.
Rename update.zip
boot into recovery
alt+s
home+back
**should not have to wipe**
PDFJF1.5.zip
Click to expand...
Click to collapse
Enjoy =]
Yeah, hey...does that come in a shiny noob edition?
You mean without using adb?
tr.slate said:
Yeah, hey...does that come in a shiny noob edition?
Click to expand...
Click to collapse
Follow the link and download the 3 files: libpdfreader.so, FilePicker.apk, PDFViewer.apk.
Open the terminal and enter the following:
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cp /sdcard/libpdfreader.so /system/lib
# cp /sdcard/FilePicker.apk /system/app
# reboot
When the phone restarts, use a file explorer of your choice to find and install PDFViewer.apk via package installer.
Gonna try this later
works great!
thanks!
glad you like it thanks for the rehash smurphete, and thank you for retaining the credits
thx for this.
Works great on jf's build, thanks for sharing.
Go Lakers!!!
strazzere...
AWESOME!!!!
works great thanks!!!
thanks alot
Thanks for the great I used download crutch and the second set of instructions using the terminal worked fine. Never undertood using adb when all can be done right from the phone no pc needed.
works great! thanks!
Awesome! Thanks guys!
Cool that he got it working on JF 1.5, but the HTC PDF viewer is so slow, RepliGo Reader on the Market render pages much faster.
I was using repligo before this came out...I think repligo and htc pdfviewer render pretty much the same speed. Biggest annoyance about repligo is that it renders one page at a time. Look at one lecture slide. Next page....wait....wait...wait....rendered...damn not the slide i want...maybe its page 5.....go to page 5.....wait...wait...wait....
Whereas pdfviewer renders multiple pages at a time. But repligo is completely pwns pdfviewer when you zoom in and out, no loading time at all.
And repligo costs $$$ && think of us poor souls in countries without paid apps...well legitimately anyways
Im sorry, did i miss something? the pdf viewer i pulled from either a haykuro build or one from thedudes a long time ago has been working fine on any build ive used. im on jf1.5 now and it works with no problems
Thanks for this, been wanting it. Works great.
There is yet another way to do this from your PC, maybe easier for some.
1. Download the files to your /sdk/tools folder.
2. At a command prompt enter the following commands:
a. adb remount
b. adb push libpdfreader.so /system/lib
c. adb push FilePicker.apk /system/app
d. adb push PDFViewer.apk /system/app
All done.
Thanks to all who contributed to this, it actually opened a pdf that I couldn't previously view on my phone!
Nice work on this. I messed around with the bytecode of this thing for hours trying to remove the calls into com.htc.protection but eventually got frustrated and gave up. Glad someone with more patience picked this up.
Anybody try it on an HTC 1.5 f/w?

Nexus One Lockscreen & Fresh Rom 2.0d doesn't work?

I installed the Nexus One lockscreen, but it's not coming out right? Instead of the icons (Lock & Sound) being on the sides, they're are on the top and bottom?
I got the .zip file from here:
Code:
http://forum.ppcgeeks.com/showthread.php?t=116124
Launcher2 was included...
Darkshneider said:
Launcher2 was included...
Click to expand...
Click to collapse
I'm new at this stuff. So it won't work?
Launcher2 does. Menu > Settings > Applications > Manage > HTC Sense >scroll down a little bit and click Clear Defaults. When you press Home, it will ask you wich "Home" you want to go to. Choose Launcher2.
Darkshneider said:
Launcher2 does. Menu > Settings > Applications > Manage > HTC Sense >scroll down a little bit and click Clear Defaults. When you press Home, it will ask you wich "Home" you want to go to. Choose Launcher2.
Click to expand...
Click to collapse
Darkshneider....... you ok?
No, my brain is overloaded.
Darkshneider said:
No, my brain is overloaded.
Click to expand...
Click to collapse
It shows..its ok. Unload some of that over Easter weekend.
BTW As far as Lockscreen is concerned. I just removed HTCLockScreen.apk and rebooted. and had what I think is the Nexus Lockscreen. Only thing I am not able to achieve is the Dialer which is in Nexus ROM.
I never used a update.zip file I used ADB and these commands
adb remount
adb shell
su (<you dont need to do this if you have Root access already)
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
rm system/app/HtcLockScreen.apk
reboot
DroidDhakan said:
It shows..its ok. Unload some of that over Easter weekend.
BTW As far as Lockscreen is concerned. I just removed HTCLockScreen.apk and rebooted. and had what I think is the Nexus Lockscreen. Only thing I am not able to achieve is the Dialer which is in Nexus ROM.
Click to expand...
Click to collapse
Um, how do you do that? My bad I'm a noob at this lol. Have to use the command prompt right?
Edit: Says no such file or directory?
Maybe I'll reinstall the rom.
Lessthantito said:
I never used a update.zip file I used ADB and these commands
adb remount
adb shell
su (<you dont need to do this if you have Root access already)
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
rm system/app/HtcLockScreen.apk
reboot
Click to expand...
Click to collapse
AFAIK adb remount is the same thing as your whole mount command there. that step isnt needed
Lessthantito said:
I never used a update.zip file I used ADB and these commands
adb remount
adb shell
su (<you dont need to do this if you have Root access already)
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
rm system/app/HtcLockScreen.apk
reboot
Click to expand...
Click to collapse
See below.
andyriot said:
AFAIK adb remount is the same thing as your whole mount command there. that step isnt needed
Click to expand...
Click to collapse
Correct.
Negrito said:
See below.
Correct.
Click to expand...
Click to collapse
i feel privileged that your sig is quoting me!
fixxxer2008 said:
i feel privileged that your sig is quoting me!
Click to expand...
Click to collapse
LMAO
10chars
SupahDave said:
LMAO
10chars
Click to expand...
Click to collapse
+1 fix was joking and some of the members took it the wrong way. anyways, what does the nexus lockscreen look like?
West650 said:
Um, how do you do that? My bad I'm a noob at this lol. Have to use the command prompt right?
Edit: Says no such file or directory?
Maybe I'll reinstall the rom.
Click to expand...
Click to collapse
When you type "rm /system/blah blah blah" you have to make sure everything is capitalized like it is on your rom, check the files in a file manager to see how its spelt and capitalized.
I just copy and pasted what I did that worked for me, this won't work for any of the newer 2.1 roms for some reason even tho it worked just fine for Damageless2.1 and a couple of others but the new ones based off of Sprint leaks are screwing up the lock image and so far noone has a fix
i installed lockbot and im always skeptical of 3rd party lockscreens but this one amost gets the job done..just no music audio control with screen off and some lag
Quote from Fresh 2.0d release notes
The stock vanilla lock screen is still broken. This is straight from HTC and is how it is
Click to expand...
Click to collapse
That update.zip that you linked to has 0 files in it. All it does is:
Code:
delete SYSTEM:app/HtcLockScreen.apk
delete SYSTEM:app/HtcLockScreen.odex
Once you do that the vanilla lock screen takes over. The vanilla lockscreen on all of our Sprint leaks has been broken. It is part of the frameworks and is not a separate apk.

[APP] Optimus Z Arc Video Editor

I saw that LG Optimus's video editor is bein ported over to Vibrant..
http://forum.xda-developers.com/showthread.php?t=770737
Is it working on N1 too? (I didnt want to try myself.. )
If not, can anybody make it work on N1 too?
Thanks..
Keshav_CoolDude said:
I saw that LG Optimus's video editor is bein ported over to Vibrant..
http://forum.xda-developers.com/showthread.php?t=770737
Is it working on N1 too? (I didnt want to try myself.. )
If not, can anybody make it work on N1 too?
Thanks..
Click to expand...
Click to collapse
dude, a single app is not gonna break the N1 try it out and see if it works.
Okay.. I tried it.. But after showing loading for a couple of seconds, it FCs..
No one interested in this?
+1 would def. be cool to have
Somebody please work on it..
Finally we have got a video editor and no one is showing interest to port it?
Keshav_CoolDude said:
Finally we have got a video editor and no one is showing interest to port it?
Click to expand...
Click to collapse
what he said
Would lve to see it ported over, ive been looking for this kind of app!
I'd love to see this, too.
Anyone?...
what does logcat say when it FCs?
Will post it soon.. I didnt see the logcat..
tried it, got an error about it unable to load a .so file (it exists and is readable). post on main thread: http://forum.xda-developers.com/showpost.php?p=9157469&postcount=32
What I did:
1) copy the 3rd_party folder from the .zip to my sdcard
2) run:
Code:
adb shell
su
#was getting a read only filesystem error, so
mount -o rw,remount -t yaffs2 /dev/mtdblock3 /system
#copy
cp -r /sdcard/3rd_party /system/
#grant everyone read access
chmod -R 755 /system/3rd_party/ArcSoft/VideoEditor/*
3)install the apk.

unrar 4.0.0 compiled for arm linux (android)

I can't believe theres an app in the market that makes you pay for an unrar library..
here is the arm binary freshly compiled so you may use it with android term.
tar xf unrar.tar -C /data/local/tmp/
chmod 777 /data/local/tmp/unrar
cd /data/local/tmp/unrar
<test it out> (aka ./unrar)
move to system/xbin or wherever.. just not sdcard.
perhaps this has been posted before.. but probably not version 4. woo post whore.
thanks, this is much faster than unrar pro on the market
btw, can you tell me how can I extract only ONE file from a rar with this utility?
thanks in advance
Adolf1994 said:
thanks, this is much faster than unrar pro on the market
btw, can you tell me how can I extract only ONE file from a rar with this utility?
thanks in advance
Click to expand...
Click to collapse
Pretty sure its unrar x file.rar -n file/youwant/to/extract/
Or unrar x file.rar [email protected]
its a lengthly --help output.. its all there!
Maybe U cud write a UI app too ( a rooted one ) ..that wud make it cooler
Blades said:
Pretty sure its unrar x file.rar -n file/youwant/to/extract/
Or unrar x file.rar [email protected]
its a lengthly --help output.. its all there!
Click to expand...
Click to collapse
nope, it doesn't work
I get this everytime
Code:
$ unrar x System\ 3.0.A.2.181.rar -n /system/app/textinput-tng.apk /sdcard/download/play
UNRAR 4.00 freeware Copyright (c) 1993-2011
Alexander Roshal
Extracting from System 3.0.A.2.181.rar
No files to extract
edit: oh god, wildcard that made it
-n *textinput-tng.apk worked well
sarfaraz1989 said:
Maybe U cud write a UI app too ( a rooted one ) ..that wud make it cooler
Click to expand...
Click to collapse
Oh ****. Serious?
i could probably work something up pretty easily..might look at it later.
Illegal Instruction
On x10 mini pro, getting 'illegal instruction' error...
hi there,
I tried this and it does work on my phone which is really cool. But it doesn't work on the emulator and someone reported it doesn't work on the x10? Hmm shouldn't this work on all devices if its compiled for the arm architecture? Also I tried to run the binaries that are posted by RarLabs found here and they do not run either
(Ok I cannot actually post the link but you should be able to find it)
Command line freeware ARMEL v4 Linux UnRAR.
Command line freeware ARM Linux UnRAR.
These are different architectures too? I was considering using this binary in my app but wonder how many devices it will be incompatible with
I extracted "unrar" to /system/xbin, and tried it there from my PC with adb shell and from phone with terminal emulator... it says "cannot execute - Permission denied".
I'm on a rooted verizon lte samsung galaxy nexus.
I tried "unrar x file.rar" at the command line...
edit: I executed "chmod 777 /system/xbin/unrar" b/c thats where I put the unrar command/shell file, and that fixed it... i guess that makes it executable.
Sweet! Thanks!!! +100
yep you can't run on sd card.
i tested this executable on many many devices, it works on about 50% of them only though
Any geniuses out there know how to compile it to make it 100% compatible?
Thank you, very helpful
govindadas said:
I executed "chmod 777 /system/xbin/unrar" ...... and that fixed it... i guess that makes it executable.
Sweet! Thanks!!! +100
Click to expand...
Click to collapse
Hi
when I do chmod 777 on the file,
I get
"Operation not permitted"
That's because my phone is not rooted? :/
I there anyway to succeed in doing chmod when the phone is not rooted?
Thank you
unrar 5.1.6 file for android arm
Blades said:
I can't believe theres an app in the market that makes you pay for an unrar library..
here is the arm binary freshly compiled so you may use it with android term.
tar xf unrar.tar -C /data/local/tmp/
chmod 777 /data/local/tmp/unrar
cd /data/local/tmp/unrar
<test it out> (aka ./unrar)
move to system/xbin or wherever.. just not sdcard.
perhaps this has been posted before.. but probably not version 4. woo post whore.
Click to expand...
Click to collapse
hi there this works perfecty on my android system...
but i have a question would it bee possible to make another one for version 5.1.6? this would realy help me
EagleEyeX said:
hi there this works perfecty on my android system...
but i have a question would it bee possible to make another one for version 5.1.6? this would realy help me
Click to expand...
Click to collapse
Nobody?
EagleEyeX said:
hi there this works perfecty on my android system...
but i have a question would it bee possible to make another one for version 5.1.6? this would realy help me
Click to expand...
Click to collapse
Hi, I know this is an old post, but I need desperately an Unrar command line module for Android, using the latest version. Is there any possibility to generate it again?
Many thanks in advance!

Categories

Resources