Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > PocketBook > PocketBook Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 09-26-2020, 10:47 PM   #76
ezdiy
Zealot
ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.
 
Posts: 121
Karma: 156515
Join Date: Oct 2019
Device: KT, KPW4, PB740-2
https://github.com/ezdiy/pbjb/releases/tag/v8

Mostly fixes of various v7 bugs

* Fix services not starting on boot
* Fix root method PB631 et al, ie should now work on both old and new devices
* Fix rsync not running on older CPUs

Quote:
Originally Posted by EastEriq View Post
Reverted to v.6.3 for the time being.
Hopefully everything should be working on PB631.

Last edited by ezdiy; 09-26-2020 at 10:51 PM.
ezdiy is offline   Reply With Quote
Old 09-27-2020, 05:38 AM   #77
EastEriq
Groupie
EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!
 
Posts: 170
Karma: 100516
Join Date: Jan 2018
Device: Cybook Orizon, PocketBook Touch HD
Quote:
Originally Posted by ezdiy View Post
Hopefully everything should be working on PB631.
Confirmed (at least ssh, smb & usbnet). Thanks!
EastEriq is offline   Reply With Quote
Advert
Old 09-27-2020, 12:53 PM   #78
ezdiy
Zealot
ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.
 
Posts: 121
Karma: 156515
Join Date: Oct 2019
Device: KT, KPW4, PB740-2
Quote:
Originally Posted by EastEriq View Post
at least ssh, smb & usbnet
Did the jailbreak.app work as well (it should detect PB631 and switch to different exploit)?
ezdiy is offline   Reply With Quote
Old 09-28-2020, 03:58 AM   #79
nhedgehog
Guru
nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.
 
Posts: 755
Karma: 622656
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
Test on PB631:

Don't know if it detected PB631 and switched to different exploit.:
I had v6 (pbjb-v6-3-g671d61c) installed, used uninstall.app to remove.
Installed pbjb-v8-1-g2c9dc33, it went through without any other message apart from the obligatory do you wish to root ... and restarted, now I had root with pbterm (as before too).
Later installed services, it asked if it should update allready installed services which I said yes. Went through with update and rebootet.
New under Settings I find "Rooted device settings", but only System status, Reboot to apply changes and Root password.
All the other Rooted device settings are missing. Is this intended?
Uninstalling Services and Reinstalling it via Services.app didn't change anything.

Last edited by nhedgehog; 09-28-2020 at 04:35 AM.
nhedgehog is offline   Reply With Quote
Old 09-28-2020, 11:14 AM   #80
ezdiy
Zealot
ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.
 
Posts: 121
Karma: 156515
Join Date: Oct 2019
Device: KT, KPW4, PB740-2
Quote:
Originally Posted by nhedgehog View Post
All the other Rooted device settings are missing. Is this intended?
Uninstalling Services and Reinstalling it via Services.app didn't change anything.
Probably the update logic messing up :/ I assume services.app uninstall/install cycle fixes this?
ezdiy is offline   Reply With Quote
Advert
Old 09-28-2020, 12:21 PM   #81
nhedgehog
Guru
nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.
 
Posts: 755
Karma: 622656
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
No it didn't fix it.
Did services.app uninstall/install 2 times.
nhedgehog is offline   Reply With Quote
Old 09-28-2020, 12:35 PM   #82
nhedgehog
Guru
nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.
 
Posts: 755
Karma: 622656
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
Guess it is profile thingy.
nhedgehog is offline   Reply With Quote
Old 09-28-2020, 12:35 PM   #83
ezdiy
Zealot
ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.
 
Posts: 121
Karma: 156515
Join Date: Oct 2019
Device: KT, KPW4, PB740-2
Can't reproduce, and this shouldn't be really device dependent.

Do you think https://github.com/ezdiy/pbjb/blob/m...taller.sh#L115 produces expected result? ie the .sh files ARE in /mnt/secure/etc/init.d/*.sh, and the menu entries should be in /mnt/ext1/system/config/settings/settings.json

For some reason this isn't generated properly on your device so you'd have to figure out why. Normally I do this by running ./Services.app from shell, and look for the error messages it spits.
ezdiy is offline   Reply With Quote
Old 09-28-2020, 12:38 PM   #84
ezdiy
Zealot
ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.
 
Posts: 121
Karma: 156515
Join Date: Oct 2019
Device: KT, KPW4, PB740-2
Quote:
Originally Posted by nhedgehog View Post
Guess it is profile thingy.
It's weird because you still get the *other* root settings. If it were profile stuff, it would disappear altogether, no?

Can you check if https://github.com/ezdiy/pbjb/blob/m...taller.sh#L115 produces expected result? ie the .sh files ARE in /mnt/secure/etc/init.d/*.sh, and the menu entries should be in /mnt/ext1/system/config/settings/rootsettings.json

If something of the above is missing, you can try running ./Services.app via ssh, and look at the errors it spits.

