yashsingh1/xdaforums huggingface dataset:
[Touch Pro, Fuze General] Pendarus:
Maybe if I explain myself better, someone may have an answer or opinion.

I have a friend with a Sprint touch pro with a bad logic board (motherboard). He got a new phone and offered to give me the touch pro.

I am on AT&T and was wondering, if I can get a logic board from a GSM touch pro would it fit and work? I would assume to save on production costs the phones are the same, with different logicboards for GSM and CDMA.

I could be completely wrong, but that's why I am asking before I take the time or spend the money to get the fuze logic board.

Thanks!
[Touch Pro, Fuze General] RonDutt:
You are correct, the boards are different between the two (even more so as theyre GSM vs CDMA). Your best bet would be eBay for bad ESN/broken Fuze's. Also, seems like you're under the impression that Sprint is GSM, they are not. Sprint is completely CDMA (except in certain markets where they've bought out smaller competition and have some GSM towers).
[Touch Pro, Fuze General] Pendarus:
I understand Sprint is CDMA only, thats why I wondered if the GSM logicboard from a Fuze would work in the Sprint phone I got from my friend. Basically I want to convert a CDMA Sprint Touch Pro to a GSM Fuze for AT&T.

If the rest of the Hardware is the same and I found a Broken Fuze with a good logicboard, it would be a simple swap.
[Touch Pro, Fuze Themes and Apps] xternal:
Does anyone know of a util which will launch a set app when the stylus is removed.

It would be great if it only launched he app if the stylus is removed when in suspend state or on the homescreen. I want to remove the stylus and it launch a new note, so i can just scrible some stuff down.

Cheers
[Touch Pro, Fuze Themes and Apps] mstevens:
You're looking for the free utility Gyrator, which will do what you want.

http://gyrator.brins0.net/
[Touch Pro, Fuze Themes and Apps] xternal:
Thanks.

I installed, but it doesnt seem to have an option to launch applications though on event :( ah well
[Touch Pro, Fuze Themes and Apps] TomasNM:
You can read a state value from registry,this you can cyclicaly watch and if it changes and set a flag to run the app. This can be done with Mortscript.
[G1 Android Development] noderat_tmobile:
I'm looking for beta testers for a new App2SD implementation that does not require your MicroSD card to be partitioned which is potentially unsafe and can result in a loss of your data. If you'd like to test this new implementation before it's release here on XDA shoot me an email at loop2sd@noderat.com with what firmware and version you're using.

More information will be released after I get a few positive beta tests out of the way.
[G1 Android Development] f4phantomii:
loopback device, eh?

I tried that a while back but never could get the loopback driver to load early enough in the boot process reliably.

Hope you have better luck than I did.
[G1 Android Development] MartinFick:
As MarcusMaximus04@gmail.com pointed out to me a while ago, this is not a good idea for security reasons. If your loopback file sits on the FAT partition, it is accessible by all of the apps, it can be read, overwritten and deleted by a rogue app bypassing the entire android security model. If this is what you intend to do, it's probably not "safer". ;)
[G1 Android Development] JRudnik:
Hey, shot you an email. Ready to try it out. But only for beta.

Hit me up, I have no apps to lose.

But security? Idk just let me know whats up.
[G1 Android Development] southsko:
what happens when you mount the SD card to your computer?
[G1 Android Development] JakeEv:
I'd like to try it, but i don't yet have a class6 sd card. Is that necessary?
[G1 Android Development] aaronkt:
i'd be willing to give this a shot. I have no data to lose as well.
[G1 Android Development] testing567:
That's true. Won't all your apps disappear when you mount the SD?
[G1 Android Development] crotalusfreak:
This smells fishy not many app developers with 1 post can this be someone testing their new exploit/virus?No offense to original poster im just sayin....???

Edit:Sorry to OP clearly not a virus,and good luck on getting it stable I will gladly donate to your cause partitioning is a pain!
[G1 Android Development] tubaking182:
don't be a jackass, many people have had great ideas and decided to come to XDA to share them. just because you are a complete idiot who can't program does not mean that the OP is too.

@@OP

you are playing with fire my dear friend. i don't think that mounting your apps on the FAT32 partition is a good idea at all. not only because it would allow any program to access and write without asking android permission first, but because it would allow people to mount the SDcard and steal paid apps even easier. i beg of you please rethink your idea
[G1 Android Development] andonnguyen:
I imagine the phone would be crashing when the phone is mounted to the computer. lol. just kidding. =]
[G1 Android Development] crotalusfreak:
WTF?Just came back to edit my post and put that its for real cause like I should have done first I found this http://noderat.com/loop2sd/.But as for your insults who the hell are you?How the f**k do you know what I can or can not do?I was posting in the first place to start trying be more active in the forums no reason for you to be a **** anyways,I was tryin to help people not get what I thought may have been a virus was that really that bad?
[G1 Android Development] tubaking182:
i'm not sure that is 100% true. when i mount my phone(apps2sd) my phone decides to mount the ext2 partion and the FAT32 partition, i am using ubuntu so my computer is able to read the partition, but my phone doesn't crash(i've yet to try running an app while mounted though)
[G1 Android Development] maxisma:
Android can acces the sdcard while mounted.

Try terminal emulator.
[G1 Android Development] MartinFick:
Well, take it from someone who has many posts and 15 years of unix experience, it is a bad idea. :)

Most of the devs here had this same idea, but as I mention in my previous post, this is opening yourself up to many bad security issues. To all those who answer, "I have no data to lose", that's fine as a beta tester. But what's the point in beta testing something that cannot be safely used by anyone who does have data (or apps) to lose?

I should point out to those who perhaps do not realize some the consequences of my original post, that it is not just a potential data loss problem, but a potential arbitrary code execution vulnerability. If an application manages to replace the loopback file with a new loopback file, it could inject altered common applications. If this succeeds, it means that previously trusted applications which have been granted privileges (or root using the various su apps) at install time, could be replaced with trojan versions which can have complete control over your system... steal your passwords... reflash your bootloader and literally install a permanent trojan... brick your phone... <insert other scary things besides data loss here>.

It's your phone, do what you want. I just figured that I would re-post that this not a new idea, but one that has been rejected by those of us with unix experience who realize the consequences. If you are just messing around, go ahead, it's not likely to hurt your phone. But, as a general method to build upon and be depended on, this should not have a future. If this becomes common practice, it is highly likely that exploits will be written to take advantage of this vulnerability.

So, if you are asking yourself if something is fishy, yes something is: it's a logical idea which seems great on the surface, but it has an unfortunate flaw.

Note: I am not suggesting malicious intent on the OP's part, just that they may not have thought of the consequences of suggesting this as a common method to do apps2sd. And if the OP (or someone else) is able to point out a method to avoid the things I warn against I will happily retract my statements (if I agree that this method would indeed work) since this method has some obvious benefits. However sadly, I think that is highly unlikely. :(
[G1 Android Development] lbcoder:
No it can't. It can only access the empty mountpoint.
[G1 Android Development] lbcoder:
If you want to do this, there IS a way to make it work SAFELY....

Find the functions that control sdcard mounting and unmounting and FIX it so that it will mount an ext2 first partition. Then forget about the whole loopback thing as thats not going to do anyone any good... If you do it like this, then unionfs it, then unmounting the sdcard should safely vanish the apps that are stored on the card (leaving the internally stored apps), might crash the launcher, but that'll restart immediately and won't even error out.

A second step in the right direction would be to find the place where programs are detected from, which currently looks in /data/app, /data/app-private, /system/app, so it can clearly handle loading software from multiple locations -- add in a new path. Or maybe link app-private to /sdcard... A little more challenging would be to allow it look in multiple locations for thing that are ALL currently in /data/data and /data/dalvik-cache.

And then when its done, submit a patch for the source.
[G1 Android Development] noderat_tmobile:
Wow what a response. Here's a few key bulletpoints:

I'm not a forum poster, not the kinda person for it but I have been on XDA Dream since I got my pre-launch G1 as a CSR.

There are potential security flaws with the current ext2 method of a2sd, and bypassing root to mount the ext2 partition is possible.

a2sd is not stable in any format, so it's a use at your own risk until android improves kinda deal.

I'm not cool enough to write a virus, but thank you for the ego boost ;)

Anybody using a third-party firmware is not safe nor secure. If you're reading this forum you're not safe nor secure. The idea of homebrew roms is to add extra features that are not in Android to begin with and with that comes security risks. No ROM is ever perfect but I'd trust a Google or T-Mobile rom with my security before any homebrew-anything.So yes it's use at your own risk

This has the same results for mounting on a PC as MarcusMaximus's a2sd.sh

This doesn't really make it any easier to steal paid apps, it's always been easy and always will be but this doesn't change it.

If you guys have other questions shoot me an email, like I said I don't really do much forum-posting (never had much of anything to say, maybe this'll change all that)

