yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] kspince:
Thanks for the quick respsonses.

I did try it with the space in the middle, but I got the same reply from the console - perhaps I am not "pushing" it onto the phone properly?

Can someone give me a bit more detailed step by step as to how to push it onto the phone, su, then run it as instructed on the original post? I just need the exact commands if possible.
[G1 Android Development] jhnphm:
Can anybody repost the script since it's down?
[G1 Android Development] Dyonas:
I'll assume you know as much as I do about ADB (virtually nothing) and say what I did.

Followed the guide to install ADB and then...

adb push fix_permission.sh <file location like c:\android\fix_permission.sh> /sdcard

ADB shell <enter>

"This gets you a # prompt"

su <enter>

"Still a # prompt"

sh /sdcard/fix_permissions.sh

I think... I only did it once and this is from memory.
[G1 Android Development] kspince:
Thanks Dyonas.

It seemed to work perfectly well and pushed it properly, but at the end I still got the syntax error problem after trying to executing the thing.

Maybe I need to redownload the script and try it again.
[G1 Android Development] Dyonas:
kspince, the script link is broken. A few of us got the exact same thing you did. Unless someone posts it or Cyanogen fixes the link we're stuck for the time being.
[G1 Android Development] DMaverick50:
correct me if im wrong (and i probably am). If i have my apps on my ext ill still have to format it before flashing a new build, so this is mostly either for those who dont have apps2sd or those who dont want to go through the initial setup after flash, and their phone settings (everything but apps if they are on ext) will remain? thank you
[G1 Android Development] osokrayzay:
right click save as
[G1 Android Development] damnitpud:
The right click/Save as does download the file, but instead of being the script it has the apache error. Do not run this until the link is fixed.
[G1 Android Development] TommyPickles:
damnitpud is correct. to verify, open the fix_permissions.sh with notepad and if you see the apache error then thats what the problem is.

can someone upload the corrected .sh ?

or are we waiting on cyan to reup with private apps fix?
[G1 Android Development] TommyPickles:
nevermind waiting. jump on the code.google page and download latest.. then contribute back

http://code.google.com/p/cyanogenmo...ID Type Status Priority Version Owner Summary
[G1 Android Development] bootleg16:
thanks a lot for this.

i never really needed this but might come in handy
[G1 Android Development] Dyonas:
Ah that helps! Download, rename, and then...... *tries it before finishing post* yup it works for me too now.
[G1 Android Development] kspince:
I ended up doing a wipe from the recovery console, while it restarted everything it seems to have preserved the cyanogen os i loaded along with the rest of my apps following my earlier partition of the SD card.

