leminlimez / Nugget

Unlock the fullest potential of your device
GNU Affero General Public License v3.0
1.15k stars 93 forks source link

[Bug?] Error while using cli_app.py #9

Open misakazip opened 1 month ago

misakazip commented 1 month ago

I’m trying to use cli_app.py, but can’t apply… Device : iPad Air 4 (iPad OS 18.0, not a beta version)


         ,--.                                                         
       ,--.'|                                                 ___     
   ,--,:  : |                                               ,--.'|_   
,`--.'`|  ' :         ,--,                                  |  | :,'  
|   :  :  | |       ,'_ /|  ,----._,.  ,----._,.            :  : ' :  
:   |   \ | :  .--. |  | : /   /  ' / /   /  ' /   ,---.  .;__,'  /   
|   : '  '; |,'_ /| :  . ||   :     ||   :     |  /     \ |  |   |    
'   ' ;.    ;|  ' | |  . .|   | .\  .|   | .\  . /    /  |:__,'| :    
|   | | \   ||  | ' |  | |.   ; ';  |.   ; ';  |.    ' / |  '  : |__  
'   : |  ; .':  | : ;  ; |'   .   . |'   .   . |'   ;   /|  |  | '.'| 
|   | '`--'  '  :  `--'   \`---`-'| | `---`-'| |'   |  / |  ;  :    ; 
'   : |      :  ,      .-./.'__/\_: | .'__/\_: ||   :    |  |  ,   /  
;   |.'       `--`----'    |   :    : |   :    : \   \  /    ---`-'   
'---'                       \   \  /   \   \  /   `----'              
                             `--`-'     `--`-'                        

CLI v2.2
by LeminLimez
Thanks @disfordottie for the clock animation and @lrdsnow for EU Enabler

Please back up your device before using!
Connected to Syst’s iPad
iOS 18.0

1. Toggle Dynamic Island
2. Set Device Model Name
3. Toggle Boot Chime
4. Toggle Charge Limit
5. Toggle Collision SOS
6. Toggle Tap To Wake (iPhone SE)
7. Toggle iPhone 16 Settings
8. Disable Wallpaper Parallax
9. [Y] Toggle Stage Manager Supported (WARNING: risky on some devices, mainly phones)
10. Allow iPad Apps on iPhone
11. [Y] Disable Region Restrictions (ie. Shutter Sound)
12. Toggle Apple Pencil
13. Toggle Action Button
14. Toggle Internal Storage (WARNING: risky for some devices, mainly iPads)
15. Set as Apple Internal Install (ie Metal HUD in any app)

16. EU Enabler

17. Always On Display
18. Toggle Sleep Apnea (real) [for apple watches]

19. Toggle Lockscreen Clock Animation
20. Toggle Duplicate Lockscreen Button and Lockscreen Quickswitch
21. Enable Old Photo UI

25. Apply
26. Remove All Tweaks
27. Reset Mobile Gestalt
0. Exit

Enter a number: 25

Traceback (most recent call last):
  File "/home/ubuntu/Nugget-2.2/cli_app.py", line 117, in <module>
    for tweak in tweaks.values:
TypeError: 'builtin_function_or_method' object is not iterable
ubuntu@ubuntu:~/Nugget-2.2$ sudo python3 cli_app.py
leminlimez commented 1 month ago

thats a very weird type error, i will have to look for the cause

misakazip commented 1 month ago

I was able to fix it by making for tweak in tweaks.values: to for tweak in tweaks.values():