Author Topic: Rooted Nspire document browser  (Read 15132 times)

0 Members and 1 Guest are viewing this topic.

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Rooted Nspire document browser
« Reply #15 on: April 21, 2011, 04:01:17 pm »
Best, then ;)

I suggest making a framework for patching TI's OS, similar to the one I made for patching TI's TI-68k OS (tiosmod+amspatch, ticalc.org POTY 2010 in the "PC utilities" category - but well, it was the only contender :D). That will ease the making of patches.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline mikehill2003

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 279
  • Rating: +13/-4
    • View Profile
Re: Rooted Nspire document browser
« Reply #16 on: April 21, 2011, 04:04:58 pm »
Of course ;)
The note was more aimed at mikehill than at you, because he was asking for the uncompressed size of phoenix.raw.
Thanks :)
You do need to know the approximate size of the OS to dump it right? Or do you just dump an extra 2mb and clean it after checking for code?

And OSLauncher works great in the emulator with OS1.7, it just has never worked on my nspire. (I haven't tested it in the emulator with OS2.0.1 because I haven't dumped it yet.)

Also, is there a way to directly dump the RAM of the emulator? I can do it fine with an ndless program, but I haven't figured out how to get that dump out of the nand image.

I apologize if some of these questions have obvious answers, but I have been quite busy with other projects recently. (One of which I may post a video of here soon [iOS 3D game, both 3D as in rendered scenes and 3D as in red/blue glasses required]:D)

Edit: compu, you have the same nspire model as I do....Now I'm really confused.
« Last Edit: April 21, 2011, 04:06:20 pm by mikehill2003 »

Offline GB

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 147
  • Rating: +15/-3
  • Use Microhard WindOS today!
    • View Profile
    • MICROHARD CORPORATION
Re: Rooted Nspire document browser
« Reply #17 on: April 21, 2011, 05:24:29 pm »
Does this complete document browser allow for the deletion of system files?
TI-86 USER
CASIO PRIZM USER
TI-NSPIRE USER
TI-84 PLUS SILVER EDITION USER
TI-83 PLUS USER

PROJECTS:

Microhard Paint
http://www.omnimaga.org/index.php?topic=11915.0

TI-Nspire Character Map
http://www.omnimaga.org/index.php?topic=7725.msg142555#msg142555

Offline mikehill2003

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 279
  • Rating: +13/-4
    • View Profile
Re: Rooted Nspire document browser
« Reply #18 on: April 21, 2011, 05:27:28 pm »
Does this complete document browser allow for the deletion of system files?
Wow, I didn't think of that... I can't test it so I don't know, but it easily could, so I guess be careful.

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Rooted Nspire document browser
« Reply #19 on: April 22, 2011, 01:56:49 am »
Note that unlike tiosmod+amspatch, which cannot easily run on the TI-68k calculator because amspatch is turning 0 bits back to 1 (which, in Flash memory, requires erasing a whole sector), a patcher/patchset pair for Phoenix could easily run on the Nspire (CAS) calculator, and fiddle with either the host OS or the one that is currently being force launched, as the OS is executed from RAM :)
« Last Edit: April 22, 2011, 01:57:36 am by Lionel Debroux »
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline compu

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 275
  • Rating: +63/-3
    • View Profile
Re: Rooted Nspire document browser
« Reply #20 on: April 22, 2011, 01:47:49 pm »
I suggest making a framework for patching TI's OS, similar to the one I made for patching TI's TI-68k OS (tiosmod+amspatch, ticalc.org POTY 2010 in the "PC utilities" category - but well, it was the only contender :D). That will ease the making of patches.
I have tried to make an on-calc patcher, but it seems that a hot reboot is necessary and I fail at using your code, the emulator hangs at "Launching system..." always. :banghead:
You do need to know the approximate size of the OS to dump it right? Or do you just dump an extra 2mb and clean it after checking for code?
I'm using another method to get dumps (with GDB, described on yAronet), I can post it here again if you want to.
Also, is there a way to directly dump the RAM of the emulator? I can do it fine with an ndless program, but I haven't figured out how to get that dump out of the nand image.
Emulation -> Enter debugger
w <output file> <start address> <size>
Edit: compu, you have the same nspire model as I do....Now I'm really confused.
Touchpad non-CAS, but I'm using a clickpad most of the time ;)
Does this complete document browser allow for the deletion of system files?
Yes :)