loop2sd@noderat.com
[G1 Android Development] noderat_tmobile:
The faster the better but I've done it with the stock card that came in the G1 as well as a Class 6.
[G1 Android Development] lightforce:
id try it since i can not get apps2sd to work.

kashmir01@comcast.net

using JF 1.51
[G1 Android Development] Mysticales:
Ill support this app if it works out. I cant test on mine since I have alot of data on mine atm. I do have G1s at work I could test on tho.
[G1 Android Development] MartinFick:
Yes, the world is a scary place, but that does not mean that some things aren't worse than others. Waving your hands around and pointing fingers at others does not remove the real problems from your suggested solution. But, by all means if you are aware of vulnerabilities (not potential vulnerabilities) in other trusted android software, please do point them out.

Please explain the The ext2 mount security flaw you believe exists.

Downloading apps and ROMS is risky, running anything that is not open source is riskiest. But we are not talking about malicious or potential vulnerabilities here, we are talking about a KNOWN vulnerability! It's one thing to say there could be vulnerabilities in an app/procedure and another thing to point a known vulnerability out and to ignore it. Just because I run the risk of being hit by a car walking on the sidewalk does not mean that I should just walk in the street instead.

Again, I am not claiming that you are malicious, but that your method opens the door for those who are malicious.
[G1 Android Development] Mysticales:
Same. I can mount both too in Ubuntu. I usually use a USB Memory card reader tho. I tried using my SD slot and had issues when trying to format half and half. So seems the SD slot didnt like dual partitions on a memory card but the USB reader works fine.

