yashsingh1/xdaforums huggingface dataset:
[Google Pixel 6 Pro] Lughnasadh:
That's not a bug. From the Android 13 beta page...

First, make sure you are running a beta version of Android. View devices to find the device you want to remove and click Opt out. Your device will receive an update within 24 hours that will wipe all user data and install the latest stable public version of Android. You will not be able to unenroll and revert back to a stable public release version of Android without first wiping all locally saved data on your device. You may also encounter issues restoring a backup.

Note: During the beta program’s release cycle, there will be stable releases to the public (the official platform release followed by Quarterly Platform Releases (QPRs)). When you apply the stable release update for the version you’re beta testing, you can opt out without a data wipe for a limited time until you apply the next beta update.

Android Beta Program

Android Beta Program allows you to enroll your Android device for beta releases.

www.google.com
[Touch Pro, Fuze Themes and Apps] s1l3ntm0use:
Can someone please tell me how to change the font on tf3d to my own font, not one that's already in someone else's .cab file and also same deal with icons. I can make the icons yes, but how do i put them into a .cab file or in the correct format? I'm trying to make a fallout pip boy theme. thanks in advance, and sorry if these answers are posted somewhere - I really can't find them anywhere
[Touch Pro, Fuze Themes and Apps] 12aon:
Use the manila editor, found on the diamond forum. Search the diamond forum for the fonts as well. If you want to make a cab use quickcab found somewhere on the forum as well, 12
[Android Q&A, Help & Troubleshooting] receiverxl:
Hello,

I tried original whatsapp on my android auto and it works, but if i install Whatsapp plus or GBWhatsapp (same) it dosen't work!

any ideas please

greets
[Android Q&A, Help & Troubleshooting] Oswald Boelcke:
Hello and good afternoon, @receiverxl

Prior to your next posting please read the guidances that are stuck on top of every forum like

[Read Before Posting]QUESTIONS DO NOT BELONG IN GENERAL

Hello Everybody, In order to attempt to keep this forum neat and tidy the moderation team is asking you to post your questions into the Questions and Answers (Q&A) forum and not into the General section. You can find the Q&A forum by clicking...

xdaforums.com

and the others. I've moved your thread to Android Q&A.

Thanks for your cooperation!

Regards

Oswald Boelcke

Senior Moderator
[Android Q&A, Help & Troubleshooting] receiverxl:
sorry
[G1 Android Development] nuuneoi:
Hi,

I just finished beta version of tweak tools name DroidSans Tweak Tools. It provides some cool abilities, for example, Auto Rotate Screen, Reboot your Phone and etc.

Please check this page for instructions and more information http://www.droidsans.com/droidsans-tweak-tools.

Please note that it works only on modified firmware G1.

Enjoy!

Sittiphol Phanvilai

DroidSans.com
[G1 Android Development] npace:
Sadly, it doesn't work.
[G1 Android Development] parrothd:
Can't access the web pages..

You are not authorized to access this page. .. :(
[G1 Android Development] SGTDavePwnage:
Can't access the web pages..

You are not authorized to access this page. .. :(
[G1 Android Development] nuuneoi:
Could you give me more information please?
[G1 Android Development] nuuneoi:
My bad, sorry.

Fixed already. :)
[G1 Android Development] usmc2k:
Couldnt access the web page either so did some discovery for myself..... First if u have JesusFrekes v1.2 and the su password like me u have to turn ur password off. then make ur root read/writeable then disable auto rotate then enable it and it workd for me !!!! great app
[G1 Android Development] SGTDavePwnage:
Will this work on the modified RC8?

I keep getting bad version when trying to enable autorotate
[G1 Android Development] nuuneoi:
I will check it and release new version for UK RC8 as soon as possible then ;)
[G1 Android Development] jashsu:
1. Remove su password (if any)

Source code plz.
[G1 Android Development] xavier6303:
works like a charm...Thanks for your contribution. Auto-rotate is awesome!! Can't wait for auto-rotate in browser!
[G1 Android Development] npace:
Yes - usmc2k figured it out. I'm not removing my su password until I see the source code, though.
[G1 Android Development] nuuneoi:
I will have options to enter su password in next version.
[G1 Android Development] nuuneoi:
Please try the new version I just uploaded (0.82b)