Offline mikehill2003

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 279
  • Rating: +13/-4
    • View Profile
Re: Rooted Nspire document browser
« Reply #21 on: April 22, 2011, 01:56:31 pm »
Quote
I'm using another method to get dumps (with GDB, described on yAronet), I can post it here again if you want to.
Thanks, I'll try that now.(I have the link :D)

Quote
Emulation -> Enter debugger
w <output file> <start address> <size>
Thanks!

Quote
Touchpad non-CAS, but I'm using a clickpad most of the time ;)
:banghead: Does it work with the touchpad? (I don't have a clickpad to test.)

Offline compu

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 275
  • Rating: +63/-3
    • View Profile
Re: Rooted Nspire document browser
« Reply #22 on: April 22, 2011, 01:58:07 pm »
:banghead: Does it work with the touchpad? (I don't have a clickpad to test.)
I think I will try it :)

Offline mikehill2003

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 279
  • Rating: +13/-4
    • View Profile
Re: Rooted Nspire document browser
« Reply #23 on: April 22, 2011, 02:07:23 pm »
:banghead: Does it work with the touchpad? (I don't have a clickpad to test.)
I think I will try it :)
Thanks!

Offline compu

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 275
  • Rating: +63/-3
    • View Profile
Re: Rooted Nspire document browser
« Reply #24 on: April 22, 2011, 02:14:06 pm »
Worked at first try.
Are you using the latest ndless installer? Might be the reason.

Offline mikehill2003

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 279
  • Rating: +13/-4
    • View Profile
Re: Rooted Nspire document browser
« Reply #25 on: April 22, 2011, 02:16:51 pm »
Worked at first try.
Are you using the latest ndless installer? Might be the reason.
Yes, r387... I just re-downloaded ndless and OSLauncher, am dumping the 2.0.1 non-cas OS and will try with everything fresh in a few minutes.
Thanks for all the help.

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Rooted Nspire document browser
« Reply #26 on: April 22, 2011, 06:59:00 pm »
So, theoretically with this you could back up your 84+ ROM images, on the same calc!

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Rooted Nspire document browser
« Reply #27 on: April 22, 2011, 07:30:21 pm »
sweet! that sounds very useful.
oh, and i hope you don't mind my resizing that 2816*2112 image, compu ;)

Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: Rooted Nspire document browser
« Reply #28 on: April 22, 2011, 08:07:38 pm »
I'm playing around with this on an emulator, and I see tons of "document" in an hex editor of a 2.0 ROM,
like "documents/MyLib/numtheory.tns", "documents/SD", etc. Which one is it?
Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/


Proud member of ClrHome!

Miss my old signature? Here it is!
Spoiler For Signature:
Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/

Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/

Activity remains limited due to busyness from school et al. Sorry! :( Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. :)

Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.


Proud member of ClrHome!

Spoiler For "My Projects! :D":
Projects:

Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it :P)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it :P)
wxWabbitemu: 40% done (NEED MOAR FEATURES :P)

Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming :P)

Offline mikehill2003

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 279
  • Rating: +13/-4
    • View Profile
Re: Rooted Nspire document browser
« Reply #29 on: April 22, 2011, 08:09:00 pm »
I'm playing around with this on an emulator, and I see tons of "document" in an hex editor of a 2.0 ROM,
like "documents/MyLib/numtheory.tns", "documents/SD", etc. Which one is it?
Does OSLauncher work for you in the emulator? The "Documents" you need to remove is at 0x6807F8