yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] TheDudeOfLife:
su

passwd

it's been posted a few times, but I imagine 'su' isn't a valid search term.
[G1 Android Development] demontefixo:
'su' can be a valid search term if you don't use the forum's search function... go to Google and enter this as the seatch term (no quotes).

'su password site:http://xdaforums.com/' (be prepared for a long list...)

--M
[G1 Android Development] haitiankid4lyf:
i typed that in and it says

passwd: not found

im guessing that means i dont have a password?

but i download droidsans

i press 1 to make it RW then 5 to disable auto rotate and then 4 to enable auto rotate and it always says operation failed... i am using the rc30 v 1.2

ps when you guys updated to rc30 v1.2 did it erase everything like normal flash??
[G1 Android Development] mack:
I get the same thing =(
[G1 Android Development] haitiankid4lyf:
Does anyone have any idea what's going on??

Whoever has it working what rc are you using?
[G1 Android Development] grickson:
did you put an su psswd or did u just change the su to a secret code(basically renamed su)..?
[G1 Android Development] haitiankid4lyf:
i just upgraded to rc30 v1.2 and didn't do any su changing/naming
[G1 Android Development] miguel11691:
How do i disable it... Everytime i try to disable i get an failed message... what am i doing wrong... i love the app but im gonna wait for the final release
[G1 Android Development] :
Did you enable read/write before attempting to disable it?
[G1 Android Development] miguel11691:
Yes I did but it won't disable
[G1 Android Development] pershoot:
looks good! can you make it so we can disable it per application? reason i ask is in the phone application, when i hold the phone up to my ear, it flips, and then it takes about a second to flip back when I reorient the phone. if i have to enter number in a menu from the keypad, i would miss the menu from a voice call, having to go through the options again.

thx!
[G1 Android Development] phatman81:
Ok, i will ask this again since no one has given me an answer that actually answers my question... I DO NOT HAVE A PASSWORD and SU DOES NOT EXIST since it was renamed. does the application explicitly call the SU command?
[G1 Android Development] :
Yes.

Reinstall modified RC30 v1.2 to fix.
[G1 Android Development] phatman81:
thanks. i have no problem reinstalling (actually just installing v1.2 since i think i have 1.1) but this does not fix the issue of having an unprotected SU command. i could just as easily make an SU command the same way as i made my secret word. I think ill wait for the next release since auto-rotate is not that dire a need.

Thanks again for the reply
[G1 Android Development] Koush:
Install Superuser to protect your su: it works seamlessly with all Android applications, including Auto-Rotate, Terminal emulator, Shell, Screenshot, etc. http://xdaforums.com/showthread.php?t=449536
[G1 Android Development] Koush:
Hi nuuneoi, I noticed that you are leaving framework.odex world writable after changing the default orientation value. This is a bad idea.

-rw-rw-rw- root root 4875300 2008-12-02 03:25 framework.odex
[G1 Android Development] Fnorder:
For future reference, when the safety of an app is in question:

# unzip -p droidsans.android.DroidSansTweakTools.apk classes.dex|strings |less

Interesting bits of note:

...

/system/bin/sh

/system/framework/framework.odex

!1. Remount /system as Read/Write

2. Remount /system as Read Only

...

Ljava/io/RandomAccessFile;

...

+chmod 644 /system/framework/framework.odex

+chmod 666 /system/framework/framework.odex

...

.mount -oremount,ro /dev/mtd/mtdblock3 /system

.mount -oremount,rw /dev/mtd/mtdblock3 /system

...

read

reboot

reboot

...

seek

write

It appears that the program does exactly what it claims :P I'm guessing enabling autorotate involves editing /system/framework/framework.odex. Further research with vbindiff shows it just alters one byte.
[G1 Android Development] enritt:
Browser bug

I enabled this on my rc30 v1 phone with no problems but

only the browser doesn't seem to notice when the orientation

has changed. Every other screen flips except the browser.

Be fore I applied this Mod I had the browser manually set to

landscape mode. Now it just stays in what ever orientation

I set it to instead of following the accelerometer.

Anyone experienced this?
[G1 Android Development] xavier6303:
It has been noted that the browser explicitly sets the orientation so the auto-rotate will not work with the browser yet...or something like that.. :)
[G1 Android Development] bhang:
the app worked great for me

