Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
mihaiolimpiu
Old
(Last edited by mihaiolimpiu; 25th March 2013 at 09:44 AM.)
#1  
Senior Member - OP
Thanks Meter 38
Posts: 180
Join Date: Aug 2009
Location: Suceava
Cool [Q] How to delete preloaded bookmarks? PERMANENT SOLUTION FOUND!!!

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...
The Following User Says Thank You to mihaiolimpiu For This Useful Post: [ Click to Expand ]
 
mihaiolimpiu
Old
#2  
Senior Member - OP
Thanks Meter 38
Posts: 180
Join Date: Aug 2009
Location: Suceava
Default 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?
 
Kusie
Old
#3  
Member
Thanks Meter 8
Posts: 64
Join Date: Aug 2011
Try bookmarkymark (free in Market), it got rid of my preinstalled bookmarks, too.

HTH!
 
mihaiolimpiu
Old
#4  
Senior Member - OP
Thanks Meter 38
Posts: 180
Join Date: Aug 2009
Location: Suceava
I can delete them, the problem is how to make them stay deleted... They come back on every reboot!
 
Park82
Old
#5  
Park82's Avatar
Member
Thanks Meter 6
Posts: 96
Join Date: Jun 2007
Location: Pretoria
Same problem with my P970 on a Red Bull Mobile contract.
 
mihaiolimpiu
Old
(Last edited by mihaiolimpiu; 25th March 2013 at 09:41 AM.)
#6  
Senior Member - OP
Thanks Meter 38
Posts: 180
Join Date: Aug 2009
Location: Suceava
Cool NEW INFO and SOLUTION!!!

Quote:
Originally Posted by quyTam View Post
@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)
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!
The Following User Says Thank You to mihaiolimpiu For This Useful Post: [ Click to Expand ]
 
mihaiolimpiu
Old
(Last edited by mihaiolimpiu; 2nd September 2011 at 09:36 PM.)
#7  
Senior Member - OP
Thanks Meter 38
Posts: 180
Join Date: Aug 2009
Location: Suceava
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!
Attached Files
File Type: zip flex.zip - [Click for QR Code] (421.8 KB, 47 views)
 
quyTam
Old
#8  
Senior Member
Thanks Meter 40
Posts: 405
Join Date: May 2011
cool, thank you for analysing it (my method was a little bit "rough" ^^')

I'll try your file.
 
mihaiolimpiu
Old
#9  
Senior Member - OP
Thanks Meter 38
Posts: 180
Join Date: Aug 2009
Location: Suceava
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 ...
 
kiwi_radical
Old
#10  
Junior Member
Thanks Meter 21
Posts: 27
Join Date: Aug 2006
Default Permissions?

I'm an Android noob...how do you set 'permissions' and what should they be set to for this?

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...