I hope that it works on RC8 now.
[G1 Android Development] npace:
That's not the point...

If an app asks you for your root password, there's a problem.
[G1 Android Development] jashsu:
You're missing the point.
[G1 Android Development] pic.micro23:
That will be nice. But I think we would like to see the source code so the experts (not me) can verify that nothing nasty is being done under the hood.

We are lucky (thanks to several xda members) to still have root and I'm not willing to risk it for an autorotate app.
[G1 Android Development] nuuneoi:
I know what you mean but if I wanna destroy another one phone using my app, I can post the fake source code and publish the another one, right? So it's all about the credit.

Search my name "Sittiphol Phanvilai" using google or any search engine and you will see who I am and how trust I am.

Cheers,
[G1 Android Development] Koush:
I posted the code in another thread on how to rotate the screen programatically. I'm not sure if that's what he is doing though. If you guys want, I can write up an app to do it as well as distribute the source.
[G1 Android Development] SGTDavePwnage:
Well i think that settles it,

I wont be using this as we have no way of telling what its doing in the background!!!

It might have something dodgy in.

The Author needs to understand that some people will be thinking the same, but i suppose its his/her choice not to show the code.

*** Cheers Koush, that would be greatly appreciated ***
[G1 Android Development] ninjai:
Thanks. This also works for me now. I am using the JF 1.43h version.
[G1 Android Development] farbird:
the newest version comes with the IM hack..

but it seems that its not working with the adp1.1h latest firmware?

ie for the im hack..

the autorotate works
[G1 Android Development] driguez:
Alright, so can someone tell me what the IM hack is all about??? Im clueless, never heard of it. :confused:
[G1 Android Development] xyrcncp:
It says something about MSN for non T-Mobile. I'm assuming enabling access to MSN instant messenger for non T-Mobile users? I don't use MSN so the update doesn't affect me.

edit: bam, not even searched about it, just scrolled down the page: http://xdaforums.com/showthread.php?t=452364
[G1 Android Development] johnowa636:
Is it possible that with DroidSans Tweak Tool you can enable the the phone to similuate as if keyboard was open when its not. This will allow us to use DroidSans new onscreen keyboard without having to open keyboard. Just a though.
[G1 Android Development] Gimpeh:
It dosent open when auto rotate is on? I'm too lazy to download the tool right now.
[G1 Android Development] titico:
is there a version for RC-33 modded?
[G1 Android Development] phatman81:
yup, in the marketplace. d/l and enjoy! :D
[G1 Android Development] blackknightavalon:
Do a market search.
[G1 Android Development] MontAlbert:
mine just stopped working- flashed a new theme to it and now it says bad version.... don't think i changed anything when flashing...... phone works fine so not sure what the hell i did.... similar error to hat i got when we changed from ADP1 to ADP1.1
[G1 Android Development] Paul22000:
I just installed this on 1.42 RC33. When I first clicked Enable Auto-Rotate, it said "Failed". Then I tried it again and it said it was ok, and to reboot. So I rebooted and it works now. Weird.

Anyway, it doesn't seem to work with the browser. Does auto-rotate work with the browser for G1 versions under RC33?
[G1 Android Development] t1h5ta3:
open settings in browser and enable auto rotate.
[G1 Android Development] Paul22000:
Thank you!
[G1 Android Development] npace:
I wouldn't trust my mom's binary if it asks me for a root password.

If we have the source code, we can make sure it doesn't have bad stuff in it, and compile our own binaries.
[G1 Android Development] Darkrift:
I agree that the source would be nice for an app that asks for root, but damn ppl. stop being so damned rude. "Source code please"??? At least make a full sentance out of it. The author has of yet not shown malicious intent, so give him the benefit of the doubt and ask with a little respect. If you do not want to use it, DONT. If he wants to release the code he will.

As a side note to the author. They are right (even if they are asking somewhat rudely) that the source code for this is probably needed to establish trust for the app. Yes you could switch it, but someone else could build the "fake" source and compare it. This app seems to have a lot of power once given root and could have a backdoor for later havok. Looks like a nice app, so I am hoping you do decide to release the source on it.
[G1 Android Development] nuuneoi:
Although this is not first time I feel bad from develop application and distribute it for free, but it's still bad feeling.

