yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] rich0:
Keep in mind that it is physically impossible to secure your phone against somebody who gets their hands on the actual device. You can only make it harder to get at it. If somebody wanted to they could just read the flash chip directly or use JTAG to get at it. However, I agree that adb could be made a bit more secure.
[G1 Android Development] nobodyimportant:
@lbcoder,

That's nonsense. Check any linux system, /bin/sh is always owned by root and is always executable. Running an executable owned by user X does NOT run said program as X. Copying a binary onto the phone preserves permissions, so if i chowned an sh binary as root on my computer and copied it over, the binary will stay owned by root. The su binary is just that, a binary. It is not simply a shell owned by root.
[G1 Android Development] alapapa:
you're missing the bit (pun intended) about su being setuid root. when a normal user runs su, it does, indeed run as root, but it uses the security subsystem behind the scenes to prevent unauthorized activity:

http://en.wikipedia.org/wiki/Setuid

the 'unzip' executable will, indeed, preserve ownership, but to my knowledge, there's no way to copy a setuid binary to the phone as a normal user -- there may be a way it could be pulled off, but I don't know how
[G1 Android Development] lbcoder:
I have one thing to say to you:

http://en.wikipedia.org/wiki/Setuid

:o

Now that you've made a complete and utter fool of yourself, how do you feel?

FYI: your regular user can NOT chown root. Go ahead and try it.
[G1 Android Development] lbcoder:
It is a moot point whether the setuid bit can be restored since a regular user doesn't have the ability to change the owner to anything but self, which means that the best they could do is create an su binary that will give other users THEIR OWN permissions.

A regular user can change ownership *only* to self -- i.e. if they have group or other write permission, then they can chown the file. They can also change the group, but only to groups to which they are members -- and this requires that they already have some form of write permission on the file.

Note that extracting a file is no different than actually *creating* the file, which means that if the user couldn't simply MAKE the file, then they can't *extract* the file either.