Now my market apps have more than just the free ones, and downloads work again, and (at least so far) I haven't seen any random app crashes.
[G1 Android Development] Niksac:
Link is dead :(

could somebody pls reup the script?
[G1 Android Development] velazcod:
works great, thanks cyan
[G1 Android Development] jdavidgea:
link seems to be broken again...
[G1 Android Development] cb7tuner93:
The link is broken.
[G1 Android Development] Honestly77:
The Re-Up

Dead link. Please re-upload the script ya?
[G1 Android Development] Alucardis666:
sounds awesome I'll give it a shot. :-P
[G1 Android Development] fezdisel:
I can't get the file to download. The link to it appears to be defective.
[G1 Android Development] markvader:
To all those reporting the dead link, its probably because cyanogen has integrated the script into his recovery image.

what im wondering is whether to run the script before or after applying the next rom update
[G1 Android Development] jdavidgea:
Thanks I didn't think in that before...
[G1 Android Development] Ducter:
sorry wrong thread.
[G1 Android Development] Honestly77:
Your right. Someone dug up an old thread. Go into terminal and type su then fix_permissions. Perform it after you upgrade then reboot.
[G1 Android Development] Freshmaker82:
NooB!

I am a NooB to all of this flashing, and i must say big-ups to Cyan for all your hard work man. I could only hope to be as computer savvy as your are. But let me get back on topic here. i dont know if it is me or my comp, but everytime i click on the link you have provided, to download the file that will enable be to not have to wipe everytime i flash something new, it says "The requested URL /android/fix_permissions.sh was not found on this server." and "Apache Server at n0rp.chemlab.org Port 80" can someone please help me? Also i dont know if this is on topic or not but i have been searching these forums for the last 2 weeks trying to get this stuff down. but can someone explain to me what adb is. i use MAC not WINDOWS, so i was just wondering if that program runs on MAC. thanks guys Im sorry for being a complete NooB at this!
[G1 Android Development] voxluna:
Please, no more "link is broken" posts :P

The link may be down for a reason...

Cyanogen's 'Pimped Out Recovery Image' v1.4 has the fix_permissions script in it, as well as a lot of other useful stuff.

Check this thread to download and install the image. Reboot with Home+Power, then drop to recovery console via Alt+X and you can run it from there by just typing "fix_permissions".

Tada!
[G1 Android Development] elegos:
Does this work without app2sd? Or is it only an app2sd enhancement?
[G1 Android Development] voxluna:
If you're asking if fix_permissions runs without Apps2SD, it may. The script has logic to decide whether or not to mount /system/sd, and where the programs are located. I don't know how useful it would

be

without Apps2SD, but if you're going to try it out, back your stuff up.

Now, if you're asking if the recovery image works if you don't have Apps2SD, absolutely, as long as you have root.

These are its options, and enhancements on JF:

[Home+Back] reboot system now

[Alt+S] apply sdcard:update.zip

[Alt+A] apply any zip from sd

[Alt+W] wipe data/factory reset

[Alt+B] nandroid backup 2.2

[Alt+R] restore latest backup

[Alt+F] repair ext filesystems

In his next version, I expect Cyanogen to include devsk's highly useful switchROM script too.
[G1 Android Development] Janudallah:
bad link

I'm getting an error when I click the file's link. Could u repost the link to hook a dude up? Thanks man.
[G1 Android Development] chevycowboyusa:
New Fixed permissions script!

Doesn't fix_permissions come in the [UPDATED 7/26 - v1.4] Pimped out recovery image with new features ????

For those of you looking for an improved fix permissions script...

http://xdaforums.com/showthread.php?t=549463

This was started by Cyanogen and was improved on by others.

The Latest script is in the last few posts, version 1.26

This is not my work and I take no credit for it. (smeat and farmatito and ???)

copy to your sdcard, unzip and place in root of sdcard

open terminal emulator

su

mount -o remount,rw /dev/block/mtdblock3 /system

cp /sdcard/fix_permissions_1.26.txt /system/bin/fix_permissions

chmod 755 /system/bin/fix_permissions

mount -o remount,ro /dev/block/mtdblock3 /system

fix_permissions

exit

exit

give it time to run, it checks a lot of new stuff!

you can run this script over and over.

***Once you cp it to /system/bin you only need to....

su

fix_permissions

exit

exit

Good luck!
[G1 Android Development] blackdragon82000:
Link is down and BTW thanks for the work that you do.
[G1 Android Development] andru47:
Yeah this sounds great but fix the link please? It's down here and on Cyanogen's Website too!
[G1 Android Development] ThR1LL:
Is there a command that involves fix_permissions that only clears out stale files and data? I remember someone in the Cyan irc channel said it. I think it had an -ls, -l, or something like that infront of fix_permissions. Anybody know what I'm talking about?
[G1 Android Development] chevycowboyusa:
These guys might be able to help

These guys have been working on recoding the fix_permissions file, and could possibly answer your question.

post 120 has the latest version, 1.29

http://xdaforums.com/showthread.php?t=549463

this is the code out of the program...

if $TEST "$1" = "-h"; then

$ECHO "Usage $0 [OPTIONS]"

$ECHO " -r remove stale data directories"

$ECHO " of uninstalled packages"

$ECHO " -V print version"

$ECHO " -h this help"

elif $TEST "$1" = "-V"; then

$ECHO "$0 $VERSION"

else

if $TEST "$1" = "-r"; then

Hope that helps!
[G1 Android Development] douglasjboehme:
Does anyone have the fix_permissions.sh script? The link is broken (yes, I know why :) ).
[G1 Android Development] Shane2:
If you can get hold of 4.1.11.1 the newest version with some extra fixes is included, but I have no idea how to take a copy off the rom, but if you instruct me with a method that doesn't require ADB I would be happy to do it for you
[G1 Android Development] douglasjboehme:
I do have 4.1.11.1 running so I guess I should be able to grab it - do you know where it exists in memory?
[G1 Android Development] chevycowboyusa:
There is a new and improved Fix_permissions....

Check out the new and improved Fix_permissions...

http://xdaforums.com/showthread.php?t=549463

This was started by Cyanogen and was improved on by others.