Please delete this thread. See you again when the next version that do not need root access finished.

Thanks and sorry for inconvenience,

Goodbye all
[G1 Android Development] npace:
You don't get it, do you? If I send you a .exe that asks you for your administrator password and tell you that it'll let you control your mouse cursor with your eyes, would you install it?
[G1 Android Development] Darkrift:
No, because I wouldnt run an EXE seeing as im on linux and I hate wine. I know what im talking about, but that doesnt mean you just demand stuff from him and crucify him if he doesnt deliver. Ask nicely, if he says no, dont use it. No need to sit here complaining about it.
[G1 Android Development] npace:
It's bad that it needs to run as root and no source available but I'll stop complaining. I'm treating it as a trojan.
[G1 Android Development] Darkrift:
Can you do any of the features this asks for without root? Please show me, I know lots will love to find out how. We know this program will need root to do everything it does. That is not the arguement here. If you people will read instead, I AGREE that the source should be released, I just do not agree with how rudely it was DEMANDED nor the comments like "im treating it as a trojan". He wrote an app for you, probably didnt realise the security concern and you guys are being rediculous.

I do not see why any developer would want to release anything for people that act like that, source or not.
[G1 Android Development] jashsu:
Yeah that was pretty much what I was going to do anyway. Bit disappointing to see so many users installing a binary (okay bytecode) blind without exercising due diligence. You don't realize how precious your data is until you've lost it because of poor security practices.

@nuuneoi: Sorry you decided to pull your product instead of releasing source code. I hope you will revisit the option of releasing code in the future, as the spirit of open source can only benefit the development community as a whole. Isn't that what Android is all about after all?
[G1 Android Development] npace:
Noone demanded the source code be released. Personally, I was giving some constructive criticism. Yeah, it wasn't all nice and fluff, but it wasn't too bad, either.

Maybe next time, the developer will keep that in mind and inform people the proper way instead of uploading an app that doesn't mention anything about running as superuser.
[G1 Android Development] Darkrift:
finally someone willing to speak to the guy in a halfway decent manner. I also agree that users blindly installing applications like this is very STUPID. This is the reason most users should NOT have root. I wish tmo/google would release a safer root method that would give it when needed, but not like this.
[G1 Android Development] parrothd:
Man, you people are rude...

If he doesn't want to release the source code then don't install it.. Simple as that...Stop your whining...
[G1 Android Development] haitiankid4lyf:
anyone brave enough actually tried this??? and does it work?? ill be willing to be the guinea pig and try it if someone could just explain hot to remove and add the su password
[G1 Android Development] Darkrift:
A Few ppl have tried it, and confirm that it works, but that is STILL not a good reason to use an app as root that you are unsure of. I would wait patiently while the author decides if he wants to release the source.
[G1 Android Development] dwang:
Thanks, it works great!

I would love to see the browser supported though.

Looking forward to your next release.

Ignore the haters. :-)
[G1 Android Development] nuuneoi:
Honestly, I didn't care my source code that much. But the reason I didn't release source code is it is too dangerous. My source code patch the firmware binary directly. Although it's safe in my application because I work with Android source code quite for a long time but it will be not safe if the source code goes to public. My source code can be applied to create virus easily!

The method I used is quite new and I believe that not many guys know this trick. However, in my opinion it's a good news.

I'm developing new one that does not require root access. See you again that time then.
[G1 Android Development] jashsu:
In an ideal world everyone would either not install untrusted apps with root/admin (actually in an ideal world there would be no malware) or they would do so knowing fully well the risks involved. However this is not an ideal world and sooner or later some newb with modified RC30 is going to end up bricking his phone on a piece of malware and thats when the blame is going to start flying around.

To be perfectly honest if you were to weigh the hurt feelings of a few devs who refuse to release source against the fragile thing we've got going that is root on G1, i'd gladly pick the latter any day.
[G1 Android Development] jashsu:
=O

Now i'd definitely like to see the source ^^. Well source or not I eagerly await your next offering.
[G1 Android Development] npace:
I'm sorry... I can't help it...

There's no need to modify any binaries in order to write an app that runs as superuser and you know it well. Whatever you are modifying, it's after you've gained root access. A "virus" can be written without modifying any binaries and without using your source code.