If any of this was untrue, there would be nothing to stop any user from doing something like this to take over any Linux computer (except from within a chroot jail, but that doesn't apply here);

cp `which sh` ~/su; chown root:root ~/su; chmod 4755 ~/su

** but that most definitely won't work.
[G1 Q&A, Help & Troubleshooting] bradtraver:
So I updated to JFv1.51 last night, realized I no longer had edge and remembered I had to redo all the APN settings. The phone will not save an APN. I can enter one and his save and it just disappears. The phone acts as if it was saved, no force closes or even stalls, it just goes back to the APN screen but it is blank. What is going on?
[G1 Q&A, Help & Troubleshooting] supremeteam256:
Switch roms.....
[G1 Q&A, Help & Troubleshooting] david1171:
check out this thread
[G1 Q&A, Help & Troubleshooting] bradtraver:
So all I need to do is change the APNs in the config file to the Rogers ones, push that to /system/etc/apns-conf.xml with ADB then reset to default APNs? Thanks, I will give it a try and get back to you soon!
[G1 Q&A, Help & Troubleshooting] bradtraver:
So I edited the file and the APNs still do not appear in the list but I have EDGE.. Strange..
[G1 Q&A, Help & Troubleshooting] bradtraver:
I thought 3G wasn't supposed to work in Canada because of the different frequencies? Today I was driving around and the E logo changed to a G for a while.. What?
[G1 Q&A, Help & Troubleshooting] david1171:
you connected to a GPRS connection which is slower than EDGE. if you had 3G the data icon would have 3G in it instead of G or E. sorry you got your hopes up. I don't have 3G where I live either wifi gets the job done
[G1 Q&A, Help & Troubleshooting] SolemnWishing:
Has anyone been able to get Amazon MP3 working? If I push the .apk and .odex from any build into system/sd/app or system/sd/app-private, it results in a boot loop. Installing the version without an odex file results in a force close. Anyone know how to install this?
[Touch Pro, Fuze General] davebo:
I had a little water ingress recently and my TP started vibrating and rebooting. I managed to dry it out and get it charged and it seems to work okay. Only problem is the rear light is on permanently. This will drain the battery in no time.

Any ideas how I can turn it off ?

Thanks in advance,

DBo.
[Touch Pro, Fuze General] davebo:
Please help...

No one ?

I noticed that the light is coming on as soon as the battery is put into the handset. It doesn't even need to be switched on!

Thanks, DBo.
[Touch Pro, Fuze General] Bruce Inman:
Its definitely shorted. Does going into Camera and trying ot turn it off work?

Have you tried an aftermarket "flashlight" program to mess with the settings?
[Touch Pro, Fuze General] davebo:
Thanks

Thanks.

Yes, I've tried turning it on and off in Camera mode. No joy.

I may have to try and find an after market flash control. Any pointers ?

Cheers, DBo.
[Touch Pro, Fuze General] davebo:
No luck so far...

Ozzy's Actions screen (whilst an excellent piece of software in itself) didn't solve my problem.
[Touch Pro, Fuze General] davebo:
Sorted itself

Very strange, but I took my handset abroad with me and at some point it must have completely dried out as it is now working properly again and the battery life is back to normal (i.e. poor but not abysmal).

Cheers, DBo.
[Wing, P4350 ROM development] ace10134:
Before was Bepe, I think.
[Wing, P4350 ROM development] guntcent:
i keep getting error on the HTC back up thing. can anyone help me please:(
[Wing, P4350 ROM development] illconcepts:
What combo are you trying?
[Wing, P4350 ROM development] guntcent:
well all im doign is add a couple of cabs and thats it
[Wing, P4350 ROM development] illconcepts:
Some cabs don't like to be used with the Creator. Try a different version if possible or try to find the OEM files
[Wing, P4350 ROM development] ace10134:
I made a ROM with your kitchen.

Now you don't have to cry yourself to sleep. Are you happy Mr. Ill?
[Wing, P4350 ROM development] illconcepts:
Can anyone else verify the kitchen works? Guntcent kept getting an error after th PPchanger screen... which has never happened to me.. I have deleted it from my comp and re downloaded it and it cooked fine for me.

edit: i should be uploading an updated one later on today, depends when i get off
[Wing, P4350 ROM development] suprduprchunk:
I tried last night following the instructions and all I get after I select (2) build rom is a message that says "system cannot find the batch label specified". Any ideas what I'm doing wrong.
[Wing, P4350 ROM development] illconcepts:
are you running XP? I had that problem originally with hollys kitchen. i installed SP2 and NetFrame 3.5 and once i nstalled AVG Internet security it worked lol no idea why some security thing i think. Anyone else have an idea?
[Wing, P4350 ROM development] suprduprchunk:
Yeah running XP
[Wing, P4350 ROM development] suprduprchunk:
I have SP3
[Wing, P4350 ROM development] suprduprchunk:
I installed AVG and works good. Thanks
[Wing, P4350 ROM development] illconcepts:
lol ya i dunno why... but good!
[Wing, P4350 ROM development] ace10134:
Lol, that should be listed as a "Terrible" feature of your kitchen, Mr. Ill. LOL. That is EXTREMELY weird. How da hell does virus software have anything to do with ROM creation? And I don't have a speck of AVG on my computer, either. Idk. Soo weird.
[Wing, P4350 ROM development] illconcepts:
lol its not my Kitchen though. When i installed HollysKitchen on my XP i had the same problem. It was the weirdest. I should work out a deal with AVG since this will get them customers lmao
[Wing, P4350 ROM development] ace10134:
LOL. But yea, verry weird. Well, I've never seen a better usage of exclusive-platform programs! StrippedKitchen...Exclusive to AVG customers :)
[Wing, P4350 ROM development] illconcepts:
I uploaded Stripped Kitchen V2.1 See first post!
[Wing, P4350 ROM development] ace10134:
Do we care? ;)

I still like Ill-Holly-Ivan-Bepe based kitchens more than Ivan's SuperJustKitchen though. Holly's OEM folders were quality, I think that's my favorite part of it.
[Wing, P4350 ROM development] illconcepts:
Why are you still here?? LMAO Go play with your TP2!!!! :eek:
[General Topics] quicksite:
I understand the issues with OperaMini being java based, and so cut & paste doesn't work (except for secret Menneisyys relay methods :) )

And one workaround is the SIP softkeyboards that have built in cut-copy-paste functions... for example, I use PCM Keyboard, and, only within input fields, which open up a text page, I can copy, paste, etc.

But I have not seen: "Clear" or "Select all & delete". For example, I am composing a reply-Gmail on OperaMini, and I want to get rid of most of the prior reply that is carried onto my compose screen. I see no way to "select all" and delete.

The best I can do is go to the end of the whole text block, and hit delete key and keep hitting it repeatedly until the space is cleared. Even that would be okay if the repeat-key delete function was super fast, but it's super slow.

Any ideas?

QuickMenu, which I use (and is built into Ivan's ROM i am using for my T-Mobile wing) has some special copy-paste-select all-select all & copy functions, but I cannot seem to use them in conjunction with an OperaMini input page.
[General Topics] jez83uk:
On Esmertec Jbed you just press cancel, and it exits the text input page without making any changes.
[myTouch 3G, Magic Android Development] cminion:
Hi Guys

I have tried to put together my own config files for the sapphire, these go in the vendor/htc/sapphire directory after you have extracted the source

by no means are they perfect but i hope they will start some fresh development.

http://www.cminion.com/wordpress/2009/08/11/rolling-your-own-android-rom-for-htc-magic-sapphire/

If something doesnt work, or anyone manages to perfect them let me know so I can repost.

please let me know how you get on
[myTouch 3G, Magic Android Development] Amon_RA:
Nice work!

Did you try this for a 32A or 32B board?
[myTouch 3G, Magic Android Development] k4r1m:
Looks interesting... anyone tried this for 32A since 32B don't have this issue in the first place?
[myTouch 3G, Magic Android Development] cminion:
I have a 32b and someone is testing it with 32a but we are having trouble compiling today its been fine in the past
[myTouch 3G, Magic Android Development] k4r1m:
Well keep us updated if you get anything working for 32A since all of 32A users are stuck with the htc kerel... if you need someone else to test you can pm =D
[myTouch 3G, Magic Android Development] Radix999:
I've been trying my best at building a kernel for 32A, but no matter what I do it doesn't boot at all.

Does anyone know how you can debug a kernel the kernel's boot process at all? I just get hangs or reboots from any of the kernels I build and I've no idea what is missing or where it's going wrong. If it gave some sort of output then I might be able to figure out what I'm doing wrong! (adb logcat doesn't kick in until AFTER it's booted unfortunately)

How have the 32b users gone with this? Anyone managed to boot one?
[myTouch 3G, Magic Android Development] biktor_gj:
Hey, just saw your post and I'm taking a look. So far it's OK, but I think you're missing (at least) the keypad files. Also, a little legal note (in case you didn't know), you aren't legally able to pack the qualcomm libraries on the proprietary/ folder. Not that I really care about it, but I thought you should know since maybe you're going against xda rules by posting copyrighted files -not sure anyway-. Maybe it's better if you leave the propietary folder empty (or just with the minimal stuff like the keymaps, audioparametters and .ini files) and let the extract-files script do the job for whoever uses it to compile. After all, if someone uses this, he already has the libraries on the phone :)

Anyway, I'm going to compile, if I see something else missing, I'll modify accordingly and send you the changes made, ok?

Regards!

PS: Nice work ;)