Last edited by ezdiy; 09-28-2020 at 12:40 PM.
ezdiy is offline   Reply With Quote
Old 09-28-2020, 01:26 PM   #85
EastEriq
Groupie
EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!
 
Posts: 170
Karma: 100516
Join Date: Jan 2018
Device: Cybook Orizon, PocketBook Touch HD
Quote:
Originally Posted by ezdiy View Post
Did the jailbreak.app work as well (it should detect PB631 and switch to different exploit)?
I think so, but honestly I forgot, I did it several times lately. Most likely I uninstalled using the old Unistall.app, then called the new Jailbreak.app. But I also remember trials in which Services.app asked me if I wanted to upgrade from 6.3 to 7.1 (non working services) and to 8.3 like in the latest.
So yes, maybe there is something device or profile dependent too (I don't use profiles). If you really need me to test, I could do it once again later...
EastEriq is offline   Reply With Quote
Old 09-30-2020, 02:44 AM   #86
nhedgehog
Guru
nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.
 
Posts: 755
Karma: 622656
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
Sorry I'm late:
Quote:
Originally Posted by ezdiy View Post
Can you check if https://github.com/ezdiy/pbjb/blob/m...taller.sh#L115 produces expected result? ie the .sh files ARE in /mnt/secure/etc/init.d/*.sh, and the menu entries should be in /mnt/ext1/system/config/settings/rootsettings.json
Just did it via pbterm:
1) It starts with Version v8-1-g2c9dc33 already installed
Update to v4 Cancel Uninstall
2) Pressed Update to v4
3) Services installed, restart is needed ...

4) In pbterm the following might be interesting:
mkdir: can't create directory '/mnt/ext1/public': File exists
mkdir: can't create directory '/mnt/ext1/.ssh': File exists
chattr: stat /mnt/secure/runonce/*.sh : No such file or directory
tar: invalic magic
tar: short read
chattr: stat /mnt/secure/runonce/*.s : No such file or directory
head: /mnat/secure/etc/init.d/*.sh: No such file or directory
5) Restarted run services-installer.sh again, now it prompts for v4 allready installed, install
6) pbterm cd /mnt/secure/ and ls'ed the directories:
runonce and etc exists, runonce is empty, etc has only 2 folders in it: firewall &
terminfo, no *.sh files
7) No changes in the rooted device section
8) Restarted run services-installer.sh again used it to uninstall. Install v8 services restarted - No changes in the rooted device section-can't get via scp into pocketbook, connection refused.

Last edited by nhedgehog; 09-30-2020 at 03:06 AM.
nhedgehog is offline   Reply With Quote
Old 09-30-2020, 03:01 AM   #87
nhedgehog
Guru
nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.
 
Posts: 755
Karma: 622656
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
Did a backup of /mnt/secure:
I guess the sh files landed in:
/mnt/secure/bin:
Quote:
applysettings.app
dropbear
empty.sh
htop
ins_usb_mod.sh
iptables
iptables-restore
iptables-save
lftp
lighttpd
nano
netagent
nmbd
ntlmhash
powertop
proftpd
rm_usb_mod.sh
rsync
scp
sftp-server
smbd
smbpasswd
ssh
sysstat.app
usb_test.sh
nhedgehog is offline   Reply With Quote
Old 09-30-2020, 03:19 AM   #88
nhedgehog
Guru
nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.
 
Posts: 755
Karma: 622656
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
Just to be sure:
Uninstalled Services (v8) and installed Services (v6).
Everything is working fine!
(didn't use v7 since this is for FW6.*)

Last edited by nhedgehog; 09-30-2020 at 03:21 AM.
nhedgehog is offline   Reply With Quote
Old 09-30-2020, 01:10 PM   #89
ezdiy
Zealot
ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.
 
Posts: 121
Karma: 156515
Join Date: Oct 2019
Device: KT, KPW4, PB740-2
Quote:
Originally Posted by nhedgehog View Post
Did a backup of /mnt/secure:
I guess the sh files landed in:
/mnt/secure/bin:
No, that folder is fine. Look into /mnt/secure/etc/init.d. Is that folder even present?
ezdiy is offline   Reply With Quote
Old 09-30-2020, 01:19 PM   #90
nhedgehog
Guru
nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.
 
Posts: 755
Karma: 622656
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
init.d is not present, only:
/mnt/secure/etc/mod
/mnt/secure/etc/terminfo
nhedgehog is offline   Reply With Quote
Reply

Tags
root


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Paperwhite 2 usbnet asks for root password cokolokolo Kindle Developer's Corner 2 09-07-2014 04:51 PM
/etc/sysconfig/iptables from 3.0.1 wahlis Amazon Kindle 1 08-14-2011 10:10 AM
iLiad Samba/smbd/shared folder access to iLiad ajnorth iRex Developer's Corner 12 02-29-2008 09:02 AM


All times are GMT -4. The time now is 12:33 AM.


MobileRead.com is a privately owned, operated and funded community.