it was the reactions of all the other apps to the rotation I couldnt deal with, Id assume some peeps have better "mode flip code"(not a coder don't pretend to be) than others as some apps took it better than others, jeez some apps dont even deal with the "physical" flip that well, lots of them wipe input or reset dialogs or both, once developers get more experience I think the apps will lear to play nice together...

bhang
[G1 Android Development] Koush:
Yeah, this is an aspect of the Android API that I really hate. Whenever the orientation changes on the device, Android's Activity Manager destroys and recreates your activity (this is the default behavior, you can configure your Activity so that doesn't happen). Pretty annoying, and very clunky to develop for.
[G1 Android Development] enritt:
Thank you Sir.
[G1 Android Development] tmrepp:
I somehow have gotten the browser to auto-rotate with the use of dev-tools. I do not know what I did to get it to, but I went through pretty much every option in there, and now my browser auto-rotates. This is all after the app mentioned in this thread to enable auto-rotate. I wish I knew more, am I the only one?
[G1 Android Development] tmrepp:
I figured out how I managed to get my browser to auto-rotate. Install the development tools ("dev-tools") from thre sdk..after that's done go to it and under instrumentation, run "browser test runner." Eventually, maybe 2-3 minutes of that doing its thing, your broeser will auto rotate until the process is killed, or you restart your phone.
[G1 Android Development] Koush:
You can just download the Android source and change it to autorotate and rebuild.
[G1 Android Development] tmrepp:
I am not that advanced, wish I was. Thanks for letting me know an alternative way of making my browser auto-rotate.
[G1 Android Development] d0nkey:
well thats what i get for trying random things..

i wouldn't suggest running those test programs.. now i have about 200 extra bookmarks that didnt have before. americanxx thru zebraxx. and i think i have to remove them one by one... so thanks.

oh and, it didnt enable auto rotate.
[G1 Android Development] tmrepp:
I just had that same problem..I thought I picked up a virus somehow. My process restarted, and it closed out the one that auto-rotated..I don't know what to tell you, maybe my phone's special. I just cleared all the data under manage applications for the browser and the problem is fixed, although I lost all my saved bookmarks, passwords, etc..
[G1 Android Development] Koush:
I'll just publish my APK that I build when I get home.
[G1 Android Development] d0nkey:
did you already go and enable auto rotate with the droidsans tools?
[G1 Android Development] tmrepp:
Me? Yes..

....too short..
[G1 Android Development] d0nkey:
so if you enabled it with the droidsans tools, why did you think the developers tools made it auto-rotate?
[G1 Android Development] haitiankid4lyf:
go to:

setting->magage apps-> appls -> browser: clear data

this will clear all you bookmarks in you browser, however it will clear passwords, cache and history also.

if you want to save some of your bookmarks, on the home screen make a new folder and then make shortcuts to the bookmarks and put them in the folder
[G1 Android Development] tmrepp:
Because using the droidsans tool, it doesn't auto-rotate the browser. De de dee
[G1 Android Development] Koush:
APK for a Browser build that autorotates:

http://xdaforums.com/showthread.php?t=456086
[G1 Android Development] tmrepp:
thank you! now i just need to get home to install it.
[G1 Android Development] haitiankid4lyf:
has anyone got this working with rc30 v1.2, i got it working with v1.1 but not with 1.2. any body have any ideas??
[G1 Android Development] pershoot:
it definitely works on rc30 JF v1.2.

uninstall the application and then reinstall the application.

make sure you have an 'su' command to get to root, and make sure the root account does not have a password set for it.

launch the application,

remount system read-write

enable auto rotate

remount system as read-only

reboot.
[G1 Android Development] -Android Freak-:
I have been using Sittiphol Phanvilai's applications for a long time (For Symbian S60). Sittiphol is a very gifted programmer for mobile platforms. He has won the "2008 Nokia Open C Challenge". I deeply respect him, he is a real genious and a real hacker. For more of Sittiphol's projects, have a look at: h**p://w*w.youtube.com/user/nuuneoi

Releasing the source code would have been nice since Android is an open platform and it would perhaps accelerate development of Droidsans. But it´s ultimately up to the author and nobody has the right to demand his source code. But still, curtesy is important, and that means being polite.