EDIT: Okay, I did some little changes on the board file definitions,renamed the folder to sapphire-open (to match dream-open added the keymaps, and a kernel & wlan.ko I had laying around (it's still compiling so maybe the kernel doesn't start, but it still needs an hour or so to end the build, but so far, it's not failing). I have packed it, you can get it here: http://rapidshare.com/files/266633357/sapphire_config.tar

If I see something else I'll repost :)
[Windows Mobile Apps and Games] S.V.I:
RoryB managed to compile a Mortscript that takes care of the boredom I feel when changing my today screen wallpaper.

Basically the idea is that every time you update weather in manila, the weather icon becomes the today screen. It is also very important to use the same images from manila due to the already super high file count.

Well, he cleverly managed to make it work!

(Post 29)

Now I got the images together.

THIS WILL REPLACE YOUR ENTIRE MANILA SKIN

REQUIREMENTS:

* MORTSCRIPT 4.2 (attached)

* MANILA Update 23/MEGA

* MANILA GFX CAB (also attached)

OPTIONAL: I included my R TSK "R" is for R-type. install cab, run TSK, then re-run the script.

Patched Manila Mega 1919

Weather Patched Mega Manila for 6.5 only

Weather Patched Manila (Update 23) for 6.1

Manila2D WeatherCities Editor

Keep checking this thread for updates. There is a new script on post 2

Directions to edit the HTCHomeSettings.XML are also on post 2
[Windows Mobile Apps and Games] RoryB:
I have made a tweak to the script to shorten the time it switches to the weather tab to the absolute minimum. If you are looking at the M2D and the script runs, it just flickers for a second and that's all you see.

------------------------------------------

Start of original post by S.V.I

------------------------------------------

manila XML. these are the edits that You have to make:

Some of the lines in the home tab Have to be edited like below

The weather panel can be copied and pasted (solves landscape issues)

This is not the final weather tab. I still have to edit some stuff.

I have a feeling that the reason that some people are having issues not seing it on their today screen, is that the digital clock overlaps the background. so it has to be analogue.

The HOME tab xml (If you edit just the lines below) should fix your analogue clock for both analogue and digital.

Then you need to edit registry:

[HKEY_LOCAL_MACHINE\Software\HTC\Manila2D\Home]

"ClockType"=dword:00000000
[Windows Mobile Apps and Games] scilor:
I am not familiar with Mortscript, but isnt it an idea to read out the current weather from the registry, and depending on the values change the wallpaper
[Windows Mobile Apps and Games] mhrc4:
This has been accomplished somewhat before, with Manila I believe, but the previous poster was right, its a MortScript that pulls weather information and based on the results, changes the default wallpaper image.
[Windows Mobile Apps and Games] saf100792:
yea jmltoday for titanium does it but im not sure about manila.
[Windows Mobile Apps and Games] S.V.I:
right. thats the idea. for manila, the best wallpaper change would be the title line as it is the only graphic that can be in the back of all the other elements nd can have the transparencies to keep whatever background anyone wants to choose.

I tried to make the weather tab with full screen weather, but it covers up the city name and weather description text... but looks really cool.

I am going to tr to figure this out within the manila xml.. something that I have not tried yet... however I dont have much hope for it. :/
[Windows Mobile Apps and Games] MichelDiamond:
Everything is possible ... sometimes :) You could use JMLToday for that...

I'm not sure, if you need Titanium to install it properly - but afterwards - only call jmlmeteo-Script (Put weathercode (e.g. "USNY0001" for New York) from MSN in Registry-Key "Ville" ) and adapt the weatherbackgroundchanger from JMLLibrary - to change Manila-Wallpaper instead of st_water...

Greetz

Micha
[Windows Mobile Apps and Games] RoryB:
It could be a mortscript that checks the value for the icon in [HKEY_LOCAL_MACHINE\Software\HTC\Manila2D\Weather\0]

If it has changed since the last time it checked, it can set a variable to that icon name and reset the wallpaper registry to call a file with a similar name that is the right size.

It would then sleep for a period of time and then repeat the process.

This probably means a separate folder or group of image files that do not mess up the weather tab.
[Windows Mobile Apps and Games] tomoffel:
Am I right, you mean the top-curtain?

why not creting different _manila files (don't know the name of the top curtain file) and just replace them by the mortscript? I don't know if we have to restart manila, that we can see the change of the file, but that would be the best and maybe the most easy way, right?

I like that idea.. but have no skills in creating _manila files or mortscript :/

maybe we can use the already existing mortscript for s2u2 and modify it?

The idea is the same.. we just have to find the manila file, create some grapics and replace the filepath in the script with \Windows\ so that it copies the _manila files to windows :)
[Windows Mobile Apps and Games] S.V.I:
I was kind of hoping that we can just use the manila files tat are already there. no sense in increasing the filecount. I can make te weather icons full screen and set it at 0,0

I dont have the programing knowledge to do this.

I also tried to edit the order of the files in the weather tab in the xml, but it did not work

has anyone tried to make a dll for the large weather icons? it would be nice to get rid of the 88 weather icons and just have one dll... that's just my opinion.
[Windows Mobile Apps and Games] RoryB:
Can you tell me the reg key that holds the wallpaper name?

How often would you like the routine to check for a change in the weather data?
[Windows Mobile Apps and Games] S.V.I:
it is whatever the NON default walpaper is. basicaly,if ou set the toda wallpaper with pimg, you set the walpaper for manila home page. so thats good news.

now it's just a matter of setting the toay wallpaper to the wheather image from manila files. I would asume from everytime you run the weather update. Posible?

it should alo be the image from forcast0 in manila as that is the first city.
[Windows Mobile Apps and Games] jekyll60:
http://xdaforums.com/showthread.php?t=528715&highlight=weather

Hello.. I´ve tried this one... If you have s2u2 the funktion is like you want..

But you can read in my post, that i deinstalled it, because its eating my akku...
[Windows Mobile Apps and Games] RoryB:
I have this so far.

FilePath="\windows\"
CurWx=RegRead( "HKLM", "\Software\HTC\Manila2D\Weather\0", "Icon" )
While( (CurWx EQ "" )="FALSE")
If( CurWx eq PreWx )
Else
PreWx=CurWx
RegWriteDWord( "HKCU", "\Software\Microsoft\Today", "DPI", 96 )
RegWriteDWord( "HKCU", "\Software\Microsoft\Today", "UseStartImage", 1 )
RegWriteString( "HKCU", "\Software\Microsoft\Today", "Wall", FilePath & "HH_WEATHER_" & CurWx & ".png" )
RedrawToday
EndIf
Sleep( 10000)
CurWx=RegRead( "HKLM", "\Software\HTC\Manila2D\Weather\0", "Icon" )
EndWhile

This changes the registry values associated with the wallpaper. Problem is redrawtoday does not show the wallpaper. I have noticed when I make the settings in the today settings page it appears to run a prgram (based on waitcurser showing up). I have not been able to catch what the prgram is. This may need to be a .NET or C program.
[Windows Mobile Apps and Games] rotastrain:
no problem i can do this...

i already hav written scripts earlier to update the...wallpaper...animate etc etc..

now u want the image to update according to the weather right?

have useen sense ui?u know the weather thingy on top.like a widgety thing...i can make that or just this what u r saying?

which do u think is better?

plus r u vga?...wvga?

ALSO:

the weather in manila updates when v go to the page..so this modification will update the wallpaper based on the updated weather..i dint think it can update the weather itself..

il take this as my next project :)
[Windows Mobile Apps and Games] RoryB:
Found what I needed