I'm not trying to be flaming here. You don't need an excuse to not post the source code but I'm not falling for the one you gavel.
[G1 Android Development] dwang:
Question, will enabling auto rotate cause any performance or battery issues with the g1?

Are you polling the accelerometer every couple of secs or are you using a different method?
[G1 Android Development] Darkrift:
Um..... So you are saying everyone can trust you with their (expensive) device, but you cant trust them with the source.... I think you should reword that a little. I was hoping you were thinking against releasing the source for monetary reasons (which is your choice) but this reason is rediculous. Anyone here who knows how to make your code into a "virus" (erm, linux and virus do not mix very well) would know how to do it without your code.
[G1 Android Development] Koush:
There are several ways to do this (I dug through this code for several hours), and I'm reciting this off the top of my head, so forgive me if I misspeak:

Method 1 (easy but hackish):

Call Surface.setRotation(...)

That lets you rotate the screen (you to run this from a console Java app with root).

However, that doesn't rotate the touch screen input. The only way to do that is to fake out the keyboard "lid" state being open here:

\mydroid\frameworks\base\core\jni\server\com_android_server_KeyInputQueue.cpp

Method 2 (less hackish):

Alternatively, you can probably further modify the aforementioned file to fake out lid state change events to do rotations.

Method 3 (least hackish):

Change the default requested orientation to ORIENTATION_SENSOR. This should work in theory, but it was causing my emulator to crash like crazy due to some dex file and OpenGL issue. Not sure why. It would probably work just fine on the phone, but I didn't want to mess with it.

Method 4 (not a hack at all, but doesn't work automatically with future apps and it is tedious):

Modify the Activity classes for all the apps and set their Orientation to ORIENTATION_SENSOR.
[G1 Android Development] nuuneoi:
Not polling method I'm using since polling method consume battery quite much. The way I use is to change parameter in firmware binary, so all application will have ability to rotate screen by sensor.
[G1 Android Development] nuuneoi:
That's fine. The method is here.

1. Open the /system/framework/framework.odex with hex editor.

2. Go to offset: 1104724

3. Change 0x0F0012F6 to 0x0F001246

(0xF6 means default orientation = unspecified, 0x46 mean default orientation = by sensor)

However, you can't replace it back with your modified version because the yaffs2 issue.
[G1 Android Development] Koush:
Method #3 on my list :)

But yeah, doing a hex edit rather than a recompile, is a very very scary change.

You should do a hash comparison of the file first, if you aren't already.
[G1 Android Development] dwang:
So does that mean when you set the auto-rotate option in your application, your code goes through all the apps installed on the g1 and modifies the offset? Is the offset the same for all applications?

Why doesn't that offset work for the browser?
[G1 Android Development] swarttsc:
thank you very much for this app! i've been waiting awhile for this, a suggestion, unless i am crazy it does not auto rotate when your viewing pictures, my apologies if thats already been posted but thats my suggestion, be able to rotate so you can view the landscape pictures without opening the keyboard, but still awesome app and I look foward to more of your releases!
[G1 Android Development] Koush:
It modifies the offset for a single base class.

The Browser explicitly set's it orientation:

BrowserActivity.java

setRequestedOrientation(mSettings.getOrientation());

Changing the default to OREINTATION_SENSOR will only be used if it has not been explicitly set (which is not the case in the browser).
[G1 Android Development] dwang:
Ok thanks.. so probably the easiest way to add auto-rotate to the browser is to modify the source, recompile it, and replace the default browser app.

Is that even possible?
[G1 Android Development] Koush:
Yes, I've done it myself.
[G1 Android Development] SGTDavePwnage:
Any chance you could upload the recompiled browser file matey?

Cheers
[G1 Android Development] Darkrift:
Can the recompiled browser just be replaced on the device or does it require the system image to be replaced? If the former is true, and you wouldnt mind, would you be able to upload the file and give path info?
[G1 Android Development] dwang:
My guess is you probably have to replace the system image.
[G1 Android Development] Darkrift:
We need to see if JF can add this tweak into his next release :) Could you post the changes so he can make them?
[G1 Android Development] :
root password

