Error updating sqlite database android studio - Android Studio

Hey,
I have an issue updating or refreshing my database. In sqlite the database is correct and updated to my data.
But then I run the application, let it build and install the apk. And the database was the same as before (not updated or refreshed).
I deleted the .gradle folder, so that the .gradle could be rebuilded. And invalidated chache/ Restart, to clear the cache.
But that was not the issue, that app is not the problem. But only the database.
Can someone help me please?
Thank you

Post some codes so we can have a look... the relevant codes ofcourse.

I was just looking trough my codes, and I learned that I just had to update the database version in the config files from 1 to 2.
And that fixed everything, so now the database is updated... So easy...
But you helped me search for the right things, thank you for your help

Related

[SOLVED]Medscape App. Help needed!!

Im a medical student and I really would love to be able to use the newly available Android Medscape app (free from the market) on my phone.
Unfortunately, it says in description of the app that it may have problems with "rooted" phones. Im assuming it means our HD2's running android on NAND as well, because after installing the App on my phone, I am unable to update/download the Clinical reference data required for the app to work offline.
It gives the error "Internet connectivity was interrupted..Please try again"
Any help from the developers or anyone else would be very greatly appreciated
dude0014 said:
Im a medical student and I really would love to be able to use the newly available Android Medscape app (free from the market) on my phone.
Unfortunately, it says in description of the app that it may have problems with "rooted" phones. Im assuming it means our HD2's running android on NAND as well, because after installing the App on my phone, I am unable to update/download the Clinical reference data required for the app to work offline.
It gives the error "Internet connectivity was interrupted..Please try again"
Any help from the developers or anyone else would be very greatly appreciated
Click to expand...
Click to collapse
Looking at the description and the error you gave, have you tried disabling any ad-blocking software? It may be something cooked into the ROM - if so, try asking the dev how to disable it. DLing now - i'll post back what I find.
.............................
EDIT:
Ok, having found this question asked on the thread for the ROM I use, you can remove medscape from the adblock 'hosts' list. (find it in \system\etc).
Original Post URL: http://forum.xda-developers.com/showthread.php?p=11521445&highlight=block#post11521445
I had to copy the file to PC before editing and copied back again using droidexplorer.
kinsago said:
Looking at the description and the error you gave, have you tried disabling any ad-blocking software? It may be something cooked into the ROM - if so, try asking the dev how to disable it. DLing now - i'll post back what I find.
Click to expand...
Click to collapse
Thanks for the reply. I forgot to mention the ROM im using. Its Core Droid DHD 1.5, and it seems you may be right. It says in the description of the ROM that the "Adds are Blocked (Host files modified)". Is there any way to reverse this host file change?
Fixed it with the help of the developer of the Core Droid ROM. Just opened the app "Add free" and hit "revert". Restored the original host file. Medscape works now.
im having the same issue and clicking the "revert" bottom on AdFree did not fix it
I have uninstalled AdFree and have the same problem all the time. Anybody fixed this?
i had the same problem!
After i revert the hosts file in ad-free, medscape did not update the reference!
So what i did:
I did not unistall ad-free, but:
- i revert the host file 3 times in a row;
- i stopped the access of AD Free from SuperUser (root access);
- and i restart medscape (i killed the process with automatic task killer) and start it again;
- and voila, my htc g1 is updating the reference while i text.
(i don't know what are the steps that make medscape update, but i guess, is the revert host file and restart the app, to it starts didn't knowing that can't access that host to update)
I hope this help you!
Good luck
It works for me, reverted host files, stopped Adfree acces to Superuser and voila!! Medscape is updating again. Thanx
how to correct medscape installation please?thx\
SOLVED!
Just got an OTA update for my flyer and software got updated to version 2.27.1540.32
The android version is 2.2.4 while sense is 1.0
Just for the record, AdFree only works on ROOTED devices. i mentioned in another thread on xda that adfree does not work for me. with this OTA update, my Medscape is finally installing as i type this - - -
Just kill the AdFree app and immediately run Medscape app,it'll definitely take the update.I did the same and it worked
i try looking for file in \system\etc
in use editor to open file host.. thera are a lot of files,
and it make me confuse, where the file "medscape from the adblock 'hosts' list" is ???
wisnu19 said:
i try looking for file in \system\etc
in use editor to open file host.. thera are a lot of files,
and it make me confuse, where the file "medscape from the adblock 'hosts' list" is ???
Click to expand...
Click to collapse
i had found problem solve
copy host file from \system\etc (in yr device) to PC
[*]and open using worldpad in pc
[*]use search from worldpad..type medscape
[*]and delete all file which has name medscape
[*]save !!
[*]move and replace host file which edit from pc to \system\etc in yr device (use es file explorer)
[*]install again medscape
[*]and the update reference should work again..done !!
not solved for me!
Hi everyone!
Well, I've experienced the same "connectivity error" as everyone with a root cellphone, after reinstalling medscape app at my cell. I never had AdFree, and even though I'm able to found the hosts file and take a look of it with my pc it says absolutely nothing about medscape (only 127.0.0.1 localhost and emptyness after), so I guess I must be getting the wrong file or not accesing to it correctly?
I've tried everything you said, but is still not working.
I'm pretty new with android, and I would really aprecciate you help, given the fact that this is one of my favorities app!
lalauri089 said:
Hi everyone!
Well, I've experienced the same "connectivity error" as everyone with a root cellphone, after reinstalling medscape app at my cell. I never had AdFree, and even though I'm able to found the hosts file and take a look of it with my pc it says absolutely nothing about medscape (only 127.0.0.1 localhost and emptyness after), so I guess I must be getting the wrong file or not accesing to it correctly?
I've tried everything you said, but is still not working.
I'm pretty new with android, and I would really aprecciate you help, given the fact that this is one of my favorities app!
Click to expand...
Click to collapse
i just rename file host in /system/etc via root explorer..then it works like a charm
note: ypu can rename it by any programs that's can mount and write root folder and explore (es file explore,x-plore,etc)
Rename?
ivaneris said:
i just rename file host in /system/etc via root explorer..then it works like a charm
note: ypu can rename it by any programs that's can mount and write root folder and explore (es file explore,x-plore,etc)
Click to expand...
Click to collapse
i have got a file in /system/etc called "hosts" , so what should i rename it after? im using root explorer.
Thanks
Thanks Ivaneris
Iam on CM 7.2 LG p500.I had same probs and ur method really worked like a charm.I thought I almost lost it but thanks to you.BTW I renamed hosts file as explorer

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

[Q] LightJBv1-2.ZIP contains 'SMSspy' Trojan - according to Ad-Aware

Hi all,
A while ago I managed to install LightJB thanks to this forum; the phone became a lot snappier because that ROM had ditched a bunch of bloatware.
Just now, I ran a PC system scan with Ad-Aware which detects in the file "LightJBv1-2.zip", a trojan called "SMSspy". The ROM is too big to upload, but its size is reportedly 417 MB (437.476.670 bytes), and the size on disk is 417 MB (437.477.376 bytes). Unfortunately I have not written down from what mirror I downloaded the ZIP file, but it was a link listed here as I slavishly followed all suggested steps. I did a search for 'virus' and for 'LightJBv1-2' and did not find any report on this. This leads me to believe that more people have downloaded the file. Possibly the ROM has been used as a basis for other ROMs (I am quite a n00b, so perhaps this is a dumb remark:cyclops.
I was wondering whether this might be a false positive, or perhaps if someone that has the LightJB v1-2 installation file on his/her PC could try to verify if the Ad-Aware scan was correct or not?
I am using some government services that require an SMS verification system, which makes me worry a bit..
Kind regards and please do let me know if more info is required,
Wouter
wouterwp said:
Hi all,
A while ago I managed to install LightJB thanks to this forum; the phone became a lot snappier because that ROM had ditched a bunch of bloatware.
Just now, I ran a PC system scan with Ad-Aware which detects in the file "LightJBv1-2.zip", a trojan called "SMSspy". The ROM is too big to upload, but its size is reportedly 417 MB (437.476.670 bytes), and the size on disk is 417 MB (437.477.376 bytes). Unfortunately I have not written down from what mirror I downloaded the ZIP file, but it was a link listed here as I slavishly followed all suggested steps. I did a search for 'virus' and for 'LightJBv1-2' and did not find any report on this. This leads me to believe that more people have downloaded the file. Possibly the ROM has been used as a basis for other ROMs (I am quite a n00b, so perhaps this is a dumb remark:cyclops.
I was wondering whether this might be a false positive, or perhaps if someone that has the LightJB v1-2 installation file on his/her PC could try to verify if the Ad-Aware scan was correct or not?
I am using some government services that require an SMS verification system, which makes me worry a bit..
Kind regards and please do let me know if more info is required,
Wouter
Click to expand...
Click to collapse
Whats the file name which antivirus find it as virus?
Force said:
Whats the file name which antivirus find it as virus?
Click to expand...
Click to collapse
thanks for the reply. I have made a screendump to prove my point about the ZIP (attached). I then unpacked and scanned the contents hoping Ad-aware would pinpoint the file containing the SMSspy.GD trojan. However, it did not find anything Does this mean it is a false positive? I don't know, but Ad-aware does continue to find this Trojan in the ZIP file...
F-Secure has written about the SMSspy trojan and what the code does. Unfortunately I'm not allowed to post a link there, but searching Duckduckgo with this "On Android threats Spyware:Android/SndApps.A and Trojan:Android/SmsSpy.D." does bring up the site immediately. I'm reckoning someone could change some values in that code to make a phone running the hacked app send data to himself. Perhaps someone on this forum recognizes where this code may be put and help with this search. Anyone with the F-secure virusscanner could also download the LightJBv1-2.ZIP file and go through the contents.
I have scanned several more times since then and no suspicious file was found... I downloaded the Avira scanner hoping that it would find SMSspy.GD too, but to no avail. Avira does find code of Rootor.RH (listed as a virus in their database) in the Superuser.apk files, but I'm guessing that is a false alarm that has to do with the function of the Superuser app.
wouterwp said:
thanks for the reply. I have made a screendump to prove my point about the ZIP (attached). I then unpacked and scanned the contents hoping Ad-aware would pinpoint the file containing the SMSspy.GD trojan. However, it did not find anything Does this mean it is a false positive? I don't know, but Ad-aware does continue to find this Trojan in the ZIP file...
F-Secure has written about the SMSspy trojan and what the code does. Unfortunately I'm not allowed to post a link there, but searching Duckduckgo with this "On Android threats Spyware:Android/SndApps.A and Trojan:Android/SmsSpy.D." does bring up the site immediately. I'm reckoning someone could change some values in that code to make a phone running the hacked app send data to himself. Perhaps someone on this forum recognizes where this code may be put and help with this search. Anyone with the F-secure virusscanner could also download the LightJBv1-2.ZIP file and go through the contents.
I have scanned several more times since then and no suspicious file was found... I downloaded the Avira scanner hoping that it would find SMSspy.GD too, but to no avail. Avira does find code of Rootor.RH (listed as a virus in their database) in the Superuser.apk files, but I'm guessing that is a false alarm that has to do with the function of the Superuser app.
Click to expand...
Click to collapse
My antivirus ( G Data antivirus) find in harshjelly rom a virus too in MobileTrackerEngineTwo.apk and at description was writing something like Android.Riskware.sms... I scaned with same antivirus same apk from system folder from stock jb firmware and it doesnt find any virus. So i dont know what to think or what to say...
Force said:
My antivirus ( G Data antivirus) find in harshjelly rom a virus too in MobileTrackerEngineTwo.apk and at description was writing something like Android.Riskware.sms... I scaned with same antivirus same apk from system folder from stock jb firmware and it doesnt find any virus. So i dont know what to think or what to say...
Click to expand...
Click to collapse
I have it!! That is, Avira did find it this time:
--> system/app/DSMLawmo.apk
[5] Archieftype: ZIP
--> classes.dex
[DETECTIE] Bevat code van het virus ANDROID/SmsSpy.S.Gen
Click to expand...
Click to collapse
(Dutch version, reporting "[DETECTION] Contains code of the virus ANDROID/Smsspy.S.Gen")
Apparently, the classes.dex file in the DSMLawmo.apk contains the Trojan code. What does this file do and who can open the APK file and check whether the code from the SMSSpy trojan (see my previous post about the F-secure forum message) is actually being misused??
best regards, Wouter
Attached:
- screendump showing Avira found the virus in the DSMLawmo.apk file,
- the Avira log (also finding code of another virus in Superuser.APK - I am guessing this has to do with the fact that Superuser is root-related and therefore scares the virusscanner),
- and.. the infected APK file. I renamed this file to make sure people don't run it unintentionally. SO please, only run the APK if you know what you're doing! I take no responsibility for any damages coming from running it (as a matter of fact, I might be a victim myself as I installed and am still running JBLightV1-2 on my Samsung Advance S). I do think the importance of uploading this file outweighs the risks as developers may have unwillingly and unknowingly contributed to spreading malicious code through this great community. It may - after all - also be a false positive, but two scanners have now found the SMSSpy trojan independently.
Please tell me how to remove G data Internet security ? When I try to remove from Goole Play, tell me to the this application is Administrator on device, and I must deactivate first , and try remove ?
How to deactivate???
Try in Settings --> Security (on CM11, on Stock look for something similar)
Wysłane z mojego GT-I9070 przy użyciu Tapatalka
XDADev Forum i9300 ROMs contain trojans
Just bumping this post as it appeared on google when I looked up the smsspy.s.gen virus. The Avira database had this to say:
The file is a malicious Android application that undermines the security of the device or the privacy of the user. Typically, Android malware attempts to steal personal or account information, gain access to device functions via backdoors, send text messages or dial premium numbers, and lock or encrypt the device so the user must pay to unlock the device.
Operating System: Android.
This piece of malware is able to steal sensitive information.
Aliases
AVG: Android/G2M.R.FB4923BB003A
Avast: Android:SmsSpy-KB
Dr. Web: Android.SmsBot.439.origin
ESET: Android/TrojanSMS.Agent.AAJ trojan
Kaspersky Lab: HEUR:Trojan-Spy.AndroidOS.SmsThief.es
So in general, this isn't some harmless adware and what is more disturbing is that my anti-virus didn't detect the trojan when I downloaded the I9300XXUGNH4.LiteROM zip file. The trojan also appears to remain dormant for several weeks before activating. It's damage isn't limited to Android since it was hijacking Java files on my PC and dropping a Bladabindi backdoor virus into them. I also found that another APK file called DSMLawmo contains the same virus. So in short, the xdadeveloper forum is a minefield of trojan software which the administrators really need to do something about since it undermines the trust of it's users.

Cloning APK Carousell

Dear experts of XDA,
i am in the midst of a personal project. But i cant seem to clone an app call "Carousell", it can be found in google playstore. I already tried multiple means to create a clone apk out of it but to no avail.
Software that i tried are APK editor and advanced apk tool.
It either gives error such as "install_failed_conflicting_provider" or when i really managed to install the clone app, it crashes.
I already tried changing the values of the Package and the Ath provider.
Would really be very grateful if anyone can guide me through. Thanks alot experts!

Rebuilding App from Device to Android Studio

Hello,
Apologies if that has been answered elsewhere but I have done some searching and haven't found much which is why I came here.
So, I had created an app using Android Studio and deployed it onto my phone which is fine; it works. However, recently, my PC crashed and some data was wiped completely including the files to my app. I want to be able to extract the app files from my phone and essentially redeploy those back into Android Studio. I tried using the Android Device Manager but the supposed "/data" folder is empty. I know the app is installed on the phone's internal storage as I can see it when viewing in Application Manager.
Is there a way to redownload/rebuild those app files back into Android Studio? I am also able to attach a debug process to the app once it's running on my phone but that's about it.
Any help is appreciated!
I had the same problem. After trying numerous methods that didn't work, I realized that I had accidentally changed an option in my "Run Configuration". Here's exactly what I did to fix the issue.
1.Run --> Edit Configurations
2.With your configuration selected on the left panel (mine says "app"), in the General tab on the right panel, 3.there is a section called "Before launch". This section should have an option added called "Gradle-aware 4.Make", but I had accidentally removed it.
5.I re-added it by pressing the "+", then clicking OK in the popup (leave the input box in the popup blank).
6.Click apply.
Thank you damponting44 for the reply.
Editing this configuration seems to be for projects that exists locally on the machine. I'm trying to build/extract from my device as those files no longer exist on my machine and I am trying to get those files from my phone to Android Studio. Also, my "Before launch" setting did already have "Gradle-aware Make".
Rebuilding of existing app
Building of existing app need to be executed with right strategy to over come the parent app. Creating an app like ola, uber and other famous app needs market strategy. Finding out the drawback of the app will help you in creating a clone app.

Categories

Resources