The Latest script is in the last few posts, version 1.26

This is not my work and I take no credit for it. (smeat and farmatito and ???)

copy to your sdcard, unzip and place in root of sdcard

open terminal emulator

su

mount system

cp /sdcard/fix_permissions_1.29.txt /system/bin/fix_permissions

chmod 755 /system/bin/fix_permissions

mount -o remount,ro /dev/block/mtdblock3 /system

fix_permissions

exit

exit

give it time to run, it checks a lot of new stuff!

you can run this script over and over.

***Once you cp it to /system/bin you only need to....

su

fix_permissions

exit

exit

This works very well
[G1 Android Development] sillyshyme:
the wipe script any backup of it or anyone care to re-upload it for me?
[G1 Android Development] sillyshyme:
help I tried twice already and got cannot create "/system/bin/fix/permissions" path does not exist.

what to do?
[G1 Android Development] kryptik06:
Works good so far...
[G1 Android Development] rrstx:
it looks like you used fix/permissions instead of fix_permissions when calling the script.
[G1 Android Development] All~G1:
This worked very very well... Fixed a lot of quirks I had that almost led me to wiping. Appreciate it guys!
[G1 Android Development] Becksman:
The download link in the first post seems to be broken - has anybody got a working link?

Regards,

Becksman
[G1 Android Development] c_licious:
I get the following error in terminal emulator:

su

mount system

mount: mounting /dev/block/mtdblock3 on /system failed: Device or resource busy

#

Any suggestions? I'm running akirah 2.0
[G1 Android Development] Shatterz:
would like to try this but the link isn't working. Any minors (possibly temporary) you guys know of?
[G1 Android Development] chevycowboyusa:
Try the old way

Download the attachment to the root of your sd card

Open terminal (not recovery)

su

mount -o remount,rw /dev/block/mtdblock3 /system

cp /sdcard/fix_permissions_1.29.txt /system/bin/fix_permissions (the 1.29 file seemed to work best for me)

chmod 755 /system/bin/fix_permissions

mount -o remount,ro /dev/block/mtdblock3 /system

fix_permissions

(when its done running)

exit

exit

hope it helps! Good Luck!
[G1 Android Development] c_licious:
THANKS

That worked. Thanks for taking the time to help out!!!! :)
[G1 Android Development] chevycowboyusa:
your welcome!

Glad I could help!
[G1 Android Development] X-i-phoner:
I ran fix permissions per ABD with cowboys instructions on the last post. It ran fine. Email works, market works and everything else seems to be ok.

Now everytime I try to lunch browser this is what I get.

the application browser (process com.android.browser) has stopped unexpectedly. Please try again. FC

Any ideas I have rebooted twice. This wasnt here before fix permissions 1.29 was ran. I havent seen anyother of the fc's I had before yet.
[G1 Android Development] chevycowboyusa:
fix permissions 1.31 is out

I've never had any problems at all with the new scripts. Ver 1.31 is in the fix_permissions thread. You can try that. Have you rebooted since you ran the script? Sometimes that helps. Did you wipe when you upgraded to cm-4.1.99. I thought I could try not to wipe when I upgraded, but had to. I triem fix permissions but it didn't help. I had to wipe. Future flashes of cm might not even need fix permissions, did you have any other problems before you fixed?
[G1 Android Development] Shalamar67:
Link not working

Hi!

Nice work porting the python script to a shell script but the link is no longer working. Would it be possible to put the file back up or if anyone else happen to have it?
[G1 Android Development] chevycowboyusa:
Which version?

Here's Ver 1.29 ver 1.31r3 and ver 1.1

I do not take any credit for these files.

Good luck.

p.s. you should have fix_permissions in your system/bin (comes with most CM based roms)

you should be able to just type in terminal

Code:

su

mount -o remount,rw /dev/block/mtdblock3 /system

cp /sdcard/fix_permissions_X.X.txt /system/bin/fix_permissions

chmod 755 /system/bin/fix_permissions

chown root.shell /system/bin/fix_permissions

fix_permissions

1.31r3 is the latest from the fix_permissions thread.
[G1 Android Development] pascanu:
Delete the Browser data (settings/applications/manage applications/browser/clear data). It should fix it.