Also another issue I have is that I installed on Winxp the ability to read EXT3 but when I plug in the Fat32/EXT2 one it likes to say that the card isnt formatted and so. Other PCs which dont have the ability to read EXT3 and so load up the Fat32 partition normally.
[G1 Android Development] JakeEv:
That's a definite plus for me. I can't justify buying a new card just yet, unless I'm sure I'm going to use it. Mine works fine for storage, but if I can use it for this and decide that I like it, well then I can go out and buy a faster one.

So... where do I sign up? :)
[G1 Android Development] jmon777:
Ok I'm a super noob. and useing martinflicks method it took me 10 mins to make a ext2 partion of 1gb( should of done less). Its so easy to do and heck if u install lucid scrip its even easyer. So all I'm saying is there is no real reason to do it this way. If there is flaw I beg of u not to do it. For the sake the os and all g1's
[G1 Android Development] dwang:
the biggest reason for doing this is so that you don't have to partition your sdcard. That has kept lots of people from doing a2sd. I know about Martin's scripts, but its still difficult to do unless somebody comes out with an apk to do everything automatically without using the terminal.
[G1 Android Development] Mysticales:
While I agree with the statement that someone needs a apk to do everything for them, including terminal commands etc.. However.. one thing I have to say about that.

If you cant read, study, ask questions after you hit search and tried to make a effort to understand the task your doing.. you shouldnt be modding your phone or anything else. Its been a simple rule I live by and its soooo true.

Im not always a expert either when I start tinkering with something new. But thats where studying and asking the correct questions to help understand something more come into play. =)

So while I see this app being nice not having to partition. There is alot to be said for those of us who dont like to fix what isnt broke. =)
[G1 Android Development] NexVision:
The dual partition is the best and safest way which offers the most reliability, enough has already been said to this point. With all the walk thru tutorials out there if u cant do it u shouldn't be IMO. I mean if u cant follow a tutorial or watch one of the videos on youtube and follow it then maybe u shoudn't have a G1 give it to me and get yourself a iphone.
[G1 Android Development] mhsbrian:
That was the iceing on the cake.