If you don´t trust software you can´t sift through, then it´s really easy. DON'T USE IT. But then again... How many of the applications in the Android Market can you get the source code to? Are you unwilling to install them because of lack of access to the source code? I do realise that there is a big difference here since this particular application requires ROOT access. But if you ever used a windows machine, than you were probably just as exposed there as you would be now, because logged on as Admin gives all apps you install "ROOT" access in windows. Still, nobody is forcing you to install it. It´s still important to be polite even if the author won´t share his source code.

@Sittiphol Phanvilai

Thank you very much! You amaze me over and over again with your work. When I understood that you were the author of Droidsans I was very happy. It´s good to know we have a real free thinker like yourself on the Android developments front. I look forward to your continued work.:o I apologize on the behalf of people who are rude and make you feel bad. I hope this doesn´t make you discouraged. You give a lot away for free and we all appreciate that. Thank you!
[G1 Android Development] hbguy:
yes droidsans only works with rooted phones. i wish he would allow us to change the apn setting and not only lock it out for non-us users though :)

hbguy
[G1 Android Development] veda_sticks:
im running the new adp1 tc8 1.3 software. i can mount as rw but using thee autoscreen rotate says ad version.
[G1 Android Development] nodens2099:
It would be great to have a way of tweaking the version detection... Won't work on JFv1.3 ADP1.
[G1 Android Development] keatonreckard:
doesnt work on jf 1.31 =(
[G1 Android Development] somebody7:
Yes it does. Make sure you mount as rw first, then choose the autorotate option.
[G1 Android Development] n8izzle:
hello, i am sorry i have read all of the posts on this issue and i have the new rc30 mod jf adb and i am unable to add the auto rotate.. i have enabled system as r/w and then i go to auto rotate but i get the error message "bad version".. idk if it is something that i am doing or if it just doesnt work yet with this version... Any help would be greatly appreciated.. thank you
[G1 Android Development] bodyman:
I just pressed 1 3 and 4 rebooted and had no problems. I also installed the auto rotate for the browser here and do not have any problems so far. hope this helps

Bodyman
[G1 Android Development] SRKdrift:
Whats next

When is the next vision going to come out i would love to see that it supports auto rotate for all sides i hate to say this just like the iphone
[G1 Android Development] khoaitaychienvn:
I got it worked just in 10 secs and after a reboot.

I would love to see a effect with the flip, not just a normal flip like that.

Tk you very much for ur hard work.
[G1 Android Development] n8izzle:
thank you for your help but i am still unable to get it to work.. i have version JFv1.3 ADP1... i have uninstalled it 3x and try to reinstall it thinking that i have a bad copy but i continue to get the same error.. i even try after rebooting the phone a couple of times... i still get the message "bad version".. anybody else having this issue with JFv1.3 ADP1? If so were you able to get it fixed and how? thank you for your help
[G1 Android Development] Geo411m:
I got the same problem, I think it does a version check of the OS before it modifies it. I ended up going back to RC30 because I like to use the other IM's anyway.
[G1 Android Development] rsfaze:
I had installed ADP after RC30 and ran into the samething. This tool does not work with ADP. I ended up back on RC30 because I do like the auto rotate feature.
[G1 Android Development] deprecate:
If auto rotate annoys you and you decide to uninstall the app, be sure to disable it prior to uninstalling or you will still have auto rotate working without the app present :)
[G1 Android Development] biglimpdog:
thanks, just got it to install!!
[G1 Android Development] n8izzle:
which version are yo using?
[G1 Android Development] MontAlbert:
will there be a version that supports ADP1 anytime soon?
[G1 Android Development] keatonreckard:
someone said that this worked on 1.31?

i had it working in 1.3, but as soon as i upgraded to 1.31 i cant get it to work...the remount as r/w works fine...but then when i enable the autorotate it says failed...i can disable it..and it says to restart.

ive tried uninstalling/reinstalling droidsans a few times...

anty suggestions other than a wipe and redo?
[G1 Android Development] cyncere:
I had the same problem make sure you always allow this app root access then reboot phone & try again this should work if not after you've done this just press 4 a few times and it should say operation completed reboot phone

worked for me I have rc30 JFv1.3 w/ eng boot
[G1 Android Development] MontAlbert:
those with ADP1 image can they copy the files listed below and upload somewhere so he can make it to suit ADP1 as well.

I don't have ADP1 phone with me right now so I don't know how to make it works with.

