how do I change permissions to my slccmpt01

Discussion in 'Wii U - Hacking & Backup Loaders' started by monkeyman4412, May 5, 2017.

  1. monkeyman4412
    OP

    monkeyman4412 GBAtemp Advanced Fan

    Member
    772
    172
    Jun 16, 2016
    United States
    how do I change permissions to my slccmpt01 (I bricked it, I got a another users dump, but I know that I need to change the folders permssion to 0x666.) However it must be done with wupclient. I have python installed. However I'm a absolute noob at using python applications. So can somebody walk me through how to use wupclient step by step? and yes I mean I bricked my vwii
     
    Last edited by monkeyman4412, May 5, 2017
  2. Alex4U

    Alex4U not a snivy addict

    Member
    1,185
    1,012
    Jan 6, 2016
    Mexico
    with Snivy, Mystery Zone (Adress 0x00)
    You can't use another NAND Backup in your Console or you will HARD BRICK.
    You must have your NAND Backup.
    No nand Backup, dead.
     
  3. monkeyman4412
    OP

    monkeyman4412 GBAtemp Advanced Fan

    Member
    772
    172
    Jun 16, 2016
    United States
    you didn't read it all the way through. ITS SLCCMPT01 vwii! Plus I was already bricked on vwii. and I'm still fine. Its not going to hard brick get your facts straight.
     
  4. Alex4U

    Alex4U not a snivy addict

    Member
    1,185
    1,012
    Jan 6, 2016
    Mexico
    with Snivy, Mystery Zone (Adress 0x00)
    o shit. im sorry.
    You can't access to vWii, right?
     
  5. monkeyman4412
    OP

    monkeyman4412 GBAtemp Advanced Fan

    Member
    772
    172
    Jun 16, 2016
    United States
    yep. and so I already replaced it with a functioning version via of another users slccmpt01 (vwii) however, to complete it I must change the permissions (OF THE FOLDER) or else It will still boot to a black screen. However I'm a complete noob at using python (which means I'm terrible at using wupclient) So I need help changing permissions through wupclient
     
    Last edited by monkeyman4412, May 5, 2017
  6. asper

    asper GBAtemp Advanced Fan

    Member
    656
    333
    May 14, 2010
    United States
    You need to use wupserver-wupclient and his (not-so-friendly) commands. There is a TXT list somewhere on pastebin if I remember correctly.

    Edit: or you can look inside wupclient.py files to see command syntax.
     
    Last edited by asper, May 5, 2017
  7. nexusmtz

    nexusmtz GBAtemp Maniac

    Member
    1,273
    441
    Feb 17, 2016
    United States
    I don't know how many things you have to change permissions on, but wupclient.py does have the chmod command. However, it doesn't have a getstat (it only has getstatfile, and that doesn't work on directories) so I don't know how you'll check your work other than trying to boot it.
    WupClient chmod example
    The example shows (using a directory in tmp) that you can do a chmod that seems to react appropriately based on whether the permission is valid. If getstat were there, you could display and confirm the mode, but it should be doing what you tell it to. If you understand the above, you probably realize that your commands after the mount could also be something like this:
    WupClient chmod example 2
    You can copy/paste into the python prompt, so if your PC has the list of folders/files that you need to change, you could make a list of commands with a text editor or Excel, and copy the results into the prompt (after checking the list very carefully, of course.)
     
  8. Yabbeliten

    Yabbeliten Member

    Newcomer
    14
    1
    Mar 17, 2007
    United States
    are there wildcards or additional attributes to be able to this recursively? some googling and learning python the past days led me to "os.walk" but I don't know how I would integrate it into this.
     
  9. monkeyman4412
    OP

    monkeyman4412 GBAtemp Advanced Fan

    Member
    772
    172
    Jun 16, 2016
    United States
    Well im terrible at this. So maybe someone could write a python script or python app. that will recursively change permissions. OR if someone is smart enough make a mod in ftpiiu everywhere to keep folder changes. Because if you change the permissions on that it doesn't stay on the folder regardless if you changed it.
     
  10. nexusmtz

    nexusmtz GBAtemp Maniac

    Member
    1,273
    441
    Feb 17, 2016
    United States
    No, you'd have to specifically write the function in wupclient.py, just like cp vs. cpdir and dl vs. dldir. Fortunately, with those examples already in the script, it should not be difficult to learn how to recurse.
     
  11. monkeyman4412
    OP

    monkeyman4412 GBAtemp Advanced Fan

    Member
    772
    172
    Jun 16, 2016
    United States
    ok, well can somebody link a working version of wupclient.py
     
  12. nexusmtz

    nexusmtz GBAtemp Maniac

    Member
    1,273
    441
    Feb 17, 2016
    United States
  13. monkeyman4412
    OP

    monkeyman4412 GBAtemp Advanced Fan

    Member
    772
    172
    Jun 16, 2016
    United States
    0x1ca042
    0x0
    0x0
    I keep getting that error. Let me guess. thats because cold boot hax is installed?
    EDIT: no setup works even with cold boot hax removed... If I use haxchi I get this error (which I do use mocha in all these setups)
    0x1c8042
    0xfffcffeaL
    0x0
    and then if I try to use it with hbl from the web browser it also fails.
    and gives the first error....
    and yes I did change the ip on line 30
    and if I used mocha right away via webrowser exploit it gives me those two errors , and when I tried it a third time apparently my wiiu is refusing a connection according the error code. and fails to use line 32 and some other line. And honeslty I'm worried if I use the advanced mocha option which is the bottom most speaking about coldboot hax if I use that setting I will probably brick
    EDIT2: I'm going to see if I can use my wireless card on my computer as a router and get the wiiu to comminucate there so no connection issues/hiccups can exist
     
    Last edited by monkeyman4412, May 6, 2017
  14. nexusmtz

    nexusmtz GBAtemp Maniac

    Member
    1,273
    441
    Feb 17, 2016
    United States
    That's not an error. Are you running python interactively (-i), like my example showed? If you don't you'll just get the command prompt back because you didn't tell it to do anything.

    My example shows an 'error' (the long ffff code) because my WiiU already had one of the mounts when I ran the script. The first number you see is probably a handle, the second are return code zeros from the mount commands that are in the script.
     
    Last edited by nexusmtz, May 6, 2017
  15. monkeyman4412
    OP

    monkeyman4412 GBAtemp Advanced Fan

    Member
    772
    172
    Jun 16, 2016
    United States
    what example? you didn't show anything
     
  16. nexusmtz

    nexusmtz GBAtemp Maniac

    Member
    1,273
    441
    Feb 17, 2016
    United States
    You have to click the Show button to see what's under the tag. Are you one a tablet or phone that won't show spoiler tags? Anyway, it's py -i wupclient.py
     
  17. monkeyman4412
    OP

    monkeyman4412 GBAtemp Advanced Fan

    Member
    772
    172
    Jun 16, 2016
    United States
    got it thank you
     
  18. monkeyman4412
    OP

    monkeyman4412 GBAtemp Advanced Fan

    Member
    772
    172
    Jun 16, 2016
    United States
    ok So I got everything working... Can I request a clean system menu for vwii? cause the user who gave me the backup has a black and red theme on it. So if possible can you give me the orignal version so I can inject that so my menu is "cleaner"
     
    asper likes this.
  19. nexusmtz

    nexusmtz GBAtemp Maniac

    Member
    1,273
    441
    Feb 17, 2016
    United States
    That's awesome. Wish I could help. I don't actually mess around with the vWii side. Do you know what file it is, and are you a member on that iso site that might allow such a post? If it's a common thing to do, you might find a hit with a google on the file name.

    — Posts automatically merged - Please don't double post! —

    [Release] vWii Theme Injector Oh, 0000001f.app
     
  20. Felek666

    Felek666 retarded memekid which no one likes

    Member
    3,520
    4,004
    Jan 3, 2017
    Poland
    reddit.com/r/satania/
    Hit me up with a PM and we will work it out.
    Before mods attack me: Outside of GBATemp.