# In case we decide on a different file folder or if use a different weather source
FilePath="\windows\"

# start wallpaper if not already started
RegWriteDWord( "HKCU", "\Software\Microsoft\Today", "DPI", 96 )
RegWriteDWord( "HKCU", "\Software\Microsoft\Today", "UseStartImage", 1 )

# Read the current weather icon
CurWx=RegRead( "HKLM", "\Software\HTC\Manila2D\Weather\0", "Icon" )

# Start the loop
While( (CurWx EQ "" )="FALSE")
If( CurWx eq PreWx )
#do nothing here
Else
PreWx=CurWx
# so name reads correctly in today settings
RegWriteString( "HKCU", "\Software\Microsoft\Today", "Wall", "HH_WEATHER_" & CurWx )
Copy( FilePath & "HH_WEATHER_" & CurWx & ".png", "\Windows\stwater_240_320.gif", TRUE)
Copy( FilePath & "HH_WEATHER_" & CurWx & ".png", "\Windows\stwater_320_240.gif", TRUE)
# to get the wallpaper loaded
SendMessage( HWND_BROADCAST, WM_WININICHANGE, 242, 0 )
# to get the today screen refreshed
RedrawToday
EndIf
# adjust sleep to how long you want to wait between refreshes, but the more often it runs, the more resouces it uses
Sleep( 10000)
CurWx=RegRead( "HKLM", "\Software\HTC\Manila2D\Weather\0", "Icon" )
EndWhile

