Deleting Default Bookmarks [Stock Browser] - T-Mobile Sidekick 4G

If you want to delete the default bookmarks in the browser, but keep getting an error saying you are not allowed to, you need to edit the sqlite database for the browser.
You need to edit /data/data/com.android.browser/databases/browser.db
The table will be called bookmarks
Any record in that table with a "created" field of "0" and "bookmark" field of "1" will not be user deletable in the browser.
You can either edit the created field to with any number, and then delete it from the browser, or just delete the record from the editor you are using.
This can also allow you to make bookmarks undeletable in regular use.
For me, the easiest thing to do is use SQL Editor from the market (paid, worth it imho). Root Explorer should also help do the same.
Alternatively, you can use the "sqlite3" command, but it's not included in the stock firmwares. I'm going to copy it over from my g1/cm4.6 and see if it works. Sqlite3 v3.6.22 from g1 1.6 defanged works. Zipped copy is attached. Just get it copied to /system/xbin/ and give it 755 permissions and chgrp to 2000 like everything else in there.
You can also go mucking about with copying the db file to your computer and editing it there, but that's a big hassle.

DB Browser is free and is pretty good too.

Related

How to create start menu item for Java program? (i.e. Gmail client?)

I think I've searched the forum pretty well, but i still can't find out how to add a start menu item to my HTC Fuze (Touch pro) gmail client (which is a java app). I've seen in other threads how to set up gmail with the native email client on the phone, but i'd like ot use the actual java gmail client without having to navigate from start menu -> java -> gmail. how do i do this?
also, how do i set the client so it's signed? it always asks me for permission to access the internet when i want to refresh or send a message. how can i sign gmail so it doesnt ask this?
thanks!
first of you ned to uninstall gmail from your midlet manager and then goto its directory and then into the appdb subdir and note the LAST "suite" file (they have a number after them) and then reinstall gmail and then go back to the appdb folder and note the NEW suite file made and then make a duplicate of any lnk in the start menu and then go into its properties and change the location to this
"Storage Card\Program Files\JBed3dMod\Jbed.exe" -run s69_"
of course adjust the above path to MATCH your midlet managers location AND THE SUITE NUMBER
any problems pm me as i will probably forget i posted here
Where can I find the midlet mannager?I installed some java apps and I don't know how to access them again!
Kostas-Pro said:
Where can I find the midlet mannager?I installed some java apps and I don't know how to access them again!
Click to expand...
Click to collapse
Well, most would likely has the word Java in the Start->Program. If you use cooked rom, it might be moved to other folder in Start->Program.
Great thanks! Just FYI to other readers: since gmail was the first midlet i installed (and i'm running ROMEOS latest which starts out with no midlets installed) then in the \windows\appdb folder there was only one suite file set to choose from (a bunch of files all starting with s1_). Thus, I created a link in the "\windows\start menu" folder with following line in the properties (including the quotation marks)
"\Windows\jbed.exe" -run appdb\s1_"
It worked! now when i click this item in the start menu, it brings up gmail. If only i could change the icon...
What about the signing problem? Whenever I refresh Gmail's inbox or try to send an email, it asks me if i'm okay with it being "untrusted". I've found other posts that explained how to use the native email client with Gmail, but I'd like to get the java gmail client to work without the repetitive questioning. How can we tell the phone to let the Gmail midlet do what it wants? (i know i know...i'll go read the wiki
Changing the security permissions
hamx0r said:
What about the signing problem? Whenever I refresh Gmail's inbox or try to send an email, it asks me if i'm okay with it being "untrusted". I've found other posts that explained how to use the native email client with Gmail, but I'd like to get the java gmail client to work without the repetitive questioning. How can we tell the phone to let the Gmail midlet do what it wants? (i know i know...i'll go read the wiki
Click to expand...
Click to collapse
Here's how to deal with the 'trust' issue with Gmail in Java from an article on pdaphonehome.com regarding the Opera Mini midlet. This works the same for the Gmail app.
Skipping the Connection Permission Prompt (Only applies to JBed)
One of the only negatives of using Jbed, over Jeodek, used to be that any time an application wanted to access to the Internet, Jbed would ask twice if you want to allow the action. It will also forget this permission next time you ran the application, so you would have to give permission every time you ran a Midlet that tried to access the Internet. Thanks to forum user g-funkster, a work around for this annoyance has been found!
1.) Copy the file \windows\appdb\selector.utf to your PC (make sure backup this file first in case something goes wrong!)
2.) Remove read-only attribute
3.) Open the file with a hex editor, and find the line
Code:
domain=untrusted, \
Replace the text untrusted with the text tckmax. Add space characters between the x (in tckmax) and the comma (otherwise connection warnings or a nullpointerexception error may occur). The above line may appear multiple times in the "selector.utf" file, each corresponds to a different Java Midlet you have installed in JBed.
Code:
domain=tckmax , \
If hex editing is too blackhat for you, g-funkster has created a desktop application that can do this for you automatically! You can find it here.
Click to expand...
Click to collapse
I used Notepad++ to edit the file and it worked perfectly.

