Market database - G1 Q&A, Help & Troubleshooting

Hello I would like to know where is the market database file stored? As I would like to have a look at it and back it up.
Thanks
Jacob Kay

does anyone know the location of this file? I would also like to know. recently restored some settings using the Backup for Root Users app and I think it is causing my market to FC every time I try to open it.
EDIT --- the location of the file is: /data/data/com.android.vending/databases/assets.db
the file doesn't even exist on my phone, so I ****ed up, haha

Related

Can't install Handcent SMS

Recently, I started getting a "not enough storage available" error when trying to install Handcent either from the Market or using a Titanium restore. I know it's not a space issue because all other apps that I have tried install with no problem. I am using A2SD and have about 400 MB free. I have duplicated this error on multiple ROM's so it must be something on my phone. I searched and found something about permissions on *.so files in the lib directory but I don't know enough to fix it myself. Here is a pastebin of the error:
http://pastebin.com/33gKG5Db
Any help is greatly appreciated!
PS - link to the post that talked about the lib perm's - http://forum.xda-developers.com/showpost.php?p=6240715&postcount=5
PROBLEM SOLVED!
wjason said:
Recently, I started getting a "not enough storage available" error when trying to install Handcent either from the Market or using a Titanium restore. I know it's not a space issue because all other apps that I have tried install with no problem. I am using A2SD and have about 400 MB free. I have duplicated this error on multiple ROM's so it must be something on my phone. I searched and found something about permissions on *.so files in the lib directory but I don't know enough to fix it myself. Here is a pastebin of the error:
http://pastebin.com/33gKG5Db
Any help is greatly appreciated!
PS - link to the post that talked about the lib perm's - http://forum.xda-developers.com/showpost.php?p=6240715&postcount=5
Click to expand...
Click to collapse
I know this is a stupid question but ur not trying to install when card is mounted to computer r u. Also what app2sd r u using, is ur ext partition full, I've also noticed this when I thought I had room then went in and deleated a few old nandroids and then it worked great.
I had the same problem.
Go to Applications
Somewhere in there, there is a handcent registry that is different than the normal handcent program.
Scan through everything, you will find something like com.sms.handcent. Uninstall that as well as the program and you should be able to install.
Bielinsk said:
I had the same problem.
Go to Applications
Somewhere in there, there is a handcent registry that is different than the normal handcent program.
Scan through everything, you will find something like com.sms.handcent. Uninstall that as well as the program and you should be able to install.
Click to expand...
Click to collapse
I see it under applications but every time I click on it I get a f/c on settings (I get the f/c if I click on anything under applications that begins with com.). Any way to do it through ADB? I checked system/sd/app and didn't see the com.handcent.nextsms to remove?
wjason said:
I see it under applications but every time I click on it I get a f/c on settings (I get the f/c if I click on anything under applications that begins with com.). Any way to do it through ADB? I checked system/sd/app and didn't see the com.handcent.nextsms to remove?
Click to expand...
Click to collapse
you have gtalk?
if so add me [email protected]
I'll try my best to help out
regaw_leinad said:
you have gtalk?
if so add me [email protected]
I'll try my best to help out
Click to expand...
Click to collapse
Problem solved - Thanks Regaw!!!!
Well hell, what was it?
Make the search usefull
There was an old data entry in /data/data called com.handscent.newsms or something, and I deleted it. then it worked perfectly.
regaw_leinad said:
There was an old data entry in /data/data called com.handscent.newsms or something, and I deleted it. then it worked perfectly.
Click to expand...
Click to collapse
yep... I have had this problem with a couple of apps. The real fun is sometimes that directory is named something completely different then the application name. Then you have to guess at what it is and then check /data/apps to verify it has a missing apk.

[Dev] Help needed, no apps in market??