Could you upload /system/framework/framework.odex file somewhere and provide ma a link please? I need that file to make DroidSans Tweak Tools for ADP1.

Thanks
[G1 Android Development] JesusFreke:
FYI, My next release will contain the odex files. I had tried to odexify them for v1.31, but I couldn't figure it out at the time. I've got it working now though, so I'll include it in the next release.
[G1 Android Development] elite-fusion:
when should we be expecting a new release if you dont mind me asking JF, i have the JFv3.1 ADP1
[G1 Android Development] JesusFreke:
soonish :). It's in the works
[G1 Android Development] keatonreckard:
well i tryed removing it from the SU whitelist and readding it...then rebooted and tryed again and still nothing...i guess im just gonna wipe it
[G1 Android Development] knight4linux:
JF, Did this not make it to your release (1.41) of adp?
[G1 Android Development] JesusFreke:
They're there..

From the JFv1.41 announcement
[G1 Android Development] knight4linux:
oh wow i completely fubared my reading a few posts up...i must of read the bottom of mont's post, b/c I was referring to you including a droidsans type feature in 1.41 No, I love the way ADP includes the odex files.

Gotta cut down that caffeine intake i guess...
[G1 Android Development] Fr0sTy333:
JF 1.41 + Droidsans + Droidsans lite = as close to cupcake as possible (for me anyways!) i don't want to install the current release of cupcake. i like my gmail and other stuffs! task manager is another really good app i found on the market too. haven't spent much time on there!
[G1 Android Development] jonno.n:
I updated to 1.41 and DroidSans keeps telling me I have a bad version now. I was using the ADP version for a while because I switched not knowing ADP means dev phone, but it continued to work despite telling me bad version every time so I just left it alone. Now it says bad version and doesn't auto-rotate anymore.

Any suggestions?
[G1 Android Development] rsfaze:
1.41 rc33?
[G1 Android Development] acousticdank:
Ya, wait for an update. it's not 1.41 that messed it up but RC33. if you really want it, revert back to RC30
[G1 Android Development] jonno.n:
1.41 is rc33 as far as I'm aware. 1.4 was released shortly before the ota updates started coming, I believe.

I'll just wait for an updated droidsans or an updated jf rom, but others seem to be able to use droidsans with their JFv1.41 (posted in comments on the last page)
[G1 Android Development] knoxbrder:
There are multiple versions of 1.41. at least one for RC30, another for RC33, and I believe one for ADP1.1.

The version of DroidSans from a few days/week ago for 1.41 will not work with the RC33 version of 1.41.

Hopefully the author will work on another version shortly.
[G1 Android Development] jonno.n:
Yes hopefully he will. Thanks for all the useful answers
[G1 Android Development] Dsmithjr:
Looks like an updated Droidsans has been posted to the market. It says it works with RC88, but I think that's a typo. People have posted in the comments that it works with RC33.
[G1 Android Development] andrews240:
I don't see the update on the market. I don't even see the original on the market. Maybe they pulled it shortly after release to correct the version compatibility typo.
[G1 Android Development] Dsmithjr:
Yeah, it looks like he just pulled it from the market. I'm sure you're correct, he's probably just fixing the typo. It should go back up soon. It does work on RC33.
[G1 Android Development] Binary100100:
Yup. I just downloaded and tested it. Works fine. I like the new interface too (instead of having to press 4 or whatever).

