Android Tablets Forum banner
1 - 18 of 18 Posts

·
Registered
Joined
·
36 Posts
Discussion Starter · #1 ·
Trying to get android market working on my flytouch, i looked at the posts on the forum, but the assume i "root" my epad. But for rooting my epad i need to reflash it
which i don't want. So i found a simplest way.I'm not sure it works for others, please test. All you need is ghost commander, or another editor. For some strange reason i discover that the root directory and the /etc directory is writable from normal user. So this is what i did:First of all create the accounts.db from a Android emulator (look at the other posts), copy it on a SD and put in the epad.Open ghost commander and copy the accounts.db from the sd to the / directory of the epad. Now the trick...Open the file /etc/init.sh (which is executed at boot time, so whit root privilege) and add this line:cp /accounts.db /data/data/com.google.android.googleapps/databases/accounts.dbthan save and power off your TabletPower on and try the market, if it works, reopen /etc/init.sh and delete the added line.... May be someone more skilled than me can imagine other use for the init.sh trick...., may be activate root account or the su command without reflash.P.S. for a morte confortable testing and typing it's better to have a usb keyboard and the terminal.apk (wich is a simple linux terminal)
 

·
Registered
Joined
·
33 Posts
Tried it twice and kept getting the error message "The process com.google.process.gapps has stopped unexpectedly. Please try again."
 

·
Registered
Joined
·
36 Posts
Discussion Starter · #12 ·
A little explanation. As i can understand to have full access to the market, you have gai a google ID, which is stored in the file accounts.db. So you have only to generate that file on an alternative device (another android phone or an emulator) and copy it on the epad. So whatever metod you use it HAS to work. What i discovered just use a little "bug" in the main root directory, to execute some code whit root privilege. (in this case, copying a file in an unallowed position) without the need to "root" the device. So, if it don't work, just double check everything. First of all access to market whit your pad, then genrate the accounts.db using the same account, and then copy it in the right position (check the sintax of the command) . Not sure, but if you delete the googleapps data and access the market again, the file accounts.db could be wrongly recreated.
 

·
Registered
Joined
·
33 Posts
Thanks for your response. I followed your instructions to the letter and double checked the syntax to be certain that I wasn't doing anything wrong. To get the market account db, I opened up the emulator on my PC, pulled the db into the tools folder and then copied the accounts.db that was pulled into my sd card after which I then followed the instructions you gave. After I did that and restarted was when I started getting the error message and when I tried to log into the market, it just freezes.
 

·
Registered
Joined
·
3 Posts
asterix - i was just having the same issue. i had to clear the googleapps and google market data from the 'system settings - application settings' menu, and then restart the device. it resolved the issue with the process stopping unexpectedly. however i still have an issue that hopefully can be resolved. when adding the cp command to the init.sh file i exited the ghost commander editor via the 'home' button rather than saving the file first using the application menu.to see if my changes had taked effect i reopened the file and to my horror the contents had changed to the following two lines:!/system/bin/shcat /etc/sensor_shake > /proc/gsensor_configif anyone can open their init.sh file in an editor like ghost commander and copy the contents of the file and post it here i would be very very grateful.thankyou very much to percoco2000 for your contribution and for everyones patience and help. for more info on my attempts to access the market from my flytouch epad: User [URL=talk:Mogrith]talk:Mogrith - Wiki[/URL]
 

·
Registered
Joined
·
36 Posts
Well this is the content of the file:#!/system/bin/shcat /etc/sensor_shake > /proc/gsensor_configI think it setup someting for the G-Sensor.And YES, you have to save the file before reboot
:D(don't look at > i don't know why the forum editor put this, instead the right Major char)Looked at your wiki, and i can confirm the file you have is correct. I'm tryng now to root the device using the same trick. But Mine is still working...Just try to clear the googleapps data, then recreate the account on the tablet, and then copy the accounts.db.
 

·
Registered
Joined
·
3 Posts
thanks for your fast replyi retried the process again. this time i did not leave an empty line between the gsensor_config and the cp command. and i saved the file correctly this time =] when i rebooted the device and got the error about the task ending unexpectedly. so i went and deleted the app data, and signed back into market and was able to update meebo to the latest version. then no other apps would download. i deleted the line you got us to add and rebooted the device. it still wouldnt work so i tried deleting the app data again but to no avail.i ran the ls -l command and the accounts.db file located in /data/data/com.google.android.googleapps/databases/ are different sizes but it looks like the one in the /data/datacom.google.android.googleapps/databases/ directory was only just created on reboot?heres the info:-rw-rw---- 1 10006 10006 13312 Aug 21 01:35 /data/data/com.google.android.googleapps/databases/accounts.db-rw------ 1 10046 10046 14336 Aug 19 14:33 /accounts.db i dont understand how it updated meebo successfully but since all other downloads have failed. hopefully you have some insight.cheers fella
 

·
Registered
Joined
·
36 Posts
Discussion Starter · #17 ·
Mine stop working too, so i digged a bit. What i suppose is that is not enough to replace accounts.db, but have to use the metod descibed in the eken post: Gain the Google ID and put it in the database. But for this we need to root the pad. Or at least put the sqlite command inside the init.sh. May be this night i'll try....N.B. It works for sometimes just because you deleted the accounts data and recreated it, creating a new accounts.db.
 

·
Registered
Joined
·
3 Posts
ah, that makes sense.at least it would seem you are on the right track!for a free and open source os it frustrating that you cannot simply login as the root account.imo thats hardly 'openness' =]
 
1 - 18 of 18 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top