I created a custom Rom, a really great mash up for people that like certain things from eugenes R2 final and Nero using KA6 while also implementing a very nice stock look (stock gingerbread messaging, dialer, contacts)... calling it Frankenstein. I of course will give credit and am not taking any credit away from these real great devs... this is just a mash-up.
This is where I need my [Help] while doing this, testing on my vibrant etc. I have managed to mess up my market.... my phone started off by not being able to connect (data) at all, and only having basic phone ability (mms, callling out).. I have fixed that, but no matter if I odin back to stock, do the eugene froyo odin/reformat back to jfd.. the market will not update. No apps really whatsoever... I get more apps when going to a rom like Nero V5 vs. stock JFD.. so this tells me that I am getting the market the way it was when they were implemented into the roms? but even with nero v5 im still missing a great deal such as titanium backup, file managers... even little things like doodle jump....
anyone that can provide detail that leads to a fix i will happily donate $15 via paypal, no big deal.
files must be missing, would love help.
Edit: have tried clearing data, resigning in.. all the little things... and as i said i have flashed back to jfd... now im on jfd with apps such as firefox test.. and a bunch of apps that were most likley the first apps ever put on market.. this puzzles me.
Thanks, Brandon
the only featured app right now is auto focus snake.. which looks like a android test app...
http://www.google.com/support/forum/p/Android+Market/thread?tid=55c997eccabf0a6a&hl=en&start=40
seems to be an issue with SGS devices and the market? WTF
Attached is a copy of the vending.apk I've been using in my kangs, and haven't had a problem with it. It shows all apps, on my phone its updated by now, but if it isn't when you push it, it should update properly given a little bit and a reboot. I would say if this doesn't fix your issue, it may be something else in your build. Just push the file to the system/app folder in your build, reboot and test it. Or, copy and replace the vending.apk in your working files, recompile and flash your rom, and test it. Good Luck.
so, select section you want, select free or latest or whatever, and you will see them.... or just search for the app you want
IMEI issue
I had the same issue all test apps in market and really no access.
I had to restore my backup and relock the phone.
Now all is working.
It is because certain apps don't recognize the Vibrant's build number. (T959KA6 is an example of a build number)
Sent from my SGH-T959 using XDA App
No I flashed back to stock tried Nero 5. Nothing helped had to restore nvdata. Imei was something like 004 phone was unlocked and tested on ATT. Look when you go into the market and it popup saying phone kay not support the market. Tried multiple google accounts its linked to your google account and your imei for supported apps on your type of phone.
Sent from my SGH-T959 using XDA App
saintjmf said:
No I flashed back to stock tried Nero 5. Nothing helped had to restore nvdata. Imei was something like 004 phone was unlocked and tested on ATT. Look when you go into the market and it popup saying phone kay not support the market. Tried multiple google accounts its linked to your google account and your imei for supported apps on your type of phone.
Sent from my SGH-T959 using XDA App[/QUOTE
there we go, my imei starts with 004 too, and is not my original imei.. what is the easiest way to restore my files? if you could give step by step that would be great! thanks mate.
Click to expand...
Click to collapse
You have to have a backup copy of your original.
If you do delete the files that start with nv -- in the /efs directory.
You probably can see your original IMEI if you open the file that is hidden in the directory /efs it is .imei -- That held the correct number for my IMEI. not sure if someone knows how to use that if you dont have an original backup of nvdata.bin.
I took nvdata.bin and put it in the /efs directory.
removed all files that start with nv in /efs example nv2data.bak
rebooted phone it built md5 from nvdata.bin.
factory reset and all apps back.
I also coudlnt get my pro license of titanuim backup to register with google checkout until this was completed.
saintjmf said:
You have to have a backup copy of your original.
If you do delete the files that start with nv -- in the /efs directory.
You probably can see your original IMEI if you open the file that is hidden in the directory /efs it is .imei -- That held the correct number for my IMEI. not sure if someone knows how to use that if you dont have an original backup of nvdata.bin.
I took nvdata.bin and put it in the /efs directory.
removed all files that start with nv in /efs example nv2data.bak
rebooted phone it built md5 from nvdata.bin.
factory reset and all apps back.
I also coudlnt get my pro license of titanuim backup to register with google checkout until this was completed.
Click to expand...
Click to collapse
i do have a back up of my efs folder thank god. what program did you use to access your efs folder is what im saying? not sure if i have access to adb commands on this machine that i am using, any other way?
and remember i cant use market, so if someone can maybe provide a program to navigate my phone files from my pc, i can just put back in the nv data
I used root explorer
Sent from my SGH-T959 using XDA App
Can I flash this with clockwork mod? And does the voodoo kernel and sounds work with this?
I created another thread about this as I believe there maybe alot more users with this issue
Sent from my SGH-T959 using XDA App
whit this program you use to access your efs folder
http://www.mediafire.com/?c8x8wvpc9vhcd5x
shon yakobi said:
whit this program you use to access your efs folder
http://www.mediafire.com/?c8x8wvpc9vhcd5x
Click to expand...
Click to collapse
said this version is expired, need to update manually?
saintjmf said:
I used root explorer
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
do you know if there is a rom out there that has this preinstalled? remember i cant get apps because of that market.
The problem [might] be inside the build.prop.
Try changing:
Code:
ro.build.fingerprint=Samsung/SGH-T959/SGH-T959/SGH-T959:2.2/FROYO/UVKA6:user/release-keys
to
Code:
ro.build.fingerprint=Samsung/SGH-T959/SGH-T959/SGH-T959:2.1-update1/ECLAIR/UVJFD:user/release-keys
total commander
whit this program you use to access your efs folder its ok no problom
http://forum.xda-developers.com/attachment.php?attachmentid=494485&stc=1&d=1295487965
IMEI
You're IMEI can easily be found by just taking out your battery and looking under it at the sticker with all the numbers and bar codes. It may just show IME and have either dashes or periods (you can ignore the punctuation). That is your original IMEI (this is nothing more than your serial number, make sure you know what it is because if you ever have a hardware issue and want to still utilize your warranty then they check by this number, and of course unroot the phone first so it won't be considered out of warranty)

