blanboom / mobileterminal

Automatically exported from code.google.com/p/mobileterminal
0 stars 0 forks source link

Crashes on load with 3G iOS 3.1.3 #258

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using activator to open with a gesture
2. Opening from sbsettings dock. 
3. Opening from springboard 

What is the expected output? What do you see instead?

Crash
What version of the product are you using? On what operating system?

511-1
Please provide any additional information below.

Updated from 362 or 462 not sure at the moment.

Original issue reported on code.google.com by redk...@gmail.com on 5 Feb 2011 at 2:35

GoogleCodeExporter commented 8 years ago
Try v511:
http://code.google.com/p/mobileterminal/downloads/list

Original comment by allen.po...@gmail.com on 5 Feb 2011 at 5:51

GoogleCodeExporter commented 8 years ago
How is it invalid? Is this version not iOS 3.1.3 supported as the
ispazio repo suggests with an update notification?

Also thank you for the link I will try 511.

Original comment by redk...@gmail.com on 6 Feb 2011 at 2:05

GoogleCodeExporter commented 8 years ago
I did not realize you were using v511-1, my apologies (I just saw the part 
below about 362 and 462).

Perhaps you could try running MobileTerminal directly from the command line 
over ssh.  That is, ssh into your phone and run it from the command line.

I don't have an iPhone 3G running iOS 3.1.3 to try it for myself so any kind of 
crash log would be helpful.

Original comment by allen.po...@gmail.com on 6 Feb 2011 at 2:19

GoogleCodeExporter commented 8 years ago
I am not familiar with running it over ssh would I need gnu debugger?

Original comment by redk...@gmail.com on 7 Feb 2011 at 12:12

GoogleCodeExporter commented 8 years ago
The version I updated from was 426.

Original comment by redk...@gmail.com on 7 Feb 2011 at 12:22

GoogleCodeExporter commented 8 years ago
No, indeed not

If you're using windows, download PuTTY and launch. On Linux or OS X launch 
Terminal.
Type "ssh mobile@youriphonesipaddress" , of course inserting something like 
10.0.0.5 instead of youriphonesipaddress and without "". The password should be 
"alpine", but if you changed it using the passwd command, use your password 
instead.
Then type the following: "/Applications/Terminal.app/Terminal"
Make sure your iPhone (or whatever) has no running application.

Original comment by dave.sto...@gmail.com on 7 Feb 2011 at 4:29

GoogleCodeExporter commented 8 years ago
Ok I will do that tonight and report back with an error if any.

Original comment by redk...@gmail.com on 8 Feb 2011 at 12:28

GoogleCodeExporter commented 8 years ago
X:/System/Library/Frameworks mobile$ /Applications/Terminal.app/Terminal
dyld: Library not loaded: /System/Library/Frameworks/CoreText.framework/Core
Text
  Referenced from: /Applications/Terminal.app/Terminal
  Reason: image not found
Trace/BPT trap
X:/System/Library/Frameworks mobile$ cd /System/Library/Frameworks
X:/System/Library/Frameworks mobile$ ls
AVFoundation.framework/   CoreAudio.framework/          Foundation.
framework/   MobileCoreServices.framework/  System.framework/
AddressBook.framework/    CoreData.framework/           GameKit.f
ramework/      OpenAL.framework/              SystemConfigur
ation.framework/
AddressBookUI.framework/  CoreFoundation.framework/     IOKit.framework/�
�       OpenGLES.framework/            UIKit.framework/
AudioToolbox.framework/   CoreGraphics.framework/       MapKit.framewo
rk/       QuartzCore.framework/
AudioUnit.framework/      CoreLocation.framework/       MediaPlayer
.framework/  Security.framework/
CFNetwork.framework/      ExternalAccessory.framework/  MessageUI.framew
ork/    StoreKit.framework/

apparently I am missing CoreText.framework / not included with iOS 3.1.3.

Also ZOC is a better terminal emulator for windows, just not for those who 
dont't know some of *nix command line.

Original comment by redk...@gmail.com on 9 Feb 2011 at 12:53

GoogleCodeExporter commented 8 years ago
I copied coretext.framwork to system/library/frameworks and it still crashes 
after reboot so it must be looking for iOS4.x CoreText.framework frameworks.