What a jab haha!
[G1 Android Development] jmon777:
Not really, I its no harder to than setting up apps to sd. If u lucids method it almost does it for you.
[G1 Android Development] dwang:
I'm not talking about myself. I wrote one of the first apps to sdcard tutorials on this forum.

I have no issue using adb, terminal etc, but there are plenty of others that would like to do apps to sd that would benefit from an apk.
[G1 Android Development] jmon777:
Oh think an app would be awsome. But it should make a partion for and not use fat 32 is all I'm saying.
[G1 Android Development] billc.cn:
The answer is:

This is because vold (previously mountd) will unmount /sdcard from system so it (mmcblk0p1) could be used exclusively by the PC. This is required for file system integrity: there's no (easy) way to allow two system to r/w a FAT partition at the same time.

Yes and no. The sdcard monitor/daemon vold is only designed to unmount /sdcard automatically. Also, in all A2SD builds, /system/etc/vold.conf is modified so that vold would only export the first partition as opposed to the whole SD, so the ext2 partition would stay mounted.

Thus,

However, if we loop mount a file in the FAT partition, we will surely lost all apps if we mount.
[G1 Android Development] noderat_tmobile:
I try to make it a habit to refrain from waving my hands around and pointing fingers at others, it looks rather odd.

But all jokes aside, it does have security concerns - but for the most part market comments and ratings weed out applications which would have rogue intentions. Also the application would need to know the filename of the loopback image to modify it, and to remount it elsewhere it'd also need root permissions which should only be given to TRUSTED applications.

Granted they could manually modify the file but to actually inject a rogue application they'd need to have a small-scale ext2 driver built into the application.
[G1 Android Development] Lieu10ant:
what about THOSE commenters/rater. they're screwed?
[G1 Android Development] MartinFick:
It might be time to move your thread into the windows mobile section of XDA, that is where this kind of naivete belongs. On the bright side, you might be able to start up a whole new market for anti virus software if you manage to make this kind of gaping hole common place. :)

Seriously, I am sorry that you had a what seemed like a good idea only to have it shot down by others, that sucks.

Oh, by the way, ext2 is open source you know. :) Look a user space implementation already written:

http://sourceforge.net/projects/ext2fuse

Wouldn't be that hard to use in an app. I might be even lazier and simply create a ext2 image with the apps I wanted in it and include it in my trojan. No need for a driver, simply copy it over the current loopback image.

As for knowing which file, cat /proc/mounts is likely to provide all I need to know, if not, there is plenty of other nice stuff in that filesystem.

Lastly, in order for ratings to help out, you assume that rogue applications would even be noticeable/detectable. Maybe some naive programmer will do obvious bad stuff and get away with it a few times, but any malicious coder with true bad intents would be sure to slip his deviousness under the radar. There's a reason the storm botnet and others like it are huge:

http://en.wikipedia.org/wiki/Storm_botnet
[G1 Android Development] MarcusMaximus04@gmail.com:
I already have, it's included in my appstosd2 :cool:. At any rate, this is more than just a possible vulnerability, this is an openly known and obvious one that gives full control to the entire system by any rogue app. Now, if you can figure out a way to make the phone read the whole sd card as ext2 then we'd be in business. I'm all for new ideas but this isn't new and isn't a good one, so let's brainstorm one that might work a little better.
[G1 Android Development] MarcusMaximus04@gmail.com:
In addition to all above, relying on ratings means that you're letting people get their personal information and whatever else is stored on that loopback file get stolen first in order to find out that the app is malicious. This is extremely irresponsible. I don't usually try to use my pull in the area of appstosd to shoot down other devs(even with the data to sd app, I just gave my own reasons for not liking it) but I'm going to outright say: Nobody should use this method, ever. If you come up with a better idea that doesn't have this gaping hole in it then I'll be glad to give my full support, but this one isn't it.
[G1 Android Development] MarcusMaximus04@gmail.com:
Oh and sorry to spam like this but you're wrong about needing root permissions to modify the loopback file. FAT32 has no permissions, so anything is free to edit it without requiring root at all.