will you be implementing a way to use our root passwords with this app? maybe a menu item that specifies the password we set?
[G1 Android Development] Zappza:
I am having some problems with getting the orientation mode to change to landscape when I pull out the keyboard. Some times it will change the orientation mode from landscape to portrain when I pull out the keyboard, and sometimes it won't react at all.

This could very well be caused by a conflict between the mod and Androids default settings.

If this is a fact, it would be a very good thing if the mod got overrided when the keyboard gets pulled out.

In theory this shouldn't be a problem, since we always type on the keyboard while holding the phone in landscape mode, but I don't know why it won't work for me in practice.

Otherwise, good app :)
[G1 Android Development] ultimind:
I'm having the same issue of the screen not rotating when pulling the keyboard out. You have to close it, turn the phone in landscape, then re open the keyboard.
[G1 Android Development] haitiankid4lyf:
can any one tell me how to disable su password??
[G1 Android Development] parrothd:
Opening the keyboard no longer flips the orientation, you need to turn the phone to flip the orientation...
[G1 Android Development] Gary13579:
Imagine this convo between someone who buys an anti virus software and the company that produces it.

Person: "Oh hey, I bought your product but it won't install. wtf?"

Company: "Are you sure that you're running it as an admin?"

Person: "WHAT THE **** YOU ****ING EXPECT ME TO RUN THAT AS AN ADMIN ARE YOU ****ING CRAZY. I DEMAND YOU GIVE ME THE SOURCE CODE TO YOUR PROGRAM OR I WANT A FULL REFUND".

Yeah, you guys are sounding that stupid right now. This program REQUIRES ROOT ACCESS. IT WILL NOT WORK WITHOUT IT.
[G1 Android Development] Darkrift:
Yes but most linux program do not require root to run. This is why linux is more secure and windows is not. Breaking that security is not a good idea. When programs require root access to function you are giving a lot of blind trust in the author. Your example using windows is not a good comparison because everything uses "admin" which is why there is a need for antivirus in the first place.
[G1 Android Development] npace:
Yes, we ****ing care about what kind of **** runs on our computers/devices.

If you feel all warm and fuzzy signing the title of your car to someone you have never met, by all means, install away.
[G1 Android Development] haitiankid4lyf:
keeps giving me operation failed when ever i try to enable auto rotate, any body have any ideas
[G1 Android Development] kaewkasi:
Hi npace,

So, just please not install it. :-)

But I'm really wondering how could you _trust_ and install the modded RC image without seeing all of its source code.
[G1 Android Development] jashsu:
Unzip both the official RC30 and xda-dev RC30 and delta the folders. You can see where the differences lie.
[G1 Android Development] Darkrift:
Full source is available for the updated RC "roms". Most just have minor edits in the text file, but recently major changes are being done (and most documented). The authors of these "roms" are releasing them "pre built" so every user does not have to build their own and not to keep source hidden.
[G1 Android Development] Gary13579:
Take a look at the applications byte-code. Or convert it back to java, then decompile it back into it's source code.
[G1 Android Development] ridli:
First you have to do is select option ( 1 ) Remount /system as Read/Write then when you do that you can enable auto rotate, the next step y reboot the phone .

Important! you have to remove the SU password!! ( if any )
[G1 Android Development] kaewkasi:
@Darkrift

Ah I see. It's my bad that I do not know that they release some source code of the modded roms.

But I dont really believe that everyone bothers recompiling the modded roms from source by him/herself. (Anyway, that's the different story).

@jashsu

@Gary13579

Thank, guys.

So, I think @npace could do the same by disassembling, and proving of security without blaming the author of not releasing the source code.
[G1 Android Development] phatman81:
I am still having trouble with the auto rotate feature. i have also renamed my SU to a secret word and have a feeling that this is why it is not working for me. Can anyone verify this theory?
[G1 Android Development] parrothd:
Yep.. :) remove the password and press 1 then whatever it was to enable auto rotate..
[G1 Android Development] ridli:
hmm...

:rolleyes:
[G1 Android Development] Darkrift:
They arent releasing source code, the source is already released (android source). All they are doing is editing the script that removes permissions from the files so you can still execute them. Most of these changes are simply deleting a line from the update script.
[G1 Android Development] haitiankid4lyf:
How do I remove SU password! I've been looking everywhere but can't find out how