While working on a custom update of the UK ROM to FW 1.2.2, I was intrigued to see that there was a dictionary management Settings option. Of course it didn't work because there were no other dictionaries to download. But the idea stuck with me and eventually led me to develop this app and release it in conjunction with some new sets of single-language and translation dictionaries based on Wiktionary.
Note: this app is for the US version of the NST/G only.
READ THIS: you need to make a complete backup of your device before using this app. Improper use of this app may slowly decrease the available free space in /system, so MAKE A BACKUP.
What this app does
0. Changes the location of the stock dictionary and the way it is accessed (can be undone by "Restore").
1. Allows you to select either internal (/data/media/B&N Downloads/Dictionary) or external (/sdcard/Dictionary) storage for dictionaries.
2. Backs up the stock dictionary to your chosen storage location.
3. Deletes the stock dictionary files from /system/media/reference.
4. Displays up to eight dictionaries you copy to the storage location you have chosen and
5. Allows you to select and "install" an alternate dictionary (or the stock dictionary)
The only time dictionary files are actually moved is during the backup or restoration process. This takes a minute or so. Otherwise only symlinks are created and deleted in /system/media/reference, and these point back to the storage location.
Changes in dictionaries are immediate, no reboot required.
Requirements
1. Root
2. sqlite (in attached zip package)
3. basewords.db and inflectedwords.db files for the language pair or language you desire
Q&A
1. I already have an alternative dictionary I am using. Can it be used with this app?
Yes. The files can be placed in an appropriately named folder in the storage location and the app will find them. The name of the folder is the display name in the app. However, if you have removed the stock dictionary it is best to restore it properly first. To do this safely, refer to the instructions for manually installing dictionaries found in the companion post. Once the stock dictionary is back where it belongs you can run the app and proceed through setup. Then you can place your alternate dictionary in your chosen storage location. All dictionaries must contain both a basewords.db and inflectedwords.db. DO NOT select a dictionary with this app which does not have both files present!
2. My dictionary does not show any "source" like the stock dictionary and the ones you made.
When the stock dictionary is moved to the storage location a one-item table is added to basewords.db. This contains the identifying string used in the app display (the table is removed during the "Restore" process). You can add a similar table to your dictionary using SQlite. If you don't have SQlite on your computer and don't want to fuss with it, you can download the SQlite Database Browser instead. It will open your basewords.db file and there is a tab on the console labeled "Execute SQL". This provides a place for you to type in SQlite commands and execute them. To add the table:
Code:
CREATE TABLE nook_metadata (source TEXT); (execute--click the "play" symbol)
INSERT INTO nook_metadata (source) VALUES('your string here'); (execute--click the "play" symbol)
Be sure to "Write Changes" before exiting.
Installation and setup
1. This is a Tasker-generated app and requires two library files (in attached zip package) or it will not install. If you already have one of my other Tasker-generated apps you can discard these files. Otherwise, copy them as indicated below:
/system/etc/permissions/com.google.android.maps.xml
/system/framework/com.google.android.maps.jar
Set permissions for both files to rw-r--r-- and reboot. Without these files resident, the app will not install.
2. If you don't already have sqlite, copy the file from the zip as below:
/system/bin/sqlite
Set the permissions to rwx r-x r-x and reboot.
3. Install the Dictionaries app with a file manager or via ADB.
4. On first run the app requests SuperUser permission. You then select either internal or external storage for dictionaries.
5. Next the stock dictionary is backed up. If you want to stop using the app it is very important to use the "Restore" option on the bottom right of the main screen. Otherwise you will be left without any dictionary at all!
6. At this point setup dialog with the app ends. Now is the time to copy any alternative dictionaries to the storage location you selected. This can be done by transferring the folders/files to your sdcard or /media, and then using a file manager to move the files to the proper location (/data/media/B&N Downloads/Dictionary OR /sdcard/Dictionary). For example, if you are going to use an "English-French" dictionary, you would want a folder /sdcard/Dictionary/English-French. In that folder you would place the basewords.db and inflectedwords.db for that language pair. The folder name you use will be the display name in the app. During setup the app creates the folder "English" within the Dictionary folder in your storage location of choice. You should not change the name of this folder. Sorry.
Generally the files are large enough that you will want to move one at a time. Files can also be transferred via ADB, but if you chose internal storage, the command syntax is complicated by the "&" character and spaces in the directory name. Be sure to use double quotes as in the example below:
Code:
adb push basewords.db "/data/media/B&N Downloads/Dictionary/German-English/basewords.db"
Be sure EACH folder for a dictionary contains a basewords.db file and an inflectedwords.db file. Failure to place both files in a folder may result in a crash of the app if that dictionary is selected and a potential loss of storage space in /system.
7. After moving the dictionary files to your chosen storage location, accessing the app will show the available dictionaries. Choose which one you want and tap "Confirm". The job is done and the app closes. The dictionary is immediately available.
If you change your mind, just use the exit arrow to leave the app without tapping on "Confirm".
8. If you don't want to use the Dictionary Management app any longer, open it and tap on "Restore". This will delete the symlinks in /system/media/reference and copy the stock dictionary from its (backup) storage location back to /system/media/reference. Everything returns to normal, but any dictionaries you copied onto the device remain in place (that includes a copy of the stock dictionary). You can remove them with a file manager or ADB.
@nmyshkin ...
exited to try it ... but OP says its only for US devices ... I think mine is a UK device ... Any way i can get it to work my UK NST/G ?
I like the fact that this dictionary looks like a stock option of 'Dictionary Management' within the Stock Settings ... i would love to manage dictionaries ... One question though ... all these dictionaries, i'am guessing in to whose from within the Nook Stock Reader ... am i right ?
Cheers.
aiamuzz said:
@nmyshkin ...
exited to try it ... but OP says its only for US devices ... I think mine is a UK device ... Any way i can get it to work my UK NST/G ?
I like the fact that this dictionary looks like a stock option of 'Dictionary Management' within the Stock Settings ... i would love to manage dictionaries ... One question though ... all these dictionaries, i'am guessing in to whose from within the Nook Stock Reader ... am i right ?
Cheers.
Click to expand...
Click to collapse
UK device vs. UK ROM. When you boot do you get the "Read Forever" logo (US ROM) or the multi-language splash screen (UK ROM)? [see images below] When you shut down, is the screen all in English (US ROM) or again a multi-language screen (UK ROM).
When you look up a word from the stock reader, does the Lookup window say the dictionary is the Merriam-Webster (US ROM) or the Oxford English (UK ROM)?
Finally, in the stock settings under "Reader" is there already a (non-functional) Dictionary Management page (UK ROM)?
So that's how you tell. Alas, as I stated in the companion thread with the new dictionaries, I have not been able to generate a working dictionary for the UK ROM. Yet. So this is only for the US version. This app would not run properly on the UK version, and even if it did, the dictionaries would not work.
If, OTOH, you have a UK ROM and a working alternative dictionary already, it would be really easy for me to produce a version of this app that would work on the UK ROM.
And yes, this is for the stock reader and its Lookup function.
nmyshkin said:
UK device vs. UK ROM. When you boot do you get the "Read Forever" logo (US ROM) or the multi-language splash screen (UK ROM)? [see images below] When you shut down, is the screen all in English (US ROM) or again a multi-language screen (UK ROM).
When you look up a word from the stock reader, does the Lookup window say the dictionary is the Merriam-Webster (US ROM) or the Oxford English (UK ROM)?
Finally, in the stock settings under "Reader" is there already a (non-functional) Dictionary Management page (UK ROM)?
So that's how you tell. Alas, as I stated in the companion thread with the new dictionaries, I have not been able to generate a working dictionary for the UK ROM. Yet. So this is only for the US version. This app would not run properly on the UK version, and even if it did, the dictionaries would not work.
If, OTOH, you have a UK ROM and a working alternative dictionary already, it would be really easy for me to produce a version of this app that would work on the UK ROM.
And yes, this is for the stock reader and its Lookup function.
Click to expand...
Click to collapse
@nmyshkin ... wonderful ...
1. Boots Up to a 'Read Forever' screen - US ROM !
2. Shuts down to an all English 'Your NOOK has turned off completely. Press the ' ' button on the back to power up. ...nook ... By Barnes & Noble - US ROM
3. Stock reader has 'Merriam Webster's Collegiate Dictionary Eleventh Edition' - US ROM
;
4. Reader page in settings however has only one page with 'Page forward and backward' settings. I can't seem to find any other page, tried swiping up and down as well as sideways but nothing showed up - UK ROM ???
5. I don't seem to have the alternate dictionary option in the stock reader look-up of Merriam Webster's Dictionary - UK ROM ???
Can I attempt installing this dictionary app, as 3/5 aspects point to a US ROM ... and ... Only 2/5 aspects point to a UK ROM.
@nmyshkin ... sorry, couldn't hold the exitement and i tried it even before you replied to my earlier posts.
Currently my device is sitting on 'Please Wait ... " for quite a while now, after i installed the app and choosing the SD card as the location, this 'Please Wait ...' message is is sitting there for more than 15 minutes now ... Does it so long ?
aiamuzz said:
@nmyshkin ... sorry, couldn't hold the exitement and i tried it even before you replied to my earlier posts.
Currently my device is sitting on 'Please Wait ... " for quite a while now, after i installed the app and choosing the SD card as the location, this 'Please Wait ...' message is is sitting there for more than 15 minutes now ... Does it so long ?
Click to expand...
Click to collapse
No. That is not normal and suggests a crash.
Yes, you have a US ROM.
Did you remember to install sqlite?
nmyshkin said:
No. That is not normal and suggests a crash.
Yes, you have a US ROM.
Did you remember to install sqlite?
Click to expand...
Click to collapse
my bad ... it was an issue with sqlite3 file permission being set wrong ... i corrected that and its whirring away ...
Come clarifications :
1. When sideloading dictionaries in /sdcard/Dictionary ... as the first dictionary in this folder is another folder with the name 'English' ... do we have to first create a folder for the type of dictionary and then dump those 2 database files into the respectively created folders ?
2. Can we switch dictionaries from within the stock reader from inside the dictionary that opens when we lookup ?
Another feather in your cap ... I must say you ARE very meticulous and tidy in your work ... Attention to detail is your strong suit i am sure ... the dictionaries are really well organized and the OP is as easy as it gets ...
Cheers.
aiamuzz said:
Some clarifications :
1. When sideloading dictionaries in /sdcard/Dictionary ... as the first dictionary in this folder is another folder with the name 'English' ... do we have to first create a folder for the type of dictionary and then dump those 2 database files into the respectively created folders ?
Click to expand...
Click to collapse
The "English" folder is where the stock dictionary lives now. So, yes, you create a folder with the name you want to display in the app, and then copy in the two db files.
aiamuzz said:
2. Can we switch dictionaries from within the stock reader from inside the dictionary that opens when we lookup ?
Click to expand...
Click to collapse
Alas, no. This is a feature in the UK ROM, and I considered a potential overlay to mimic it, but I couldn't find a suitable trigger to manage the overlay.
aiamuzz said:
my bad ... it was an issue with sqlite3 file permission being set wrong ... i corrected that and its whirring away ...
Click to expand...
Click to collapse
OK, there is some funny business beyond what is happening with your device. I have an email notification of a post that is non-existent:
Ok ... i tried sideloading those folders i had renamed on my laptop and then i transferred it by a data cable. Initially I crammed all of your dictionaries in the /sdcard/Dictionary/ folder and when i tried opening the Dictionaries App it didn't open, then i created an archived folder inside and moved all but 5(1+4) dictionaries and tried opening, but the Dictionaries App isn't opening ... i only get a notification saying 'Dictionaries App was granted super user rights' ... but the app never really opens ... wonder why it isn't opening ...
Click to expand...
Click to collapse
Within the /sdcard/Dictionary folder the app places an "English" folder during setup. Then the stock dictionary files are moved there (basewords.db and inflectedwords.db). To add a dictionary, you need to create your own folder within /sdcard/Dictionary like "English-German" or whatever. Then place the basewords.db and inflectedwords.db for that dictionary in the folder (yes, you have to unzip the dictionary files you download). If you do that and the app does not open, then I believe what you have is commonly described as "a hot mess".
So....before I go off on a long diagnostic discourse, did you get it to work now? If not, the quickest "fix" is to restore the backup you made (?) before you installed the app and start again, paying attention to sqlite permissions this time. If you don't have an immediate backup and it's still not working, I will help you diagnose the issue and try to fix it.
Edit: and BTW, you can turn off that annoying SuperUser toast if you want. It's one thing for it to ask for initial permission, but it's really annoying to be told every time root access is used by an app that has already been granted permission.
oh really UK ROM does have that option inside the lookup dictionaries ?
Can @Renate be of any help, given her knowledge of the nuts and bolts of the NST/G's ... thanks to her i am able to have a pin lock on my NST/G ... may be she can help you find the trigger to enable the overlay on non-UK ROM 's ...
Click to expand...
Click to collapse
Well, the option is there in the UK ROM version and it takes you to the dictionary management settings page, but there's no way to know what it does after that since there are no other dictionaries to try. It may take you back to the Reader/Lookup screen or it may not.
Remember that @Renate is not really working with the NST any more, and even if she were, my Tasker "apps" do things in ways that mostly skirt around issues with the OS or "collaborate" with it, not change it. In any case, attempts to make changes in the Reader or related apps will run up against the system signature issue, and that's a no-go. The appearance of the Lookup window is not something I have been able to detect short of constantly scanning for the currently focused window, so that's no good. My very old version of Tasker can send intents but it can't listen for them, so that's no good. I think what we have is "good enough". Best to find a dictionary you like rather then constantly jumping from one to another while still in the same book.
And BTW, the Lockpin settings (and clearing them), are easily available from my Nook Settings app. Just a shameless plug .
hahahaha ... B&N ... needs to hire you for bringing about changes to NST/G that they had already given up(forgotten in fact) ...
@nmyshkin ... the fact that all your efforts on apps and functionalities you've worked seem 100% stock as far as UI/UX is concerned ...
If you had just mentioned you were an official B&N executive, and given your changes / improvement you've brought about to this device, no one will ever doubt you, the'll easily believe B&N is doing all this ... even if there was B&N support for our device they wouldn't have been willing to go to the extent you've gone with your customizations and true value additions.
Simply Fantastic !!!
Related
Hello folks!
I got a problem with the smart resident.exe.
When my Xperia (running TouchIT v10.3) starts up I get the message that smart resident.exe couldnt be found and I should eventually reinstall it.
programms which require smart resident like slovo ed sadly dont work for me
how can I fix this?
The screen that pops up looks like this:
http://forum.xda-developers.com/attachment.php?attachmentid=158253&d=1234889244
only that its on my xperia
EDIT: can somebiody with touch x attach their smart resident file so that I can simply copy it over to my device and see if it works?!
Uninstall SlovoEd.
Go to "My Device/Windows/StartUp"
There you should find Smart Resident.lnk, delete that and it should be fine.
Well that worked for me.
I know that slovoEd hast this smart resident lnk file.
Its like you sayd in device\windows\startup and there its called Solovoed 7.lnk and this points out to:
device\windows\slovoed 7\smart resident.exe but this smart resident.exe isnt there!
I got the error message (from the attached image file) even before slovoed was installed
Reinstalling a SlovoEd dictionary (Talking Concise Oxford English Dictionary for Windows Mobile) solved this problem for me.
Hi
unfortunatly i have this problem and I couldn't delete this file.
pleas help me.
thanks
bye
flimflam said:
Reinstalling a SlovoEd dictionary [] solved this problem for me.
Click to expand...
Click to collapse
Tx FlimFlam!
I installed my language version & it did the trick. BTW: I noticed that for whatever reason, SlovoEd had "uninstalled" (?) itself. Meaning: I had not used it in a while & it was not visible in the Menu structure any longer. Without having checked: probably most files were still there.
Hi
go to my device/windows/startup
and delet ( Slovoed )
I did it and my problem solved.
say if that worked or no .
Reviving an older thread here...
it seems like there has been no proper solution this far. there is a few things one can do. they have been posted up above already. unfortunately this thread does not clarify what actually happens there.
let me try to add some info/findings of my own.
SmartResident.exe appears to be a module which sits in the memory, resident. i was not able to figure out what it is meant to do there tho, since the english or german menu items in SlovoEd, the donor of that little nuisance, are so totally badly translated that i couldn't gather their meaning.
I suppose that it is meant to catch words one marks and translates them via right-click or so, similar to babylon's pretty neat function.
It does not succeed in doing so tho. Hence it is useless.
What might be the reason for the warning at boottime? The missing Resident? Well, there is at least two reasons: either u did a hard reset and it just got wiped or u installed a new ROM while u kept SlovoEd on the storage card. This would have wiped the resident as well since it is not located on the card but always on main mem. And of course it might well be that u just messed with ur files and accidentally deleted the resident...
So, how to get rid of it? Mainly read above. Summary below.
1.) u can try to "fix" up the SlovoEd.lnk or SmartResident.lnk file in the \\windows\AutoStart\ or alternatively \\windows\StartUp\ folders. Just open them with a text editor and put in some crap, point them to some useless executable file.
2.) run a script each shutdown time to delete the .lnk file. eg MortScript or so.
3.) Re-Run any SlovoEd Dictionary or Engine Installer. When using a Dictionary-Installer make sure to select engine-setup as well since this will place the Resident into \\windows\SlovoEd 7\ where it is supposed to sit. Note: this will NOT get rid of the resident but fix a corrupt installation and thus make the annoying warning at boottime disappear.
4. option 4 will be my pref. keep a backup of SmartResident.exe in the SlovoEd 7 folder on the card and just copy it back over to its original location in case it gets destroyed...
cheers,
Sneaky
So I just installed better keyboard and I went to enable it and Im getting a message that says "This input method may be able to collect all the text you type, including personal data like passwords and credit card numbers. It comes from the application Better Keyboards. Use this input method?"
Should this be something I should be worried about?
No. That is the standard Android warning when installing any keyboard.
Anyone know if Swype is working on here yet?
Can't get alternate keyboard to enable
After I get an alternate keyboard installed, I can't get the checkbox to enable. I get the warning described above but then the keyboard doesn't enable and doesn't appear as a choice when you do the long press and select input method.
I have the same problem with an IME for pen reader. the main justifyer for me to purchase this tablet was to take notes at work but I can't get teh app to work... I am just waiting for 3.0 and hoping that it will evolve...
justauser said:
After I get an alternate keyboard installed, I can't get the checkbox to enable. I get the warning described above but then the keyboard doesn't enable and doesn't appear as a choice when you do the long press and select input method.
Click to expand...
Click to collapse
Check this out:
http://forum.xda-developers.com/showpost.php?p=10128678&postcount=35
justauser said:
After I get an alternate keyboard installed, I can't get the checkbox to enable. I get the warning described above but then the keyboard doesn't enable and doesn't appear as a choice when you do the long press and select input method.
Click to expand...
Click to collapse
I was able to get SlideIt to work by installing it and then copying the apk file from /data/app and pasting it in /system/app. Then make sure to Mount R/W in the system folder and change permissions of the copied apk so that User is read/write and Group, Others is read only. Mount R/O. Now reboot. It should work now.
I am using TnT 2.2. There shouldn't be any need to enable it in the settings either. It will act like a system keyboard and will always be enabled. All you have to do is change input method by long tapping on a text box and selecting the newly installed keyboard.
I have tried this with a couple of other keyboards and it didn't work. Swype just says that it won't work with the screen size of the device.
I read this in another thread somewhere here. I can't take credit for this. Hope this helps.
keyboards
I'm running the stock rom with the TNT enhancement pack. The strange thing is that I can't even find the downloaded apk file for the keyboard. When I go to the data folder in iFileManager, it is blank. What am I doing wrong?
afarooki said:
I'm running the stock rom with the TNT enhancement pack. The strange thing is that I can't even find the downloaded apk file for the keyboard. When I go to the data folder in iFileManager, it is blank. What am I doing wrong?
Click to expand...
Click to collapse
From what I can tell, ES File Explorer can't see stuff in /data unless it is started AFTER the phone is rooted. Maybe the same goes for iFileManager.
So what I do is use z4root to get temporary root, kill ES File Explorer, then start ES File Explorer again. Then it can see /data.
Hope that this helps.
Jim
afarooki said:
I'm running the stock rom with the TNT enhancement pack. The strange thing is that I can't even find the downloaded apk file for the keyboard. When I go to the data folder in iFileManager, it is blank. What am I doing wrong?
Click to expand...
Click to collapse
I use Root Explorer and I have no problems seeing any files at all.
I switched from tnt-lite to Vegan and I like it - except the keyboard isn't as good. I see that there are presently two other keyboards when I go to the config page but there is no check box to select them. Searching around it seems that the way to make them work is to manually copy the keyboard apk from /data/app to /system/app - at least that is the consensus of the posts I have seen. Well, looking at my sdcard I can see a /data folder with no sub directory app but there are apk files in the data folder that I recognize so perhaps the instructions mean to copy the apk file from the data to the system folder? I'd give that a try but there is no system folder (showing). I poked around with a couple of different file explorers but nada. I thought I would be clever and explore from my PC by plugging in in usb mode but still I find no system folder. I'm guessing it is hidden but I thought the g-tab was rooted by default so shouldn't I be able to see it. So - what I really want is just to change out the keyboard so if you know how post that but just on principle now I'd like to find out if there is a system folder, where it is and how to get into it. Thanks!
/ *** is location relative to your base memory of your device (in this case your tablet).
/ by itself is called root. or your root directory. (think My Computer in windows). Everything on or connected to your device is located at /somethingorother.
/sdcard is typically where your sdcard is. Depending on your rom it might be your internal memory.
/emmc is where your internal memory is (maybe depending on your rom)
/system is where your base operation system files are located.
/sdcard/data is the location you referred to as being a data folder on your sdcard.
/data is where your phone stores data. Where internally installed apps go
if you open your favorite file manager you will see your location usually as /sdcard or home, mnt, sdcard or /mnt/sdcard it depends on your file manager. you need to "go up" a few folders to get to your root folder to find /system.
Hope i didn't make that more confusing then it actually is. Sorry if I did.
And the light clicks on ...
For some reason I was under the impression that everything had to happen down at the sd card level. I did work my way "up" and there was a system folder with apps in it! Another post said I had to make the folder RW but even though I was using terminal emulator the system was having none of that - "no sudo for you!" I went back to trolling the forum and WAY inside I found a post that was unclear to me but I tried it and IT WORKED (this is the original question about getting the keyboards to work). In my Settings/Language&Keyboard I see three keyboards:NI Keyboard, Tap 'n Tap Western Keyboard and Android Keyboard. It would look like a long press would allow you to select one but that is not the case. Having large hands, the android keyboard which seemed to be the default on my Vegan installation, was the only thing I didn't like about Vegan. The Tap n' Tap one that I had been using on TNT Lite fit me much better. So blah blah blah.... To select another keyboard you open up something that pops up a keyboard - I used Quick Office but any keyboard call seems to work. Long Press in the text area and up comes a menu for Input Method and on it were my three keyboards. The android was selected so I chose the tap n' tap instead. Apparently that switched the default and now the tap 'n tap is my new default. Problem solved. As for accessing the folders off of root - well that is a project for another day.
Well glad you got it working. If your tab is rooted then i recomend root explorer as good file manager. You can quickly change folders from r/o to r/w in one click as you explore it.
Sent from my GTablet using Tapatalk
enigma0456 said:
I switched from tnt-lite to Vegan and I like it - except the keyboard isn't as good. I see that there are presently two other keyboards when I go to the config page but there is no check box to select them. Searching around it seems that the way to make them work is to manually copy the keyboard apk from /data/app to /system/app - at least that is the consensus of the posts I have seen. Well, looking at my sdcard I can see a /data folder with no sub directory app but there are apk files in the data folder that I recognize so perhaps the instructions mean to copy the apk file from the data to the system folder? I'd give that a try but there is no system folder (showing). I poked around with a couple of different file explorers but nada. I thought I would be clever and explore from my PC by plugging in in usb mode but still I find no system folder. I'm guessing it is hidden but I thought the g-tab was rooted by default so shouldn't I be able to see it. So - what I really want is just to change out the keyboard so if you know how post that but just on principle now I'd like to find out if there is a system folder, where it is and how to get into it. Thanks!
Click to expand...
Click to collapse
Vegan support my other keyboard without issue (in fact it's the only rom I found) maybe you didn't wipe before flashing ?
Also root of the device is NOT accessible by usb unless you mean ADB...
EDIT: SOLUTION FOUND!!! HERE (see also the P.S.: Disabling Fast Dormancy on v20s stock)! and file download HERE (Keep in mind this file was for v10E Europe Open)!
After I made the upgrade on the new 10E European Open, the browser keeps getting it's homepage to live.vodafone.com, and a bunch of vodafone bookmarks keep appearing after every phone reset.
I managed to delete them with "Bookmarks Manager", but they keep appearing on reboot, what's worse, they don't work, the pages are not loading and is driving me crazy.
I tried deleting browser.db, setting read only flag to 0 in browser.db for the selected bookmarks with sqlite editor and then deleting, everything, I just can't get rid of these bookmarks once and for all!
Please help!
Maybe if I do some wipe data on some system APP will solve the problem (with Titanium Backup), but wiping the data for the browser doesn't do the trick (only temporary fix)
P.S. Bookmarks Manager was a very good solution for Orange Bookmarks on older firmware, but these VODAFONE ones are very persistent! I tryed an ORANGE sim and the same situation happens but with Orange Bookmarks, once phone reboots, the damn bookmarks get resurrected!
I think these bookmarks are stored somewhere in a file and once phone reboots are read and automatically created... It's very annoying because even my homepage gets changed everytime phone reboots...
Some more info:
I don't want to let this die, here is my experience:
Before I used 10B Orange Romania, and once the bookmarks were deleted, they dissapeared forefer, but maybe because that firmware is (was) intended only for orange phones, so, in truth the phone didn't needed to "PUSH" new bookmarks on reboot.
This only happens with 10E European - OPEN, because, probably being a OPEN firmware it's actually supposed to support all carriers, so maybe the phone scans the sim for carrier name and automatically PUSHES the HOMEPAGE and BOOKMARKS...
I'm in the process of testing this theory with NO SIM, it should NOT push any bookmarks in this case... And what do you know... I'm right, with no SIM, there are no bookmarks loaded! Insert a phone sim and that carriers bookmarks get pushed on the phone! Even the homepage stays untouched!
Could we use this info to trace the program that does this??? if yes HOW?
Try bookmarkymark (free in Market), it got rid of my preinstalled bookmarks, too.
HTH!
I can delete them, the problem is how to make them stay deleted... They come back on every reboot!
Same problem with my P970 on a Red Bull Mobile contract.
NEW INFO and SOLUTION!!!
quyTam said:
@valakinaki & @mihaiolimpiu
and all those who have problem with operator bookmark.
I've got the same problem with a previous rom version, LG black loads operator bookmark from sim card ! è.é
finally (after trying frezing all services), I've found the service who cause that !!
"FlexProvider"
After freezing this service, the problem is solved (but freezing this service crash the default SMS app, so I have to use Handcent)
Click to expand...
Click to collapse
Ok, so I found this service resides in:
/data/data/com.lge.providers.flex/
/lib/ dir is empty
/databases/ has two files:
error_report.txt and flex.db !!!Every info for this is stored in that file and by editing this file we might find the answer!!
EDIT:
Yes, indeed the database has all the bookmarks and nasty homepage stored, the problem is that every modification to the file brings flexproviders service to FORCE CLOSE...
PROBLEM FIXED!!! JUST SET read/write for Owner/Group/ALL after you copy the file over!
You will need to have ROOT access to copy the file!
I used http://sqliteman.com/ to edit the file, the info needed is in the table flexinfo:
BRW_SETTINGDB_HOME_URL_I: browser homepage <-SET TO WHATEVER YOU WANT!
BRW_SETTINGDB_CURRENT_HOME_URL_I: current browser homepage <-SET TO WHATEVER YOU WANT!
BOOKMARKDB_CNT: how many bookmarks are loaded from database <-SET TO 0!!! YAY!!!!
BOOKMARKDB_NAME_1_I: name of bookmark <-just ignore if BOOKMARKDB_CNT is set to 0
BOOKMARKDB_URL_1_I: url of bookmark <-just ignore if BOOKMARKDB_CNT is set to 0
FIRST you have to go to the table flexoperator, and find your operator index - OPERATORKEY, for example ORANGE RO is 115!
Then go to flexinfo to operator index you want and find above fields and modify accordingly!
THANKS quyTam for the hint... I couldn't do it without the info you provided!!!
P.S.: Flex.db can be used to disable Fast Dormancy on Gingerbread 20s stock rom, and maybe other Roms:
On v20s, add the requested line to build.prop ro.ril.fast.dormancy.rule=0 and editing flex.db in /data/data/com.lge.providers.flex/ and setting datacom_fastdormancy from 10 to 0 for your operator... tested, fully working, phone now is taking 36-48 hours to fully discharge in stand by mode, from 16-24 hours MAX!
Keep in mind that I had two operators, and with one of them the fix was not needed, the battery problem only occured when I changed Networks!
Or you could use this SQL commands to alter the entire file:
SELECT flex_name, operator_index, user_values, default_values FROM "main"."flexinfo" WHERE flex_name LIKE '%BRW_SETTINGDB_CURRENT_HOME_URL_I%' OR flex_name LIKE '%BRW_SETTINGDB_HOME_URL_I%';
update "main"."flexinfo" SET user_values = "http://www.google.com" where flex_name LIKE '%BRW_SETTINGDB_CURRENT_HOME_URL_I%' OR flex_name LIKE '%BRW_SETTINGDB_HOME_URL_I%';
update "main"."flexinfo" SET default_values = "http://www.google.com" where flex_name LIKE '%BRW_SETTINGDB_CURRENT_HOME_URL_I%' OR flex_name LIKE '%BRW_SETTINGDB_HOME_URL_I%';
SELECT flex_name, operator_index, user_values, default_values FROM "main"."flexinfo" WHERE flex_name LIKE '%BOOKMARKDB_CNT%';
update "main"."flexinfo" SET user_values = 0 WHERE flex_name LIKE '%BOOKMARKDB_CNT%';
update "main"."flexinfo" SET default_values = 0 WHERE flex_name LIKE '%BOOKMARKDB_CNT%';
or download this already edited file and copy over yours (every operator has no bookmarks, and every homepage set to google.com )! I didn't tested the file but it looks ok... I tested only the file I edited for myself! I grabbed the file from EUROPEAN v10E OPEN.
Copy the file over to /data/data/com.lge.providers.flex/databases/flex.db
Don't forget to change permissions on the copied file or you will get a Force Close bonanza!
cool, thank you for analysing it (my method was a little bit "rough" ^^')
I'll try your file.
Please post feedback, I searched the web high and low for a solution to this problem, I'm so excited I finally got my phone back clean and tidy ...
Permissions?
I'm an Android noob...how do you set 'permissions' and what should they be set to for this?
With file manager of choice
Use your file manager of choice to set the right file permissions, I use file expert (search for it on market) which is free, has root support and overall is a g great alternative to astro or root explorer...
The permissions need to be set so that the file sistem has read/write permission to the file, when you copy the file on sd card (like me) the permissions are all screwed up...
Remember, that to do this hack, your phone has to be rooted to have write access to system partition...
mihaiolimpiu said:
Ok, so I found this service resides in:
/data/data/com.lge.providers.flex/
/lib/ dir is empty
/databases/ has two files:
error_report.txt and flex.db !!!Every info for this is stored in that file and by editing this file we might find the answer!!
...
Click to expand...
Click to collapse
Thanks for the solution, I copied your flex.db file to my phone. However I only see /data/ not /data/data/ .
Do I need to be rooted to do this? Sorry but this is my first android phone...
Edit: only see now that it has to be rooted.. thanks.
Yeah it's my second android HOWTO, and I'm learning how to write it along you... I think I made pretty good explanations, but at the moment it's all scattered around, I'll try to make a point by point tutorial, and will edit one of the posts to make it easier to understand and apply on your phone!
Yeah, the phone has to be ROOTED, and if you try to apply this patch to another phone (other than LG O Black) first you have to find your flex service, on motorola I think the database is stored in /data/bla bla flex or something, other manufacturers have different names for the flex service, or they didn't made the bookmarks permanent and you simply don't need this hack!
The /data/data/com.lge.providers.flex/databases/ dir is on system partition, that you normally don't even see if your phone isn't rooted!
BE CAREFULL, this flex database has other info stored in there, practically it configures your whole network, and if you encounter problems , maybe it's better do edit the database by hand, I provided the full SQL command to do that on your PC...
mihaiolimpiu said:
Yeah it's my second android HOWTO, and I'm learning how to write it along you... I think I made pretty good explanations, but at the moment it's all scattered around, I'll try to make a point by point tutorial, and will edit one of the posts to make it easier to understand and apply on your phone!
Yeah, the phone has to be ROOTED, and if you try to apply this patch to another phone (other than LG O Black) first you have to find your flex service, on motorola I think the database is stored in /data/bla bla flex or something, other manufacturers have different names for the flex service, or they didn't made the bookmarks permanent and you simply don't need this hack!
The /data/data/com.lge.providers.flex/databases/ dir is on system partition, that you normally don't even see if your phone isn't rooted!
BE CAREFULL, this flex database has other info stored in there, practically it configures your whole network, and if you encounter problems , maybe it's better do edit the database by hand, I provided the full SQL command to do that on your PC...
Click to expand...
Click to collapse
Hi, okay so I've just rooted and verified that it is rooted. I would rather want to use the file you provided.
I installed file expert, renamed my flex.db to "flex.db old" (so I have a backup) and copied your flex.db into /data/data/com.lge.providers.flex/databases/ then changed the permissions to read and write for owner and group.
But when I open the browser it still opens the default home page, I thought it should open google.com.
Am I missing something? Thanks for the help so far.
You are right, it should open www.google.com!
Restart your phone... and the new file should be loaded! or maybe you could have that page open in a new window in browser (Navigator), try closing all browser windows to auto load homepage.
Oh, I remembered, some Operators, don't make their homepages PERMANENT, so maybe it's enough to change the homepage??? I don't know yet hot to remove PERMANENT HOMEPAGE... this is why I set them all to www.google.com!
Q: What about perma - bookmarks are they gone?
If it still opens default page please post feedback with country and operator, and I'll check the file for errors! or if it needs adding some setting if let's say your operator isn't listed!
YOUR FEEDBACK is very, very, very important, because I can only test 2 networks, and from my tests this is all I can do, maybe a setting is different for your operator, I didn't changed anything else (things I don't know what they do - that would be stupid no?).
I rebooted shortly after my previews post but to my horror the "force close" message appeared and I had to keep on dismissing it.
I managed to get into the file manager and delete your flex.db that I copied. It seems like it created a new flex.db when I rebooted again.
The "force close" problem is gone now but I am still stuck on the default home page.
The "force close" issue has something to do with permissions right?
I used the same permissions as the flex.db file that was there in the first place:
read and write for owner and group...
The "force close" thing scared me, it just kept on popping up again and again. I almost thought I bricked my phone.
Edit:
perma links? don't think I have any.
Yeah, the force close message appears if permissions are not set right... It needs read/write for Owner/Group/ALL!!!
I will test the file myself right now to make shure it all works OK! just wait a few sec and I'll post the test result!
Ok, I tested the file, checked all permissions -> phone rebooted, everything works as it should! Homepage set to google.com, no bookmarks anywhere!
Keep in mind I have V10E Europe Open, maybe if you have another firmware you need to manually modify your file... I'm not going to do a reflash just to test ... but, if you still get that FC message, just delete the file and it will go away.. Yeah, I know it's scary but keep it cool and you can fix it quickly by deleting the file!
If you want just open the file on your PC side and see how yours and mine looks.. or check for a VERY different size of the file, if there is a VERY BIG difference, chances are that your service loads a different kind of file and then only solution is to do it manually!
I uploaded a screenshot, see the homepage set to google.com, and only my bookmarks, not even one operator bookmark in sight!
mihaiolimpiu said:
Yeah, the force close message appears if permissions are not set right... It needs read/write for Owner/Group/ALL!!!
...
Click to expand...
Click to collapse
Success! I just needed to add permissions to ALL.
Thanks for the help. I am running Android 2.2.2 V10a.
I just test your DB, it works perfectly !
I think I'm on v10c (Nova Rom), with Belgian provider.
And I don't have given permission to "All", only to "Owner" and "Group" (as the original file).
Thank you very much !
I'm very happy to hear this! Thank you!
I also found out, that every carrier pushes 4 or more RSS adresses for an RSS reader??? have you been bothered by this?? does it need changing?
I think the most common are Engadget, CNN, and 2 more...
More detail on my work:
I searched the database, there are two values regarding browser homepage per carrier, (FROM MEMORY) browserdb_homepage_default_i and browserdb_homepage_current_i, I tried putting {NULL} there, deleting the value, a space, anything, it just doesn't let you change the homepage permanently. On boot it gets overwritten by some default android address (still google.com but more chars), so I decided to give it a rest for the moment.
I'm pretty happy with the results, this would of been great, but, in whole sincerity, who uses a different page different from a good search engine?
So, just consider the file I provided version 1.0!
After weeks of hard work we (Setmov and uncle Fab) proudly present you the first Una ROM for the galaxy Tab 7.0 Lite AKA SM-T11, based on 4.2.2 XXUANB2.
DISCLAIMER
As usual, your phone your responsability, we won't take any responsability if it flies out of the window or if your girlfriend/boyfriend runs away with it.
PLEASE, DO READ OP COMPLETELY AND CAREFULLY BEFORE ASKING ANY QUESTIONS, ANSWERS TO MOST PROBLEMS ARE THERE
WHAT IS UNA?
UNA is a new concept that takes security to a new level.
Are you tired of seeing so much blatant, outrageous and shameless invasion of your privacy and data mining hidden behind nice sentences like "enhanced use experience" or "complete integration with the system"? We decided to develop secure ROMs where privacy means just that – Private!.
It’s free of charge, we are a non profit structure and we are not here to make big bucks
WHAT UNA ISN'T
UNA isn't a way to help you stealthily buy massive destruction weapons to foment a coup d'etat in your favorite banana republic or to prepare the third world war.
UNA secures what leaves from your phone (ie your personnal data doesn't leak and no app can look over your shoulder to spy your activities), but it can't completely secure what comes into your phone.
Why is that?
Because it's just not possible to fully secure a phone from what comes into it, and anyone claiming to be able to do it is either a liar, or an ignorant, or both.
There are too many attacks, some not well documented, if documented at all, and some unknown to the public, and there are too many ways to hack a phone, especially if the user doesn't use his/her common sense.
If you are the type of person that installs apps from shaddy source and/or warez web sites (sites offering cracked paid apps) chances are that at some point you will unknowingly install a malware or a spyware. The same applies if you click on any link, specially on SMS' and emails, if you let any pop out window appear or if you don't protect your lockscreen with a password/pin/pattern and let anyone get physical access to your phone.
A bit of judgment and common sense can save you a lot of trouble, but there's unfortunately nothing UNA can do about it.
Then, if you use your phone to call through GSM your provider will know where you are. If he didn't you wouldn't be able to make any call, the signal has to find you and there's nothing UNA or anyone can do about it.
The only way to prevent that is to disable the phone functions (but then your phone will turn into a wifi only device) and reenable them when needed, head to the scripts section to learn how to do it.
Last but not least, bear in mind that the agencies have armies of tech savvy henchmen and 10 storeys computers, and tricks we can't even imagine, so think twice and use your brain before you attempt to outsmart them...
UNA IS FOR YOU IF
. You are willing to learn how to use an unconventional ROM and generally speaking to understand how things work, even if it sometimes requires a little effort to fix this or that little problem (bear in mind that it took us a lot of work to develop Una to where it is now),
. You don't mind a few little occasional bugs here and there that come from all the restrictions the ROM contains,
. You want to take back ownership of your phone from google’s claws.
UNA IS NOT FOR YOU IF
. All that you care about is the latest gimmick in the latest OS,
. You can't live without the google’s apps,
. You are the kind of person that never reads through the OP and only scroll down to the download section, and then complain that things don't work and/or ask stupid questions that are answered in OP.
An example? One guy makes a mod and writes clearly in OP that it's specifically for 4.2.2. Then some people complain: "it doesn't work on 4.4.2"...
ARE WE PARANOID TIN FOIL HATS? OR TERRORISTS? OR CARTEL BOSSES?
Nope, we only are people that don't see why we shouldn't be in control of our phones. Or why our phones can be wiped remotely, why apps or updates or who knows what can be downloaded and installed without asking for our consent, why SMS' can be sent without us to know, why we should pay for the bandwidth used for data mining and unwanted downloads, and why all those activities should deplete our battery and kill our RAM.
You think we are overreacting here?
You don't have to take our word for it, just download and install Network Log from here:
https://f-droid.org/repository/browse/?fdfilter=network+log&fdid=com.googlecode.networklog
Give it root permission, start logging and open some web pages. Come back to Network Log after a few minutes and see for yourself, you'll be surprised (or maybe horrified?) to find out that your android system, your settings, your kernel etc. connect to all sorts of funny IPs, including and foremost google’s.
Now you see what we mean?
It's time to go for Una
UNA'S FEATURES
. Rooted.
. Deodexed.
. Zipaligned.
. Busybox and sqlite installed.
. Init.d support and scripts.
. Auto start disabled for most apps.
. About 150 system apps, 45 framework jars, 15 permissions xmls and 65 libs removed, plus files here and there.
. Very low RAM and CPU consumption, more than 8 hours screen time with the WIFI on.
. Heavily and extensively modified system, in order to make it secure and prevent it from leaking your data.
. App Settings, Firewall and Xprivacy built-in, and already applied out of the box to make sure you are well protected.
. Xprivacy is a fantastic tool but it has one big limitation, it can't restrict the Android System from accessing your serial numbers and leaking it. For that reason these IDs have been edited as follows:
build.serial (androidboot.serialno) and ro.serialno are both set to "1",
android id is set to "android",
net.hostname is set to "1".
. Wlan serial number set to "00000001" (this number identifies you everytime you connect to the internet, and Xprivacy can't do anything about it).
. USB ID (iSerial) set to 1.
. Unreadable cp access.
. Vulnerabilities patched thanks to Master Key Multi Fix and Fake ID Fix.
. ADB disabled (can be re-enabled, see below).
. By default ADB and the Live Wallpaper Picker app are disabled. Using the provided scripts you can re-enable some or all of them, and you can restrict all google access (including youtube, blogspot and google search), the Media Storage/Provider app and more, instructions are in the "HOW TO USE THE ROM" section.
. Plenty of under the hood modifications to make the ROM fast and fluid.
. Multi-purpose navigation keys.
. Call button in contacts.
. Because secure doesn't mean ugly, the whole ROM has been themed in black holo to replace Samsung's light holo theme, with a beautiful green color for keys, icons and some text (if there are enough requests other themes will follow), transparency, and Lollipop HD wallpapers.
. Multiwindows have been revamped, they are no longer only static in Samsung style but now they can float and be resized too, like on a computer.
. All apps can be opened in floating mode.
. All apps display in the Flash Bar.
. Possibility to choose between static or floating multiwindows (instructions are in the "HOW TO USE THE ROM" section).
. Heaps of hand picked and carefully scrutinized open source apps.
There are 2 non open source apps (Greenify and Quick Pic) but they are safe, believe me, I have thoroughly examined them. Still, you can always uninstall them if you feel like it.
In time we will develop our own apps, but first we want to see how people respond to the Una concept...
Installed apps/tools
. 920 Editor, to create and edit scripts or text files.
. AF+ Firewall.
. Alarm clock.
. APG, to encrypt messages.
. App Settings, to restrict apps' permissions, change DPI on a per app basis and more.
. Arity, a calcultor.
. Conversations, a secure and encrypted chat, modded by uncle Fab for increased security.
. Fdroid, an alternative to the Play Store, and all the apps are open source!
. Floating stickies, to make small notes on the fly.
. FTP Server, to copy files to/from your phone wirelessly.
. Ghost Commander, a very powerful dual panel root file manager.
. Gravity Box, a theming engine.
. Greenify, to make apps behave by hibernating them when not in use.
. K9 Mail, an email client.
. Kernel Adiutor, if you feel like playing with kernel tweaks (but you have to know what you are doing).
. Lightning, a fast and light weight browser.
. Network Log, to check where your apps connect and chase unwanted connections.
. Open Camera.
. Tor (Orbot) for Android, modded by uncle Fab for increased security.
. Orweb, a browser designed to work along with Tor.
. OS Monitor, to monitor and kill your phone's processes, and more.
. Pale Moon, based on Firefox for Android, for a full desktop experience with Mozilla add-ons preinstalled for enhanced security.
. PDF Reader.
. Preferences Manager, to edit the otherwise difficult to read shared_prefs files in data/data.
. Quick Dic, a good selection of free dictionaries.
. Quick Pic, a Gallery app.
. Search Light, a torch.
. Terminal Emulator, fire up your commands and show your phone who is the boss!
. Text Secure, a secure and encrypted SMS app, modded by uncle Fab for increased security.
. Tint Browser, another fast web browser.
. Urecord, to record sounds with different sample rates.
. USB Mass Storage Enabler, to connect your phone to any computer (note that it only mounts the external SD).
. Viper4Android FX, a powerful sound enhancer.
. Viper4Android XHiFi, some more sound enhancements.
. VLC, a video and music player favourite.
. WI-Fi Privacy Police, to secure your connections even better than they already are.
. Xposed Installer, a great framework that enables apps like App Settings or Xprivacy to work.
. Xprivacy, last but not least, the best privacy app.
INSTALLATION
As usual, make a backup first!
Do backup your contacts and whatever is important because all your apps and data will be erased (your sd card contents won't be deleted though).
Do backup your /system/csc folder, in case you need it for later.
Do backup your efs folder (VERY IMPORTANT).
Open an android terminal from your phone, first type "su" (without the quotes), enter, then type:
busybox dd if=/dev/block/mmcblk0p4 of=/sdcard/efs.img
This will create an efs backup caled efs.img in your sd card.
If you need to restore it, make sure the efs.img is in your internal sd card and type:
busybox dd if=/sdcard/efs.img of=/dev/block/mmcblk0p4
Before you install the ROM, you need a working custom recovery.
Philz is the best since AFAIK it's the only one that allows you to lock you recovery with a password (highly recommended, if your recovery is not password protected it wouldn't take more than 2 minutes for someone to disable your pattern or pin protected lockscreen and access all your personal data on the phone).
Alas, the Philz version for the T111 doesn't work properly (if there are enough users request I may build a working Philz) so for now you'll have to install TWRP from here:
http://forum.xda-developers.com/gal...sm-t110-kernel-sources-twrp-bootloop-t3060819
Don't forget to thank @ paziusss for his work!
TWRP installation instructions
You need to have Samsung drivers installed.
Boot your phone into download mode (press volume down and power at the same time).
Open Odin 3.07 and connect your phone.
Click on the PDA slot, navigate to where the TWRP recovery is located and select it.
DOUBLE CHECK AND MAKE SURE THAT "RE-PARTITION" IS UNTICKED (only "Auto Reboot" and "F.Reset Time" should be selected).
Click start and wait while Odin flashes TWRP.
If everything went well your phone will now auto-reboot into the system. Go into recovery, you should see your brand new TWRP.
If you are still on stock recovery then repeat the above steps, but this time untick “Auto Reboot” in Odin.
When in recovery, if before you reboot you see a text on the screen displaying “yes – disable flash recovery”, select it to avoid stock recovery overwriting TWRP.
Now, download Una from here (scroll down until you get to the download section):
http://unaos.com/
Unzip the file and copy it to the backup folder that is inside the clockworkmod folder in your sd card (if there's no backup folder create it by choosing "mkdir" in Ghost Commander).
Boot into recovery.
Go to restore from sdcard, choose 2015-03-29--13-45-53 JDQ39.T111XXUANB2 and go for it!
IMPORTANT!!!
In case you had previously installed one of those Knox plagued ROMs (maybe some of the latest 4.2.2 ROMs?) you'll have to choose custom restore and uncheck boot in the menu, because since the bootloader you have is Knoxed you may get a brick if you downgrade it to a pre-Knox version, don't play with that!
If you choose to proceed, you do so at your own risk, but in any case first read through XDA's forum to find out if it's doable.
If it doesn't work for you then I'm sorry, you are out of luck, shame on you Knox...
If it works please report it here so that other people will know, thanks in advance!
Once it's done reboot, congratulations, you have installed Una ROM on your phone!
HOW TO USE THE ROM
. Swipe down to access the applications drawer.
. Swipe up to turn off the screen.
. Go to settings and set a lockscreen (recommended).
. Go in recovery and set a recovery password (recommended).
. Long pressing on the menu key toggles expanded desktop (full screen, no more navigation bar and no more status bar).
. Double pressing the menu key kills and hibernates the current application.
. Long pressing the recent key brings you back to the last application (convenient to switch from one app to another).
. Between the home and the back key there's a supplementary key that can display up to 12 apps (editable in gravity box).
Double pressing that key shows the sound panel, long pressing it shows the reboot menu (note that there's an option to take screenshots in the reboot menu).
. Go to /system/etc/security/cacerts, check the certificates that are there (you'll find the certificate's name approximately by the middle of the file), and erase the ones you don't need/like.
When you want to transfer files to/from your phone open the USB Mass Storage Enabler app and enable mass storage, that's it. When you are done, don't forget to eject your phone from the computer.
. When you install a new application, by default it will be fully restricted in both Xprivacy and the Firewall.
Before you open the newly installed app wait until the Xprivacy icon appears in the status bar, then and only then can you open it.
Most likely the app will crash.
Go to Xprivacy, open its settings and then usage data, you will see what restrictions caused the crash. Re enable some, provided that they are not too invasive.
Many apps require "load.Library" to be allowed in the shell section, that's ok.
Others may need to access the sd card, that's in the storage section and it's ok to allow it for apps that really need to access the storage, like players, cameras or file managers (for other apps try to keep it restricted).
Root apps obviously need "su" and/or 'sh", and sometimes "exec", in the shell section.
Always try to enable as few fields as possible, and bear in mind that data requested by an app is not necessarily needed for that app to work (especially true for identification, internet and mcc/mmc access).
Lastly, give the app internet access in the Firewall if, and only if, it needs it, and restrict some more permissions in App Settings.
If you can't tame the app consider uninstalling it and look for a similar one that has less built-in spyware.
SCRIPTS
. As said above, by default ADB and the Live Wallpaper Picker app are disabled.
If you want to re-enable some or all of them, open the script folder located in system/etc, click on the desired script and choose edit.
Copy the whole text and paste it in the Android Terminal, voila, the script is automagically executed.
. You will see more scripts, to disable/enable ADB, the Bluetooth, the Media Storage, all google access (including youtube, blogspot and google search) and the Phone (that will turn your Tab into a wifi only device and make it much more private since the phone modem is closed source and thus unsafe).
If you disable the Phone and later want to re-enable it do as follows:
untick App Settings in Xposed's modules section, re-enable Phone, reboot, then enable App Settings again.
. Some scripts enable you to backup/restore your efs partition, you do what you want but backing up your efs comes highly recommended.
If you need to restore it, make sure the efs.img is in your internal sd card before you run the script.
. Other scripts can enable/disable am and pm, but don't play with it unless you know what you're doing.
. You can uninstall the Live Wallpaper Picker, the Wallpaper Chooser and the Media Storage if you want, or keep them disabled and resurrect them when needed.
. If you are very privacy concerned you should consider using the "uncle's phone lite" mod because it enables you to call with only the Phone and the Telephony Provider apps (CSC, Contacts, Contacts Storage, Logs Provider and STK are completely de-activated). That's the method I use to make calls, but you have to know that the dialler forces close after you complete the call (not a big deal in my opinion but still, I may look into it one of these days). You'll find the mod in the add-ons section.
. I forgot to add the scripts to enable static or floating multiwindows, you'll find them in the add ons section.
Unzip the file, you'll see 2 scripts.
Put them in the system/etc/script folder, give them rwx, rx, rx permissions (755) and run the one called "static_multiwindows_t111".
Reboot, you are back to stock static multiwindows but now you can make multiwindows templates (look for the cross below the edit button), and the good thing is that those templates will stay if you switch again to floating multiwindows.
If you want your windows to float again run the script "floating_multiwindows_t111".
ENCRYPTION
If encryption is your thing we have you covered with the following installed apps:
APG, Conversations, K9 Mail and Text Secure.
BUGS
. There are a few minor UI inconsistencies due to the black holo theme, it will be fixed in the next release.
. When you are in the dialer app you can access the call log and the contacts, but don't press favorites. If you want to access them press contacts first, and then favorites.
. For some reason the ADW Launcher doesn't allow transparency in the navigation and the status bars, I'm working on it.
. Network Log app doesn't work, it's not an Una bug but a limitation in the T111's kernel (some modules are missing).
If there are enough users' requests I'll tweak the kernel and add the missing stuff.
. You can't download anything from Lightning and Tint Browser, that's because the Download Manager and the Download UI have been uninstalled. If you need to download something, copy the link and paste it in Pale Moon, it has its own download engine.
. All the installed apps work, but other apps you install may crash. I call that kind of apps "google’s henchmen", they only work if the play store services or the bla bla app are installed and of course they won't on Una since all that garbage has been removed.
If I install your app, why do you want to force me to install your boss' app too? Forget about those apps and search Fdroid, you'll find what you need...
. Depending the way you use your phone you may have to fine tune Xprivacy and reenable some permissions, I'm sorry for the inconvenience but it's impossible to set Xprivacy for all users since we all have different ways to use our phone.
ADD-ONS
. Uncle's themed Sony keyboard, flash it in recovery. It's not open source and that's why it's not included in the rom by default, but it's my every day keyboard because it works fine and because I themed it to make it look nice.
. Uncle's phone lite (with clipboard and dialer) for hardcore users. It's safer than using the regular phone configuration, but the dialer forces close when you hang up the call. Flash it in recovery, wipe dalvik-cache, reboot.
. Completely disable internet access for the Android System. Lightning and Tint Browser won't connect anymore since they use the same web engine as the Android System (that is anyway not very safe in 4.2.2), but Pale Moon still works thanks to its build-in web engine. Flash it in recovery, wipe dalvik-cache, reboot.
. Holo Light Theme
In case you don't like the black Holo Theme we use for the ROM, here's the stock Light (white) Hole Theme. Flash the zip in recovery, clear dalvik-cache, reboot.
Add-ons are here (scroll down until the download section, then in the download page scroll down a bit until you see the add-ons link on the right):
http://unaos.com
UPDATES?
There will be some, but only if there is enough users' feedback. No ETA though, you'll have to be patient because now we have to design and release Una for many other phones.
Still, any suggestions/comments/bug reports are welcome, help us to improve Una!
FEATURE REQUESTS
Yeah, sure, we'll see what we can do but we don't promise anything
That's all for now, enjoy the ROM!!!
The Una team
CREDITS
Big thanks to:
F-Droid
M66B (Xprivacy)
Rovo89 (Xposed)
Tungstwenty (App Settings, Master Key, Fake ID Fix)
Ukanth (AF+Firewall)
Jecelyin (920 Editor)
Kraigsandroid (Alarm Klock)
Thialfihar (APG)
Arity (Arity calculator)
Siacs (Conversations)
Ppareit (FTP)
Ghost Squared (Ghost Commander File manager)
Mohammad Adib (Floating Stickies)
C3C076(Gravity Box)
Oasisfeng (Greenify)
K-9 Dog Walkers (K9 Mail)
Grarak (Kernel Adiutor)
Anthonycr (Lightning)
Pragmatic Software (Network Log)
Mdwh2(Open Camera)
The Guardian Project (Orbot and Orweb)
Eolwral (OS Monitor)
Moon Child and Cyansmoker (Pale Moon)
Droidapps (PDF Reader)
Simon Marquis (Preferences Manager)
Thad Hughes (Quick Dic)
Q-Supreme team (Quick Pic)
Search Light (Search Light)
Jackpal (Terminal Emulator)
Anasthase (Tint Browser And Tint Browser Adblock Addon)
Thomasebell (Urecord)
Mohammad Abu-Garbeyyeh (USB Mass Storage Enabler)
Zhuhang (Viper4Android FX and Viper4Android XHiFi)
Videolan.org (VLC)
Brambonne (Wi-Fi Privacy Police)
Paziuss (working TWRP)
TWRP team
surprised.
i m bit surprised with this , cause wasnt expecting somebody 2 make rom 4 this tab, firstly i will try said twrp zip,presently on dr. ketans rom having stock recovery [shame].
thanx 4 efforts time. thinking about yr warning [knox thing i dont want brick,but not cleared soft bick or hard brick]
Nice to see that you are surprised, or well, I hope it s a good surprise.
I m not very familliar with this Tab since I don t own it, but what i know is that problems with Knox come from the bootloader.
In order to avoid it do as follows:
make a backup of your current rom,
flash UNA rom by doing a custom recovery (as I explained in OP) and only restoring system and data (untick boot), cuz even in the worst scenario, that is that the rom won t install, you won t brick your tab since you didn t touch the bootloader and all you ll have to do is to restore the backup you made previously...
In any case try the TWRP from the link I gave, it works flawlessly (I know about the other TWRP, it didn t work well since it was meant for the wifi only model).
And don t forget to report here how it went, thanks in advance!:good:
couldnt locate new twrp zip in download folder
couldnt locate new twrp zip in download folder will try again tommarow.
Great Work.
i like the rom but because of that blue color i don,t want this rom. it makes me feel bad.
can you guy,s change it to white.
(it might be due to diffrent types of vision people have so maby it,s worse for some one and good for some one els)
Holo Light (white) Theme added, check OP in the add-ons section.
can i flashthis rom in odin ???
i cant locate twrp zip in computer.
It's works on T110?
Edit: Yes, it's works on T110. Thanks for share .
Can I install on SM-T110?
Im getting mismach error, any suggestion?
YES its working rom on sm t 111, confirmed. thanks but without gapps & all i seriously doubt how many will use it but neverthles u ppl gave us a working rom that i appreciate
I like the idea of excluding 'Google \gapps' I am waiting to get my hands on a tab7 lite and give this a go. I would like to remove all the junk from the ROM on this Asus tablet. I will tinker with it when I get the Samsung.
Can you give a Google Apps for this room or just the Google Play? I tried install one gapps package but it broke all.
nexbr said:
Can you give a Google Apps for this room or just the Google Play? I tried install one gapps package but it broke all.
Click to expand...
Click to collapse
@nexbr, we can't help you! If you had read the OP, then you would seen that this rom is "privacy and security" oriented, so no gapps at all. It has been tweaked this way, to get rid of all the google stuff. No gapps and no gapps installation ever.
Thanks for this great rom (do you have some sort of guide on porting it to other devices; I would love to help)
Why is adb disabled by default?
adb over usb should be safe enough, you can always disable usb debugging on the phone...
I really like the samsung SM T-111 default keyboard, can we install it keeping it from internet access and so?
can't locate the unaos folder for recovery.
At restore step I'm unable to locate the folder (unzipped folder of unaOS).
How did you guys manage to install this with TWRP? The install doesn't work for me when I'm in the TWRP recovery and point to the zip file.
may i use it on my T110
Can someone guide me where to download this ROM from?
The page on UnaOS doesn't seem to support the download link any more - https://www.copy.com/s/O67vsTVdSO7bTyR1
can you teach how to install both twrp and una and twrp download link for sm-t111