EDIT: Just as more of an illustration of people who have had this idea before and rejected it: This had occurred to JF who suggested looking into it until I realized this security hole at which time he also noted that it would be a terrible idea to do this.
[G1 Android Development] Janis:
K, partitioning was the easy part

Forgive me,but I thought booting from an Ubuntu CD and partitioning was the Gui-est, easiest part of all this apps2SD business. In this process I got Linux on my machine, which I am growing to love and appreciate more every day (Ubuntu's cleaner, faster, looks better in some ways, and can hack XP).

If we have a tool that easily partitions from the phone, generally keeps things safer (there are no absolutes), and I imagine would allow for more speed & reliability (16G to hunt through seems a lot, especially unless some sort of defrag app is developed), isn't this redundant?

If it means getting Ubuntu on more PCs, I'm sticking with EXT2 or 3. (I don't think my SD has wear-levelling (sp? it looks funny), so ext2 for now.)

Seriously, if we're really G1-open-source-peaceloveandBobbySherman excited, why would we prevent the spread of Ubuntu?

EDIT: OK, so I've shot down a really good idea. Time saving, good for not thinking (some don't do it much at all, I just prefer to avoid it), and brilliantly simple. I hope it works if the security and any other issues can be addressed.

But then again Ubuntu rocks. I highly recommend it.
[Touch Pro CDMA] brandontowey:
*EDIT* GOT A NEW PHONE SO THIS THREAD CAN BE CLOSED. THANKS.

So I pulled a stupid move and dropped my phone off of a deli counter. It's not the worst fall it's had so I don't really know what the deal is. I tried searching the site but didn't come up with anything like this(I will keep trying) Here's the chain of events to make it easier to read:

1) It was acting weird before when I tried to start Pocket Player, really slow. Then the screen went to sleep and I couldn't get it to wake up so I hit soft reset.

3) Went into the store thinking it's doing it's reset thing, then I knocked it off the counter when I went to pay.

Can't hard reset, tried all four ways on a page I found, or enter boot loader.

Not entirely sure what caused the freezing but I can't really see the soft reset doing it because I've done it so many times.

The next step is a repair place but the one I use(it's free) is a three hour round trip and I want to avoid it if I can. Any one know of any way to hard reset that isn't well known or have an idea what I should do? Thanks in advance.
[Touch Pro CDMA] SOHKis:
have you pulled the battery and still failed at putting the phone into bootloader mode?

flashing the shipped ROM (.exe) to restore the phone should work, if you can get to the bootloader.
[Touch Pro CDMA] brandontowey:
Couldn't get to boot loader, pulled the battery and what not. Actually got a new phone so this thread can be closed. Thanks for the reply, anyways.
[G1 Android Development] haykuro:
ION Revision 2: http://www.droiddeveloper.com/hrbuilds/ionr2-signed.zip

again, special thanks to Disconnect (www.andblogs.net) for providing to me the system dump :)

Update May 30, 3:46 AM: Thanks to daproy (our kernel chef) we're now running 2.6.29 :) (also wifi-tether is fixed for this build) enjoy guys!

you can donate to daproy here

you can donate to me here.

donate to Disconnect by going to his blog and clicking "donate"

EDIT2:
[G1 Android Development] GT30RSUBIE:
you the man!!
[G1 Android Development] DMaverick50:
this sounds like a good thing. spl requirement? oops
[G1 Android Development] gunigugu:
Just a quick one, because google did so much over the last few days... Google ION is that the donut build? or is it just the plain vanila rom they had loaded onto their 'magic's'?
[G1 Android Development] haykuro:
Plain vanila rom they had loaded onto their magics.

This ROM is pretty much ADP with amazon mp3 and some google spice.

the one thing that i'm loving is the speed. it's VERY fast.
[G1 Android Development] N3xt2N0N3:
Is this the rom that was on the black HTC Magic that was giving out? Will Apps2SD work?
[G1 Android Development] A-Developed:
wow!!! I like... any updates for the Magic/Hero builds>>
[G1 Android Development] robpet2:
damn theres more roms getting released than i can catch up with...

anyone have screenshots of this one...

now its a toss up between the hero rom and this one..
[G1 Android Development] 2.0t03speed:
downloading now to try out
[G1 Android Development] Mast3rmatt:
Does anything need to be installed before? SPL?