View Single Post
Old 05-15-2023, 04:15 PM   #148
64konrad64
Junior Member
64konrad64 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2023
Device: Lux5 PB628
Smile

Quote:
Originally Posted by igorius View Post
Ok, that was a good idea, but...
On my Inkpad the jailbreak ended with constant file-system-errors, strange things happened, so i wanted to uninstall it:
The uninstall never occurs, because on installing the jailbreak on the inkpad several things went bad silently. (I only wanted ssh-access, didnt activate other things). When i tried to uninstall the mentioned "Start the services again for uninstall" i only got "You want to install..." and the whole install occurred again. So i decided to look inside the apps - result is that they are shell-scripts, which looked fine in the first moment. But i dont understand many of the scripting but one thing that several things (folders) on which the jailbreak relies are not present on the inkpad. The mentioned /mnt/secure/.pkgver doesnt exist. Nor /mnt/secure/lib. The settings.old was never created on install nor the /var/tmp/backup_etc.

So every try to get rid of the jailbreak fails completely.
At last i modified the services.app line 75 from "exit 0" to "uninstall", to get a chance of any uninstall.
But some important things still rest somewhere in the system.
I tried to update the inkpad manually (first resetted the whole pad, formatted the internal storage and it ended in a notably bricked pad: I dont get a fully "new" install.
The firmware-update ends every time in "Update failed" and the last lines before "Device will shutdown in a few seconds" are somewhat like "permission denied /mnt/secure/runonce/jailbreak-startup.sh and two other permission denied messages. So before i deleted that folders manually, same as the /mnt/secure/runonce/*.sh /mnt/secure/bin /mnt/secure/etc.
To my sight all should be deleted, but in a to me unknown place exist one or more scripts which make the firmware-update fail.
Due to my last tries to get back a working device i dont have any log, but to get them i would install the jailbreak again to get them.

So if anyone here can explain which files get where installed to delete them manually i would be extremely happy to get that info, i want a fully working pad - ssh would be good, but that thing is something different, when the whole thing works again.

Jailbreak was the actual v8-16-g8f1fb88, firmware of the inkpad is 6.5.2920
Thank you all in advance

PS: See the pic i made from the update: The referenced jailbreak_startup.sh doesnt exist anymore! Where does that message come from?
I had exactly the same problem (Update failed - on jailbreak_startup.sh) and just fixed it.
1. SSH as root.
2. Look at https://github.com/ezdiy/pbjb/blob/m...s-installer.sh line 42
3. Run chattr -i /mnt/secure/runonce/*.sh (to get permissions to the file the installer gets stuck on)
4. Run mv /mnt/secure/runonce/jailbreak_startup.sh /mnt/secure/runonce/jailbreak_startup.bak (to remove the problematic file)
5. Flash new firmware (back+forward+turn on)
6. Everything should work but root is gone.
7. Install root (PBJB v8) again
I have it running U628.6.8.974 currently.
64konrad64 is offline   Reply With Quote