[Q] Moving apks from my phone to the gtablet

I've given up trying to get full access to the Market. But I was able to find some of the apks on my Droid and was able to bring some of them over using a usb thumb drive. However, not all the apps I had downloaded to my Droid was visible. My question is do some apps delete their apks when done installing? I did have some that gave me a parse error when trying to install them on my tablet. Is there a hidden directory where I can find all the apks of the apps I've downloaded? e.g xplane, rush hour to name a few? Thanks. Or... is there a way to download the apk from Market to my PC directly? I'd be so happy if I could just get full access to google market!
Reggie777 said:
I've given up trying to get full access to the Market. But I was able to find some of the apks on my Droid and was able to bring some of them over using a usb thumb drive. However, not all the apps I had downloaded to my Droid was visible. My question is do some apps delete their apks when done installing? I did have some that gave me a parse error when trying to install them on my tablet. Is there a hidden directory where I can find all the apks of the apps I've downloaded? e.g xplane, rush hour to name a few? Thanks. Or... is there a way to download the apk from Market to my PC directly? I'd be so happy if I could just get full access to google market!
Click to expand...
Click to collapse
The apks are usually in your data/apps or data/apps-private. You should be able to get to these directories using RootExplorer on your phone if its rooted. Then get yourself a free Dropbox account which allows you to transfer files to any device you installed Dropbox on.
Look in these two locations. In the second one (/mnt/asec) you'll see the folder name of the app and inside that folder is the pkg.apk so you'll probably want to rename after you move it.
/data/app
and
/mnt/asec/(name of app)
Have you tried these methods yet?
Reggie777 said:
I've given up trying to get full access to the Market. But I was able to find some of the apks on my Droid and was able to bring some of them over using a usb thumb drive. However, not all the apps I had downloaded to my Droid was visible. My question is do some apps delete their apks when done installing? I did have some that gave me a parse error when trying to install them on my tablet. Is there a hidden directory where I can find all the apks of the apps I've downloaded? e.g xplane, rush hour to name a few? Thanks. Or... is there a way to download the apk from Market to my PC directly? I'd be so happy if I could just get full access to google market!
Click to expand...
Click to collapse
Bluetooth File Transfer might help.
I put this link up a few days ago because I had the same problem.
http://forum.xda-developers.com/showthread.php?t=930036
Also, This video really worked for me with getting full market (roughly 98.9% really)
http://www.youtube.com/watch?v=7l-nySibzeA&feature=related
Reggie 777, thanks for asking this question. I've been trying to figure out the same thing and asked about it in another thread but didn't get a clear answer.
So, to the experts: do you have to be rooted to do this? I've looked in both of the locations that tcrews mentioned and don't see much, if anything. I'm using Astro FileManager, if that helps.
Thanks
wordweaver27 said:
Reggie 777, thanks for asking this question. I've been trying to figure out the same thing and asked about it in another thread but didn't get a clear answer.
So, to the experts: do you have to be rooted to do this? I've looked in both of the locations that tcrews mentioned and don't see much, if anything. I'm using Astro FileManager, if that helps.
Thanks
Click to expand...
Click to collapse
Astro doesn't show the files in /data and you'll need to be rooted and use something like Root Explorer. I just tried Astro and once I go in to /data I see nothing (and my phone is rooted). Using Root Explorer I see all the folders under /data and go into the folder app. I see my apps installed internally there and in /mnt/asec I see my apps installed to SDcard there.
wordweaver27 said:
Reggie 777, thanks for asking this question. I've been trying to figure out the same thing and asked about it in another thread but didn't get a clear answer.
So, to the experts: do you have to be rooted to do this? I've looked in both of the locations that tcrews mentioned and don't see much, if anything. I'm using Astro FileManager, if that helps.
Thanks
Click to expand...
Click to collapse
No root neccessary to use Bluetooth File Transfer method.
I can only guess you need root for the method on the video because you do need to have an OS with GAPPS and Android market installed.
Root is needed to use Root explorer methed.
The Z4root1.2.2 app is a good tool to root without unlocking the bootloader and you can still keep your stock OS. However I'm assuming GAPPS may not work correctly with the stock TAPNTAP OS so getting full Google Android market with that OS is prolly not going to happen.
Thanks to everyone for the help. I am processing and digesting the info and playing around with the suggestions.
Thanks to sjmoreno for telling me where the apps are. And also tcrews. I would never have thought of looking in /mnt/sec. I was actually able to find the apks I was looking for... xplane. et al. Now I'm fiddling with the bluetooth transfer. Got the phone and tablet paired... connection is not working yet. But I'm still trying.
Thanks too to tekrhino for the bluetooth suggestion. Got the transfer program for my Droid. I'm learning how to use it. Seems easy to set up, but won't actually send anything... Still exploring it.
The video on the Market fix doesn't work for me because no matter what I do, Market does not show up in the running apps section of settings. It doesn't even show up in system apps. It only shows up in the downloaded section.
As they said in Galaxy Quest... "Never Give Up. Never Surrender." Thanks everyone.
I use TitaniumBackup syncing with dropbox, but really the market fix isnt hard... Running tntlite larest.
+1 for dropbox. You can also use astro to backup the apk's. They are stored in a folder named backup on the root of your SD card.
I use the program AndroZIP from the Market on my phone.
Do an application backup (part of the app) to my SDCard (it creates a app_backup folder on your SDcard)
Then, you can do bluetooth transfer, or plug phone and gTablet into PC with USB cables, wait for the drives to show up, and move the APK files over. Works well. No root required.
Since my phone is not rooted, I am not sure if this is grabing every application, but it seems to be. I was able to transfer whatever I wanted over from my phone to the tablet this way.
+1 titanium backup and dropbox.
Dropbox is handy but not necessary. Titanium is a must have purchase if you enjoy flashing new roms and don't feel like manually restoring all your apps and settings every time.
If you can download titanium to your Gtab your done. Dl titanium on your phone and backup your apps. Grab the file off your phones SD And move it to your Gtab. Open titanium on your Gtab and select the apps you want to install. You can even save app data this way and continue saved games from your phone ;-)
Reggie777 said:
Thanks to everyone for the help. I am processing and digesting the info and playing around with the suggestions.
Thanks to sjmoreno for telling me where the apps are. And also tcrews. I would never have thought of looking in /mnt/sec. I was actually able to find the apks I was looking for... xplane. et al. Now I'm fiddling with the bluetooth transfer. Got the phone and tablet paired... connection is not working yet. But I'm still trying.
Thanks too to tekrhino for the bluetooth suggestion. Got the transfer program for my Droid. I'm learning how to use it. Seems easy to set up, but won't actually send anything... Still exploring it.
The video on the Market fix doesn't work for me because no matter what I do, Market does not show up in the running apps section of settings. It doesn't even show up in system apps. It only shows up in the downloaded section.
As they said in Galaxy Quest... "Never Give Up. Never Surrender." Thanks everyone.
Click to expand...
Click to collapse
Make sure both devices have BTFT installed, that way you won't have any any problems with FTP OBEX protocals.
The app works great and reduces the extra steps you need to take with TB and DB with having to move apk's between the source device to your pc then from your pc to the target device. BTFT is a good source device to target device app.