[Q] xoom default browser and bookmark folders.

Some how a folder has shown up in my bookmarks. No matter how long I hold the icon the options menu will not show up to delete it or rename it nothing. It has no bookmarks within it and I don't see any options to create a folder let alone delete one. Any ideas.
Bookmark foldering seems to be a new feature in Honeycomb, and the implementation is a bit inelegant, if not nearly undiscoverable, at this time. Still, it's nice to have the feature now, with hopes of further refinement down the line.
You can create folders from the Edit Bookmark dialog:
Long press a bookmark
Select "Edit bookmark"
In the "Add to" section of the dialog, touch "Bookmarks"
Select "Other folder..."
Although you can create new folders and subfolders here, delete functionality seems to be available only via a long press on the folder from the main Bookmark screen.
If the rogue folder can't be deleted this way, maybe check if you can create a new one and see if you can delete that. If that works, and if your other bookmarks are OK, then the rogue folder is probably corrupted; otherwise, there may be further corruption in your bookmarks, IMHO.
what about having bookmarks show up alphabetically?
I can add folders and delete folders just fine its this "other Bookmarks" folder can not be deleted. I cleared all my browser data in app management. Folder is gone now. It seems to show up only when I sync bookmarks with my desktop. On my Linux PC that folder can't be deleted or renamed anything. So that's where it came from just don't know how to kill the folder. I did a bookmark export and opened the XML file but it doesn't show in the coding. I'm left to think its a chrome on Linux error.
Just-in-time said:
On my Linux PC that folder can't be deleted or renamed anything. <snip> I'm left to think its a chrome on Linux error.
Click to expand...
Click to collapse
I just installed Chrome on a Windows box, and found the same thing: the "Other bookmarks" folder is installed by default and cannot be deleted or renamed, whereas user-created folders can. It looks like it's just a Chrome thing overall.
Thanks for that. Wonder why they forced a folder.
MitchRapp said:
what about having bookmarks show up alphabetically?
Click to expand...
Click to collapse
I use an app called Bookmark Sort and Backup. Just hit menu then click alphabetical sort!

Dropbox question

Previously, i was able to download a file from dropbox and save it to my device. Maybe i'm just lost, but i dont see the option to do that. Also, when i was doing this previously, there was a folder called Dropbox in File Manager HD that kept (and synced) all of the items i downloaded from Dropbox. I dont see that now.
You can download (export) a file by either:
1) Long-pressing on a file and selecting Export, or
2) Pressing the down-arrow enclosed by a circle (on the right) of a file, and selecting Export
As for the folder-syncing, as long as i've used Dropbox on Android, they haven't supported folder synchronization. I think I've read somewhere that they used to support it, but took it out. There might be a 3rd party app on the Google Play store that you can get to emulate this feature though.
The App to sync dropbox called "FolderSync" and "Dropsync"
Thanks guys. Thought i was going insane.

[TIP] Send any apk zip etc by Whatsapp without any extra app

Recently I was searching for a way to send apk to my friend, via whatsapp but since its directly not possible, I was looking for workaround. All Google posts linked a extra app, that combines our other extension file with jpg, so that whatsapp sees that jpg to send it. After being sent, recipient needs that same app, to use it, to extract the original file what we intended to send..., Since This isn't effective solution, due to new documents sending feature in Whatsapp, I thought of way and it works well on latest 2.16.97 (as on May 26- 2016) and wanted to share it. This is so simple solution that any Android power user can easily think of...
1. Go to file explorer and change the original app's extension to "txt"
Example: if you want to send a calculator android app, then if app's name would be like "calculator.apk". Rename that to "calculator.txt"
*I have tried other document formats ppt csv pdf etc, none of them expect "txt" extension works, I didn't try "rtf"..
Note: Dont append ".txt" to original file like example "calculator.apk.txt". Whatsapp refuses to accept these...
2. Share that renamed file with extension "txt" to your friend (Can use Share file from file explorer or Go to Whatsapp->contact->attachment->Documents->Browse to renamed txt file location. Works both ways)
3. Whatsapp will send it and your friend will receive that file at sdcard/whatsapp/Whatsapp Documents
*The file can't be opened directly from whatsapp. If opened, only random characters will be seen..
4. Ask your friend to open File explorer and go to "sdcard/whatsapp/Whatsapp Documents" to spot your file. Then ask you friend to rename txt extension by original extension. Example: if calculator app is sent, "calculator.txt" should be renamed back as "calculator.apk"
5. Thats its!... Max file size of 16MB can be sent by this method...
Thanks for reading and give me a Thumbs up if this idea seems worthwhile to you...