Original comment by redk...@gmail.com on 9 Feb 2011 at 1:08

GoogleCodeExporter commented 8 years ago
CoreText is available in iOS 3.2 and later.  Does your device support 3.2?

Is there a way to mark a Cydia package as requiring a specific version of iOS?

Original comment by allen.po...@gmail.com on 9 Feb 2011 at 4:27

GoogleCodeExporter commented 8 years ago
I see.  3.1.3 is the last release for first gen iPhones.  Going forward 
MobileTerminal is not compatible with those and you'll have to continue to use 
364 or whatever was still on Cydia, bummer.

Original comment by allen.po...@gmail.com on 9 Feb 2011 at 4:29

GoogleCodeExporter commented 8 years ago
Yes, there is.

Add the following to the control file:
Pre-Depends: firmware (>= 3.2)

I'm unsure if >= works, but = works for sure.
I'll try looking for a package which actually uses this.
Anyways, the above line should work

Original comment by dave.sto...@gmail.com on 9 Feb 2011 at 4:40

GoogleCodeExporter commented 8 years ago
Correction, the above line works for sure. I just tested it on an emulator

Original comment by dave.sto...@gmail.com on 9 Feb 2011 at 4:42

GoogleCodeExporter commented 8 years ago
What is the last compatible version that has more than just the paste feature?
I'm sure making this work on iOS3.1.3 wouldn't be too hard for you guys just a 
line or two of code so those who cannot run iOS4.x smoothly will atleast have a 
near complete version.

Original comment by redk...@gmail.com on 10 Feb 2011 at 12:40

GoogleCodeExporter commented 8 years ago
Well? Any version over 426 that works with iOS 3.1.3? Or can you guys give us 
poor saps with 2nd gen itouch one last fully functional terminal or more than 
just paste, although I love the paste feature!

Original comment by redk...@gmail.com on 13 Feb 2011 at 2:36

GoogleCodeExporter commented 8 years ago
Download the version from Cydia.
To paste, use the command pbpaste
To work with it, substiture it as following:
$(pbpaste 2>&1)

for example curl $(pbpaste 2>&1)

Original comment by dave.sto...@gmail.com on 13 Feb 2011 at 2:39

GoogleCodeExporter commented 8 years ago
One possibility could be to release a version that doesn't write text using 
CoreText. (It might be slower and have fewer features?) I basically added 
CoreText support when adding scrolling and better support for colors.

Original comment by allen.po...@gmail.com on 13 Feb 2011 at 6:44

GoogleCodeExporter commented 8 years ago
Awful idea!

Another branch just to continue support for older systems?
I'm against it.

If people use old systems they have to live with old applications

Original comment by dave.sto...@gmail.com on 13 Feb 2011 at 6:51

GoogleCodeExporter commented 8 years ago
I disagree with the ‘old systems’ designation, since iOS 3.1.3 is the 
latest version available for first-generation devices. It is not like their 
users choose not to install a newer OS; they just do not have an option. Of 
course, they can buy a new device—but what would that change? Unless they 
decide to destroy their old device or place it in a museum, someone will still 
be using it. Besides, there are many reasons why a hardware upgrade is not as 
simple a matter: it costs money on its own, it likely means that you have to 
upgrade your hardware accessories (if you have any, of course, but many people 
do—even if as simple as a case), it requires you to adapt to the new 
hardware, and at the same time, there is nothing inherently wrong in the 
hardware you have; it is not a different hardware architecture or anything.

This does not necessarily mean I support the idea of a separate branch though. 
Ideally, there would be a neat/bearable way to make MobileTerminal Just Work on 
both 3.1.3 and 4.2, but I honestly have no notion of how close this is to 
reality.

Original comment by chortos@inbox.lv on 13 Feb 2011 at 8:30

GoogleCodeExporter commented 8 years ago
I guess the point is that if Apple won't bother trying to support these devices 
with newer OS releases why should anyone else?

Original comment by allen.po...@gmail.com on 13 Feb 2011 at 9:02

GoogleCodeExporter commented 8 years ago
So, since I added the Predepends as suggested, I guess we can mark this as 
"fixed" since you won't be able to even install the package anymore.  I don't 
have any better ideas for what to do for our 1G friends.