[Q] DataCreate.apk what is it?

In \system\app directory what is functionality (purpose) of the "DataCreate.apk"
what does it do?
what is the result of removing it?
before saying anything about searching read the below statement:
I've searched in google, XDA and other forums about this apk but none seemed to know what is it so I am going to ask here.
Thanks in advance.
EDIT: Inside the apk there is a sound file inside res/raw called mp3_1khz.mp3 which has very annoying sound any idea why does the app need this?
EDIT2: link to the mp3 file I was talking about http://www.mediafire.com/?2zay7j6xrlfyjs1
WARNING: The file is really annoying
Request: if the file is important can someone delete that sound file from the apk and re-upload it (JVH deodexed )
Google is watching us ? what the hell and why is there such a sound file in this ap p.... i delete it.... For me it is google spy ...
sebBastian3 said:
Google is watching us ? what the hell and why is there such a sound file in this ap p.... i delete it.... For me it is google spy ...
Click to expand...
Click to collapse
I deleted now and I am going to report if there are any negative consensuses
don't think that it is use (spying on us)
Ok
In first reboot (phone rebooted it self)
Second reboot (Email crashed)
EDIT: Doing some reboots and dalvik cache cleaning to see what will happen.
EDIT2: It seems that its needed for phone without it phone will reboot itself.
I though someone knew about this apk so I posted here.
I found what I wanted to know so this thread is officially CLOSED.
Conclusion for future reference this file is necessary for EACH boot.
However I could delete the annoying mp3 file which is 1.8mb by using this method http://forum.xda-developers.com/showthread.php?t=681633
It's from Samsung. Have a look into classes.dex, there are lots of sample contacts (near the end of it). There are references to samsungtest. Maybe this app can be used to create demo or test data.

[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...
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!

Categories

Resources