[APP][FIX] Database file does not exist (Social Contact Photo Sync & CoSy)

This thread is is related to a temporary fix for the app SCPS (Social Contact Photo Sync) & CoSy where it is unable to read the Facebook app's database file
Root Required (This fix is for the root only method)
Q. Why does this happen?
Ans. I'm not sure. I checked the logs of CoSy and it turns out it is looking for the database file in 3 locations:
[
/data/user/0/com.facebook.katana/databases/contacts_db2
/data/data/com.facebook.katana/databases/contacts_db2
/data/user/0/com.facebook.katana/databases/contacts_db2
]
The highlighted path is the storage path of the database in my phone. Since, SCPS and CoSy both have ROOT access, they were still unable to access the file. That's why I'm not sure why this error occurs. I have emailed the Developer about this and hopefully this will be fixed soon (Not even sure if it is the SCPS's problem or my phone's (OnePlus3 running Android Oreo 8.0.0 OxygenOS- 5.0.3)).
THE FIX
You will need to ROOT.
Download the official Facebook, Messenger, ES File Explorer (you can download any other root file explorer too) and SCPS apps from the PlayStore. (CoSy isn't useful because it can't import from Messenger yet)
YOU CAN SKIP THIS STEP IF YOU HAVE BEEN USING FACEBOOK FOR A WHILE
Log in Facebook and go to your profile and open the list of your friends. Scroll down a few times so it starts caching the friends data. It can take a few minutes depending on your connection and the number of your friends (You don't need to scroll all the way through all your friends, a couple of times is enough. For example, I have about a 1000 friends on Facebook and my database size was about 6MB, so it took a few seconds to cache the list).
Log in to Messenger.
Open ES or your file explorer and give it root access.
Go to /data/data/com.facebook.katana/databases/ and look for contacts_db2 file.
If the folder does not exist, check for contacts_db2 in both the paths specified above.
Copy the contacts_db2 file and go /data/data/com.facebook.orca/databases (or wherever you found your apps data to be from the above given two paths) and overwrite the contacts_db2 file over there.
Open SCPS. and click on Facebook. Select "Setup facebook" and then select "Preferred app" as "Messenger App". Let the other settings be the default and click on OK.
Click on Facebook again. This time select "Enable network".
If "Enable network" is not visible, select "Reload the network".
Voila. It should be able to read all of your Facebook friends now.
Now, you can proceed and setup Auto-Sync for your contacts.
Hi! I stumbled on your post Googling for this same problem with CoSy, but I also think I've found a simpler fix that allows CoSy to be used.
The problem appears to be a permissions issue with the Facebook app's data store. I noticed that com.facebook.orca and com.facebook.katana folders have different permissions, with the former being a more permissive 0751 (rwxr-xr-x). I changed katana's permissions to match and away it goes!
Tardeaux said:
Hi! I stumbled on your post Googling for this same problem with CoSy, but I also think I've found a simpler fix that allows CoSy to be used.
The problem appears to be a permissions issue with the Facebook app's data store. I noticed that com.facebook.orca and com.facebook.katana folders have different permissions, with the former being a more permissive 0751 (rwxr-xr-x). I changed katana's permissions to match and away it goes!
Click to expand...
Click to collapse
Oh, that makes sense why it was not able read Facebook's DB, but read Messenger's. I never bothered to check the directories' permissions.
For me basic com.facebook.orca and com.facebook.katana folders have 700 and database folder inside them has 771. Sadly can't make SCPS to sync.
Edit: set com.facebook.katana to 751 recursive and SCPS sync fine. Ty
Have same problem but... there is no "databases" in Facebook directory. I don't have Facebook directory under "root/data/data/". Why?

Categories

Resources