forums.PPSSPP.org
PPSSPP iOS Port - Printable Version

+- forums.PPSSPP.org (https://forums.ppsspp.org)
+-- Forum: PPSSPP - Playstation Portable Simulator Suitable for Playing Portably (/forumdisplay.php?fid=1)
+--- Forum: Builds, releases and ports (/forumdisplay.php?fid=4)
+---- Forum: iOS port (/forumdisplay.php?fid=26)
+---- Thread: PPSSPP iOS Port (/showthread.php?tid=200)



RE: PPSSPP iOS Port - brujo55 - 03-03-2013 03:31 AM

but there are some possibilities?


RE: PPSSPP iOS Port - the avenger - 03-03-2013 06:39 AM

(03-03-2013 02:29 AM)rock88 Wrote:  brujo55,
Recently i jailbreak my iphone. But have not yet had time to try to run as root.

I also found this solution about run app with root access. It is somewhat different from those already proposed. But I can not check it out until the day after tomorrow..
Sounds fairly easy,will try to do it today


RE: PPSSPP iOS Port - xsacha - 03-03-2013 08:12 AM

(03-03-2013 03:18 AM)[Unknown] Wrote:  This looked very promising:

sysctl -w security.mac.proc_enforce=0

But it turns out not to work on iOS 4.3 or higher.

-[Unknown]

Yeah I know about that one. That's why I mentioned before that I don't know any JIT emulators that work 4.3+.
Sucks Sad


RE: PPSSPP iOS Port - the avenger - 03-03-2013 01:40 PM

(03-03-2013 06:39 AM)the avenger Wrote:  
(03-03-2013 02:29 AM)rock88 Wrote:  brujo55,
Recently i jailbreak my iphone. But have not yet had time to try to run as root.

I also found this solution about run app with root access. It is somewhat different from those already proposed. But I can not check it out until the day after tomorrow..
Sounds fairly easy,will try to do it today
no luck using using this method either,after reading what's in this i am starting to think it has something to do with clearing the cache,maybe the method that's currently used is incorrect
http://bugs.exim.org/show_bug.cgi?id=1243
the thing they proposed in here was using the following piece of code to flush the cache
http://svn.telesphoreo.org/trunk/data/pcre/clearcache.diff


RE: PPSSPP iOS Port - V6ser - 03-03-2013 01:46 PM

(03-03-2013 06:39 AM)the avenger Wrote:  
(03-03-2013 02:29 AM)rock88 Wrote:  brujo55,
Recently i jailbreak my iphone. But have not yet had time to try to run as root.

I also found this solution about run app with root access. It is somewhat different from those already proposed. But I can not check it out until the day after tomorrow..
Sounds fairly easy,will try to do it today
Just tried it out, didn't work.
App still gets killed.

EDIT: DUUUH!! U DUMBASS V6ser!!!


RE: PPSSPP iOS Port - Henrik - 03-03-2013 01:47 PM

(replying to the avenger)
Yes, that looks promising. Try that.


RE: PPSSPP iOS Port - V6ser - 03-03-2013 01:58 PM

(03-03-2013 01:40 PM)the avenger Wrote:  
(03-03-2013 06:39 AM)the avenger Wrote:  
(03-03-2013 02:29 AM)rock88 Wrote:  brujo55,
Recently i jailbreak my iphone. But have not yet had time to try to run as root.

I also found this solution about run app with root access. It is somewhat different from those already proposed. But I can not check it out until the day after tomorrow..
Sounds fairly easy,will try to do it today
no luck using using this method either,after reading what's in this i am starting to think it has something to do with clearing the cache,maybe the method that's currently used is incorrect
http://bugs.exim.org/show_bug.cgi?id=1243
the thing they proposed in here was using the following piece of code to flush the cache
http://svn.telesphoreo.org/trunk/data/pcre/clearcache.diff
Isn't there a libgcc by Saurik?
I'm sure i saw it sometime ago.


RE: PPSSPP iOS Port - the avenger - 03-03-2013 02:07 PM

(03-03-2013 01:47 PM)Henrik Wrote:  (replying to the avenger)
Yes, that looks promising. Try that.
if you are reffering to the code i posted then i have no idea how to use it since i have next to no programming skills at all,i am merely good at command lining and understand the jailbroken ios file structure


RE: PPSSPP iOS Port - brujo55 - 03-03-2013 03:03 PM

today armjit is updated in others plataforms.


RE: PPSSPP iOS Port - xsacha - 03-03-2013 03:06 PM

(03-03-2013 02:07 PM)the avenger Wrote:  
(03-03-2013 01:47 PM)Henrik Wrote:  (replying to the avenger)
Yes, that looks promising. Try that.
if you are reffering to the code i posted then i have no idea how to use it since i have next to no programming skills at all,i am merely good at command lining and understand the jailbroken ios file structure
The code is functionally identical. I'm using the same function for clearing cache that the only JIT app on iOS uses Wink All 3 variants you see are actually the same thing.
You can read the first comment in the link you sent.

It's not crashing from this. It's crashing from being unable to execute the memory. PROT_EXEC is the issue.


RE: PPSSPP iOS Port - the avenger - 03-03-2013 03:10 PM

(03-03-2013 03:06 PM)xsacha Wrote:  
(03-03-2013 02:07 PM)the avenger Wrote:  
(03-03-2013 01:47 PM)Henrik Wrote:  (replying to the avenger)
Yes, that looks promising. Try that.
if you are reffering to the code i posted then i have no idea how to use it since i have next to no programming skills at all,i am merely good at command lining and understand the jailbroken ios file structure
The code is functionally identical. I'm using the same function for clearing cache that the only JIT app on iOS uses Wink All 3 variants you see are actually the same thing.
You can read the first comment in the link you sent.

It's not crashing from this. It's crashing from being unable to execute the memory. PROT_EXEC is the issue.
it wouldn't hurt trying the exact same code would it,anyway is your device jailbroken
EDIT:also is there anything other than xcode i can use for debugging?


RE: PPSSPP iOS Port - V6ser - 03-03-2013 03:28 PM

(03-03-2013 03:10 PM)the avenger Wrote:  
(03-03-2013 03:06 PM)xsacha Wrote:  
(03-03-2013 02:07 PM)the avenger Wrote:  
(03-03-2013 01:47 PM)Henrik Wrote:  (replying to the avenger)
Yes, that looks promising. Try that.
if you are reffering to the code i posted then i have no idea how to use it since i have next to no programming skills at all,i am merely good at command lining and understand the jailbroken ios file structure
The code is functionally identical. I'm using the same function for clearing cache that the only JIT app on iOS uses Wink All 3 variants you see are actually the same thing.
You can read the first comment in the link you sent.

It's not crashing from this. It's crashing from being unable to execute the memory. PROT_EXEC is the issue.
it wouldn't hurt trying the exact same code would it,anyway is your device jailbroken
EDIT:also is there anything other than xcode i can use for debugging?
You can always debug with another IDE(s).


RE: PPSSPP iOS Port - the avenger - 03-03-2013 06:03 PM

http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man3/sys_icache_invalidate.3.html
according to this,if you want to prepare the memory for execution you need to use the
sys_icache_invalidate()
function,maybe if you try this while the app is out of the sandbox(ie has root acess) things will work?
the problem is that you can't debug with the app being outside the sandbox which gives a huge disadvantage as to not knowing if it changed anything or not


RE: PPSSPP iOS Port - V6ser - 03-03-2013 06:08 PM

(03-03-2013 06:03 PM)the avenger Wrote:  http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man3/sys_icache_invalidate.3.html
according to this,if you want to prepare the memory for execution you need to use the
sys_icache_invalidate()
function,maybe if you try this while the app is out of the sandbox(ie has root acess) things will work?
the problem is that you can't debug with the app being outside the sandbox which gives a huge disadvantage as to not knowing if it changed anything or not
The only way to know if something changed or not is getting it to work hahahaha Big Grin


RE: PPSSPP iOS Port - Dribblejam - 03-03-2013 06:55 PM

You guys are getting closer. Keep it up!