08-21-2013, 12:50 PM | #1 | |
Connoisseur
Posts: 67
Karma: 70690
Join Date: May 2013
Device: Kindle Paperwhite 1 & Kindle 4 Black
|
Disable Kindle Indexing
Quote:
you can have a try it. Wish it is nice to solve this problem! ------------------------------------------------------------------ 1.Install the Jailbreak and usbnetwork 2.Use the Winscp to make a ssh to the Kindle 3.Edit the file etc/upstart/framework 4.Find the line 'DENABLE_SEARCH_INDEXING_THREAD=true', edit it,make it be 'DENABLE_SEARCH_INDEXING_THREAD=false' 5.Save it and exit. 6.Restart the Kindle ------------------------------------------------------------------ Tips: If you still want to use the indexer and make it work better, you also can edit the file etc/upstart/framework Find the line '-Xmx20m', edit it,make it be '-Xmx30m'. It will be higher efficiency to index the ‘larger’ document which is with a lot of word inside . Last edited by twobob; 08-23-2013 at 04:09 AM. |
|
08-21-2013, 01:39 PM | #2 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
seems like that could be made into a button with a bit of love.
|
08-22-2013, 02:35 AM | #3 |
Evangelist
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
A beginner question - would one use
Code:
mntroot rw Code:
restart framework |
08-22-2013, 03:42 AM | #4 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
I would probably back up the original file to copy
awk the changes to the original inline add a failsafe in the event of total disaster to restore the original file then restart the framework. (This would be for buttonified operation) However, all that said. "Yes", in answer to your original question. |
08-23-2013, 01:40 AM | #5 |
Evangelist
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
button included to extract to extensions - MIGHT NOT BE GOOD/SAFE YET - USE AT OWN RISK!!!
Code:
#!/bin/sh if [ ! -f "framework.orig" ]; then cp /etc/upstart/framework /mnt/us/extensions/indexing/framework.orig fi if grep -q INDEXING_THREAD=true /etc/upstart/framework; then mntroot rw sed -i 's/INDEXING_THREAD=true/INDEXING_THREAD=false/g' /etc/upstart/framework sed -i 's/\soff\s/ on /g' /mnt/us/extensions/indexing/menu.json else mntroot rw sed -i 's/INDEXING_THREAD=false/INDEXING_THREAD=true/g' /etc/upstart/framework sed -i 's/\son\s/ off /g' /mnt/us/extensions/indexing/menu.json fi restart framework mntroot ro Last edited by brianinmaine; 08-23-2013 at 03:08 AM. |
08-23-2013, 04:20 AM | #6 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
I think I would
mntroot ro restart framework Just to be safe Nice work! |
08-23-2013, 04:54 AM | #7 | |
Evangelist
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
Quote:
Any other suggestions? If not, I'll index it in the next few days to https://www.mobileread.com/forums/sho...d.php?t=205064 Last edited by brianinmaine; 08-23-2013 at 04:58 AM. |
|
09-07-2013, 09:37 PM | #8 |
Member
Posts: 11
Karma: 10
Join Date: Aug 2013
Device: Kindle PW
|
tried this, but its still indexing, and my search indexes folder is ballooning up.
|
09-07-2013, 09:44 PM | #9 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
tried disabling the thread?
what does showlog -f show you? (when you watch for a bit) still indexing activity? |
09-07-2013, 10:23 PM | #10 |
Evangelist
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
maybe restarting framework isn't enough - maybe have to reboot?
|
09-08-2013, 07:16 AM | #11 |
Member
Posts: 11
Karma: 10
Join Date: Aug 2013
Device: Kindle PW
|
tried reboot as well. As soon as device goes to sleep, it starts indexing. Double-checked in terminal, and the setting is set to false but no go. The Search Indexes folder was over 100mb and it really slows down searching.
|
09-08-2013, 06:37 PM | #12 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
hmm.... interesting. Good info.
I did note a PW going screensaver does, at that moment, begin the indexing. Unmodified with this hack of course. Can ANYONE confirm that this actually works? Would be helpful |
09-08-2013, 11:42 PM | #13 |
Evangelist
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
Hm - I have it turned off on my Touch. I watched it go to screensaver and I'm not sure what to look for? I see 'wifid: spectator: scan start' What is the indexer called? As you can see, I have VERY little knowlege of this stuff!
Edit - I deleted the indexes, watched it go into screensaver, and saw it start the indexer. FAIL!! Oh well, I guess this was all just a waste of time - again. Although, I did learn a bit Edit 2: it didn't create the files I had deleted, it just failed. Maybe if the script does a tar.gz of the directory first, then delete/restore at will? (I did, of course have them backed up before I deleted, so I can restore if I want.) Last edited by brianinmaine; 09-09-2013 at 12:23 AM. |
09-17-2013, 07:17 AM | #14 | |
Developer's Corner Mascot
Posts: 486
Karma: 1277790
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
|
Quote:
Last edited by Aeris; 09-17-2013 at 07:21 AM. |
|
09-17-2013, 07:20 AM | #15 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
allows 10 megabytes more to the process, far as I can tell.
Unsure of actual impact that might have. the OP's implication is that it will "speed the job up". |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Disable indexing (search) = longer battery life! | statethatiamin | Kindle Developer's Corner | 58 | 05-02-2012 07:58 AM |
Question about disable indexing permanently by disabling access to "Search Indexes" | WS64 | Kindle Developer's Corner | 1 | 12-17-2011 05:51 PM |
Hacks DXG disable indexing without jailbreak? | Bricorn | Amazon Kindle | 10 | 10-08-2011 07:20 AM |