Original comment by allen.po...@gmail.com on 13 Feb 2011 at 10:51

GoogleCodeExporter commented 8 years ago
As far as another branch to mobileterminal just one last hoorah for iOS 3.1.3 
and the the other post the one in Cydia was 511-1 I haven't checked since but 
before that was 426 which runs fine and has tap to paste, all I am asking is 
forget colors and coretext if this mobileterminal is more complete than 426 
give us one last update and keep 426 available if someone doesn't like it, they 
can still get it in cydia.

And yes people will continue to use old harware, I myself got this 3G second 
hand and use it for a iPod, though I would love to have the new 4 series they 
run so fast.

Original comment by redk...@gmail.com on 14 Feb 2011 at 12:40

GoogleCodeExporter commented 8 years ago
How about filing a bug against apple to support CoreText on 1G devices? Then 
everyone will benefit.

Original comment by allen.po...@gmail.com on 14 Feb 2011 at 12:44

GoogleCodeExporter commented 8 years ago
true, i copied from a 3g version of 4.1 the coretext.framework directory and
it is missing coretext as well. i could update to 4.1 but i wouldn't benefit
from it enough to deal with the extra lag.

Original comment by redk...@gmail.com on 14 Feb 2011 at 6:09

GoogleCodeExporter commented 8 years ago
yea but they don't care, besides 4.1 for 3g is short coretext also, i copied it 
from the ipsw tonight.

Original comment by redk...@gmail.com on 14 Feb 2011 at 6:18

GoogleCodeExporter commented 8 years ago
Those Sophia.d like more bugs to file against apple, no? If they don't care, 
why should anyone else?

Original comment by allen.po...@gmail.com on 14 Feb 2011 at 6:39

GoogleCodeExporter commented 8 years ago
why should anyone else? isn't that what jailbreaking is about, fixing what 
apple won't with our own apps and patches along with customizations?

if you think why should I care then you haven't read anything on saurik.com.

if I new more than web programming, Javascript / PHP I would gladly ask for the 
source and alter the CoreText out for a alternate for <= 3.1.3 users, but I 
have yet to learn C programming languages or Python.

Original comment by redk...@gmail.com on 14 Feb 2011 at 5:01

GoogleCodeExporter commented 8 years ago
Look and let me explain.

MobileTerminal barely works on iOS4. Now if we make additional branches to 
support iOS 3, we'd have to continue this every time Apple makes major changes.
In the worst case, this happens every new firmware update.

We simply can't do that.

Original comment by dave.sto...@gmail.com on 14 Feb 2011 at 5:18

GoogleCodeExporter commented 8 years ago
Your not understanding what I am asking for, just one and only more update
for iOS3 a more complete mobileterminal which 511-1 appears to be, just one
more update so we can have a real mobileterminal.

if someone is willing to post their CoreText.framework folder for download I
would gladly test to see if it works, as the one I tried from the 3G 4.1
ipsw did not have it, then I wouldn't be asking for one last update if that
fills the dependancy issue.

not asking for a new branch at all, just something to allow us to have a
more complete mobileterminal even if it takes a little work to get it
running.

Original comment by redk...@gmail.com on 14 Feb 2011 at 5:31

GoogleCodeExporter commented 8 years ago
I hope you know that the terminal which is compatible with 3.1.3 has far more 
features than 516

Original comment by dave.sto...@gmail.com on 14 Feb 2011 at 5:34

GoogleCodeExporter commented 8 years ago
I did not know that but it doesn't have paste built in like 426 that I know of

Original comment by redk...@gmail.com on 14 Feb 2011 at 7:00

GoogleCodeExporter commented 8 years ago
As I said $(pbpaste 2>&1) is the same...

Maybe it even has a paste button. It's a while ago since I used it last time

Original comment by dave.sto...@gmail.com on 14 Feb 2011 at 7:02

GoogleCodeExporter commented 8 years ago
When I first got mobileterminal it was like 346 or something and I
googles for pbpaste for a week all I found were broken links and forum
posts about it no full sh code just people talking about it, I think I
mercer got it since I was on ios 4.0.1 and it wasn't compatible or
something

Original comment by redk...@gmail.com on 15 Feb 2011 at 12:27