Please note that this will also erase your bookmarks, passwords etc. so you might want to backup those.
[G1 Android Development] jeremycool:
Links dead :(
[G1 Android Development] AnThNeE:
is this already included with Amon Ra's custom recovery v1.2.2?
[G1 Android Development] GlenH:
Dead link....
[G1 Android Development] HazzBazz:
anyway of doing this on MT3G without adb (computer not going well).
[G1 Android Development] chevycowboyusa:
its in amon ra's recover

Go into recovery terminal and type fix_permissions. There are a few commands if you add the -h command for help.
[G1 Android Development] vensty:
Hi Cyanogen, firstly mega thanks for all your excellent work. This question might be a bit to basic for you, hopefully someone else might pick it up. Having used your ROMS for a while and recently tried the Hero ROMS, my phone has become somewhat cluttered. What's the best way to really clean things up prior to a fresh install?

Thanks again.

Vensty
[G1 Android Development] maximosis:
Solution

I just came across this solution.

First download http://www.getyourdroidon.com/shiversftp/fix_permissions.sh

Put it on the root of your sd card and go into terminal emulator.

Type: su and hit enter

Type: sh /sdcard/fix_permissions.sh and hit enter

Type reboot and hit enter

Should be all fixed.

Credit goes to this guy

http://androidforums.com/support/13657-fix_permissions.html
[G1 Android Development] digitaljeff:
anyone with Amons RA recovery can do this via recovery... also as chevycowboy said this is included now in cyans roms...for sometime now..
[G1 Android Development] chevycowboyusa:
Thanks Jeff!

It's really easy to do this. Amon_ra is now at 1.5.2

If you reboot into recovery

It's under "Other" <ALT +O> option "Fix apk uid mismatches" [Alt + 0] <= that's a zero

=== OR ===

go to console and press enter

type => fix_permissions

and within most roms now, you can run "fix_permissions" in the terminal emulater

All you need to type is

su

fix_permissions

exit (when finished)

Tada! your done.

Props to Cyanogen and Amon_ra also the others who worked on the Fix_permissions.sh Good job!
[G1 Android Development] Cool3stNERD:
I have used fix UID mismatches from Amon_ra recovery Image to see if it would fix the screenshot app error that i get when I try to use it ("cannot determine uid for package"). but it has been going on for about 45 mins now why is it taking so long to finish. it never took this long to finish before.
[G1 Android Development] SJJTJJ:
will this work on any rom?
[G1 Android Development] Tekai:
Sorry, I'm kind of new to the Android world, and not sure if this is the best place for this question, but might help all of those non-root users out there with this problem.

I've just had the permission mismatch happen to me. Actually, it took me a couple of days to learn how to debug the phone and track the problem, but c'est la vie. Unfortunately, I'm just running a stock user build from Rogers (HTC Magic - 1.5) so I don't have root on my phone. Everything I've read says the gain root access, I'll need to wipe the phone.

So, I am completely out of luck and need to wipe the phone, correct?

Assuming so, I guess it's a good time to think about trying a build.

BTW, I checked out the script just in case. Nice job to those who put it together.

Thanks!
[G1 Android Development] hellboy5000:
the link doesn't work for me can someone reposted:(
[G1 Android Development] Firerat:
In terminal type

find /system -name "fix_*"

You already have it
[G1 Android Development] srismart:
File Not available at n0rp.chemlab.org anymore

"Not Found

The requested URL /android/fix_permissions.sh was not found on this server.

Apache Server at n0rp.chemlab.org Port 80"

Can anybody post the shell script again, please?

Thanks
[G1 Android Development] srismart:
Not sure if this is the same file: getyourdroidon[dot]com%20shiversftp%20fix_permissions.sh
[G1 Android Development] asb123:
hold on, does this mean no wipes at all or just no ext wipe?
[G1 Android Development] bled82:
The download link is broke also does this still work with the 2.1 roms ?
[G1 Android Development] Firerat:
guys, the script is included in the ROMs

failing that its in RA_ recovery
[G1 Android Development] Droidzone:
The link seems to have been broken. Can you give me a new link?
[G1 Android Development] :
Not big on reading, are ya'?
[G1 Android Development] copenhagen:
sigh. sort of a negative response i have to say. the problem with YOUR reply.. is that some of us do not use ROMs that include RA_ recovery. so i suggest the next time you have something to say, dont just think of yourself and what you use.

enough said on that.

some of us could use this script OUTSIDE of RA_recovery. please repost if possible

thx

-cope
[G1 Android Development] :
Lmfao, sorry but thats funny!

The script has fa to do with ra, it may be included but still doesn't stop you downloading a rom and pulling the file now does it or do I need to go 'think of myself' too?

:D
[G1 Android Development] ezterry:
I usually just grab it from CyanogenMod's git hub when I need a stand alone copy (or to copy it into my ezGingerbread repo)

https://github.com/CyanogenMod/andr...f040c5874/prebuilt/common/bin/fix_permissions
[G1 General] Muse.Invincible:
Hey guys,

Have any of you managed to pull the phone apart to get to the hinge??

I need to do this to somehow tighten it if possible, as it is loose and the screen is floppy when it opens. I can't return it as I bought it on eBay in Aus.

Any help appreciated! :)
[G1 General] maubig:
The service manual used to be avail 4 download but has been removed from what I understand. If you need it, PM me and I can email 2 u.
[G1 General] tubaking182:
if you search on google for "Htc Dream Service Manual" you will find it in a few places, or you can PM me with your email and i'll send it your way in PDF format
[G1 General] MikeChannon:
The Service Manual link was removed when I had a problem with my site provider. However all is back up and running and the manual is available here:

www.mikechannon.net

Mike
[Tilt, TyTN II, MDA Vario III General] brendynj18:
I have been looking to change a few things!

I have some experience with flashing and even cooking in the last couple weeks.

What i want to do is change the icons for EDGE/3G/GPRS, the signal bars, sound and batt. I want something that looks kind of like WM6.5... or color or anything a little more rounded!!!

I have no clue to go about this. can i remake the images for the stuff? if so where are they located?

thank you very much!!!
[Tilt, TyTN II, MDA Vario III General] Rudegar:
think the images are located for the most part inside dll and exe files themselfs

and one require shell programs like Spb Pocket Plus and the likes to change them

as those dlls and exe files are in the rom and can't be altered unless you cook your own rom
[General Questions and Answers] Geraldinho:
I recently bought a Sandisk 8gb sdhc memory card for my xv6800. When I placed it in the phone it did not install. My phone states that there is no storage card installed and that the external memory slot is not in use. I looked around but I still have not yet been able to solve this problem. I was thinking that maybe I bought the wrong memory card for my 6800. Any help is appreciated. Thanks
[General Questions and Answers] Drakh:
You bought a SDHC memory card (SD 2.0), maybe your device doesn't support that version, but non-SDHC card (up to 2GB)?.

If it does maybe software upgrade is needed, or finally the card may be is broken.
[General Questions and Answers] Geraldinho:
i will buy a different storage card for my titan and download a software upgrage. I will see if that works.
[Non-Touchscreen Windows Mobile Other] neavissa:
hi there,

i was looking for a new phone and got the at&t Samsung Jack. I understand that it is considered a smartphone and i though that as such, needs specific smartphone software. After searching the web for some applications it occurred to me that smartphone and windows mobile are somewhat the same thing. I am not sure though what the difference is. I know that i can install some software that i used for my kaiser but not all software. what do i have to look for and where is the best place to get my hands on some nice cabs?

thanks,

G
[Non-Touchscreen Windows Mobile Other] neavissa:
thanks for all the answers...
[Non-Touchscreen Windows Mobile Other] znial:
smartphone= WM STANDARD, no tuchscreen

pocket pc = WM PROFESSIONAL, touchscreen

:D

www.pdadb.net if you need more infos
[Non-Touchscreen Windows Mobile Other] Nokser:
for what :confused:
[Non-Touchscreen Windows Mobile Other] neavissa:
i understand. what i don't get is, what do i have to look for when it comes to software?! i have a bunch of cab's that worked on my kaiser but don't work on the jack. is that because one is the standard edition and the other one the professional edition? when i look for software, what do i need to look for? wm standard or smartphone apps?

thanks,

G
[Non-Touchscreen Windows Mobile Other] parthabhatta:
You have to look out for windows smartphone apps. Actually smartphone is a misnomer as the touch version of win mobile is also called a smartphone. However for software searching PPC means touch version and SMARTPHONE means nontouch version. Actually this happened with me also as I had no idea about the difference of software compatibility in SM and PPC. Now I have known that PPC platform is much wider, versatile with respect tl software availability. I hope this serves your purpose. If you love apps I think you may regret changing over to smartphone from PPC. Some PPC apps do get installed on smartphones but only a very few of them can be used satisfactorily mainly due to navigational problems. However most of the PPC apps donot get installed on smartphones.