I believe the weather tab does not update automatically if it is not active. What I have noticed is that if I go to the tab and it has been longer than 2 or 3 hours it automatically starts to update. Otherwise I pick the leftsoft key to update now.

I do not have a switch to turn it off, but you can use taskmanager to kill this.

BTW I have 4 suns showing up based on the file size. I am trying to find a setting for tilemode versus fit or centered like PC's desktop image.
[Windows Mobile Apps and Games] S.V.I:
That would not be nesesary if the weather image itelf is 320X268 easy to do by changing the canvas size from the top left corner.

I have mine set to auto download

I would love to try it. can you cab it up? I actually dont have mort in my rom right now.

I will update the gfx later tonight (way late at night unfortunately)

Would thi be run with mort? or a eparate process?

and manila2D is Qvga.. but I do not think it makes a difference.

if the manila is set to download weather on auto this should not cause a problem.

Thanks guys! this will be the coolest thing to happen to manila EVER!!
[Windows Mobile Apps and Games] RoryB:
You can install mortscript from his website.

Just download this file and remove .txt from the file name to get the script.

Are you sure yours is updating in the background?

Do you know if there is a registry that changes or program that runs while the weather data updates? Watching for that to change is the only way I know of and I think that will still have to have a time span set in it. I just talked myself into thinking this is the best way I have for now.

I am still going to try to find a way we do not have to resize the images.
[Windows Mobile Apps and Games] S.V.I:
I just tried it. it canged the reg but not the image.

I think that it has to be the set as wallpaper context menu that does it.
[Windows Mobile Apps and Games] RoryB:
It looks like the image has to be 320 x 320 to be clean, but the sun has to be offset from the upper left corner.

Try this. Uncheck the use as background from your today settings, then okay. Make a backup image with ceregedit and then check the box and select an image to use as a background, then okay. Then run compare and see what changes. Maybe your Kaiser is a little different than my Wizard.
[Windows Mobile Apps and Games] Martinhdk:
Sounds pretty awesome ROTAKING :p - my TOPAZ will love this...