Now I'm just waiting for my theme and to move my caches to my sdcard and I'll be set!
[G1 Android Development] jimbo831:
What is it called? I searched for DroidSans and only find the light tool for transitions, not the one for auto-rotate. I also clicked on the option to view all from developer and that is the only one listed. Has it been removed again or something?
[G1 Android Development] Silence15:
Although I am patient (-ish) it would be cool if someone could post the new version. Can someone do that?
[G1 Android Development] savethechicken:
I think it was pulled from the market because even my old shows no updates both the adp and the rc30 ones have been removed from the market
[G1 Android Development] BONH ONE:
Yes it has been removed, and im sure its so that he can make it compatible with the people who have RC33. Please be patient and we should see it back up soon.
[G1 Android Development] mlevin:
I can't seen to find droidsans on the market now (feb 7 2009). has it been removed? I just updated to a rooted rc33 and want to give it a try. where can I find it?
[G1 Android Development] rsfaze:
Did you read any of the posts on this thread before posting this? Seriously its right above your post on the same page :rolleyes:
[G1 Android Development] mlevin:
Oh. Duh. Sorry. I was on another page (not the last page) and hit "post reply". My bad.
[G1 Android Development] rsfaze:
lol I've done that too many times myself.
[G1 Android Development] acousticdank:
uh, can you be a homie and link the .apk file for all of us who missed the ninja update before it got pulled?? thx
[G1 Android Development] JRW160:
It's back in the market now and works with jf1.41.rc33
[G1 Android Development] xm0is3sx:
it works!!!!!! =o) oh yeah my downloads only shows installed apps not old ones :p
[G1 Android Development] Blue_Alien:
Found it on the market today. Works great, love the auto rotate.
[G1 Android Development] ynghova187:
Is anyone else having trouble with the new version. i cant get it to auto rotate i keep getting operation failed. ive tried everything. yes i have root and r33
[G1 Android Development] rsfaze:
I ran into this at first. Have it mount read/write check rotate staus then enable auto rotate. If you get a failure click on mount read/write again and click enable rotate. The 2nd time it worked for me then I picked reboot and it works fine now.
[G1 Android Development] ynghova187:
i have tried your method at least a 1000 times in 2 mins lol. still nothing. i did an uninstall and reinstall. the only thing i havent done is reflash r33
[G1 Android Development] rsfaze:
The Droidsans version you are using, does it have the buttons or does it have the black list of options?
[G1 Android Development] ynghova187:
it has the buttons
[G1 Android Development] derfolo:
Works great for me. I did a wipe before installing RC33, don't know if that helped.
[G1 Android Development] MontAlbert:
has stopped working since i have installed ADP 1.42 JF. do we need a new version for it to work with this image?
[G1 Android Development] Elloco305:
For YNGhova what i did was remount read/write. then check status. then enable. got fail. so i disabled and rebooted manually. When booted i hit remount read/write. then check status, it read disabled. and then i enabled. then it said reboot i did and its working great my man. try it out! :) Hope it works!
[G1 Android Development] klitao:
Droidsans Tweak Auto Rotate not working

First, I thank everyone working on this great platform!

I updated today with the JFv1.42 and now I can't get the Auto-Rotate to work from the DroidSans Tweak tool. I have su on my terminal emulator... I can mount as read/write in DroidSans Tweak, but when I try anything with the Auto Rotate, I get the Bad Version response.

Tried... manual reboot -> Remount as Read/Write -> Check Auto Rotate Status (Bad Version) -> Enable Auto Rotate (Bad Version).

Any thoughts?
[G1 Android Development] xyrcncp:
Are you using the newer DroidSans tool? The one with the buttons?
[G1 Android Development] MontAlbert:
i have version for ADP and none of the above works for me to get it working again. Keeps saying bad version- funny thing is some apps still auto rotate but some don't - home screen doesn't, K9 doesn't, chomp sms does, infodroid does, toggle settings doesn't, settings and market don't, power manager does....

all over the shop.;..
[G1 Android Development] klitao:
RE: Droidsans Tweak Auto Rotate not working

Yes, I have the latest from the Marketplace using buttons.
[G1 Android Development] savethechicken:
Out of all those I know that Chompsms has it(Auto-Rotate) built into it interface so there is not even a need for Droidsans to get it to work.

Yeah since I update to 1.42 ADP1.1 it will not auto-rotate just get bad version.
[G1 Android Development] beagz:
I like this tool. Thank you for developing it. I would like to see buttons added for Tether Start and Tether Stop if you could add them. Thanks.
[G1 Android Development] nuuneoi:
Please test v0.86, it should work now.

BR,

Sittiphol @ DroidSans
[G1 Android Development] MontAlbert:
so there is no longer a seperate version for ADP? i can only find 1 version....

****edit: testing now.... you need to uninstall previous and search for new version- there is now only one version for all JF versions.

**** edit2: works perfectly once again- i am running JFADP1.1H 1.42. ON My way over to the droidsans website 2 donate......
[G1 Android Development] Pikkuhannu:
It`s alive it`s alive!!! :D

Thank you, now works!
[G1 Android Development] klitao:
Fantastic! It works again (on the JFv1.43_Holiday release)! I too will head to the droidsans website to donate! I really appreciate the community - I hope to provide the same development support some day!