Repo update breaking builds? - Omni Q&A

Anyone else having issues with the newest Repo update? I got a notification during sync last night that there was a repo update. After that, builds refuse to go forward due to a fatal error, specifically "duplicate path" for nearly every packages in manifest.xml. I've found a single lone thread in Google Groups with this issue but nobody's reponsded to it since I asked, and nobody else has reported the issue at all.
Has anybody else had this issue? I admit I haven't had much time (about 30 minutes) so far to correct it, so it might be staring me in the face, but if anyone has seen and fixed this, could you tell me how? I haven't tried, but may have to, deleting the entire repo and starting over.

dibblebill said:
Anyone else having issues with the newest Repo update? I got a notification during sync last night that there was a repo update. After that, builds refuse to go forward due to a fatal error, specifically "duplicate path" for nearly every packages in manifest.xml. I've found a single lone thread in Google Groups with this issue but nobody's reponsded to it since I asked, and nobody else has reported the issue at all.
Has anybody else had this issue? I admit I haven't had much time (about 30 minutes) so far to correct it, so it might be staring me in the face, but if anyone has seen and fixed this, could you tell me how? I haven't tried, but may have to, deleting the entire repo and starting over.
Click to expand...
Click to collapse
Hasn't happened to me yet, EXCEPT possibly one exception: If you're pulling in a device's repos using XML files in local_manifests AND the main device repo has an omni.dependencies, I did notice that roomservice was adding repos even though there were already projects for them.
I thought it was specific to the device I was bringing up, but maybe the repo update broke roomservice slightly.

Entropy512 said:
Hasn't happened to me yet, EXCEPT possibly one exception: If you're pulling in a device's repos using XML files in local_manifests AND the main device repo has an omni.dependencies, I did notice that roomservice was adding repos even though there were already projects for them.
I thought it was specific to the device I was bringing up, but maybe the repo update broke roomservice slightly.
Click to expand...
Click to collapse
Maybe. Should I try deleting roomservice and doing a resync/breakfast, you think? I didn't think of roomservice, though I did double-check my apps manifests and fixed those with proper remove-projects.

Slightly broken's an understatement. I have to re-breakfast/brunch all my devices every time I sync now, or I get fatal duplicate path errors, and manta will frequently refuse to download the kernel code.
Without roomservice.xml:
Fetching projects: 99% (412/416) Fetching project platform/external/grub
Fetching projects: 100% (416/416), done.
error: Cannot remove project "device/htc/m7-common": uncommitted changes are present
commit changes, then run sync again
Click to expand...
Click to collapse
And then it wants to lose all my device binaries, which were a PITA to get working, or I have this choice, with roomservice:
fatal: duplicate path kernel/samsung/manta in /home/william/android/omni/.repo/manifest.xml
Click to expand...
Click to collapse

To make this further perplexing and frustrating, I've gone through my manifests. There is no duplicate path in manifest.xml. In fact, manta isn't even mentioned once in it.

I have zero problems syncing for four devices every day.

dibblebill said:
To make this further perplexing and frustrating, I've gone through my manifests. There is no duplicate path in manifest.xml. In fact, manta isn't even mentioned once in it.
Click to expand...
Click to collapse
Alright. To try and narrow it down, delete everything in your .repo directory, except .repo/projects/ (that way you don't have to download everything again). Then do the repo init step. Then add the DonkeyCoyote vendor to your local_manifest. Then repo sync and brunch.

PonsAsinorem said:
Alright. To try and narrow it down, delete everything in your .repo directory, except .repo/projects/ (that way you don't have to download everything again). Then do the repo init step. Then add the DonkeyCoyote vendor to your local_manifest. Then repo sync and brunch.
Click to expand...
Click to collapse
Will do tonight.
I've been searching for Dirty Coyote, not Donkey. No wonder I can't find it.
chasmodo said:
I have zero problems syncing for four devices every day.
Click to expand...
Click to collapse
Trust me, googling for this has been interesting. I've found all of 4-5 results on it, and many link back to this thread.

dibblebill said:
Will do tonight.
I've been searching for Dirty Coyote, not Donkey. No wonder I can't find it.
Trust me, googling for this has been interesting. I've found all of 4-5 results on it, and many link back to this thread.
Click to expand...
Click to collapse
I THINK, but I'm not sure, that while it says the error is in .repo/manifest.xml - it can actually be somewhere in local_manifests/
I'd grep all of the files in local_manifests for manta

Entropy512 said:
I THINK, but I'm not sure, that while it says the error is in .repo/manifest.xml - it can actually be somewhere in local_manifests/
I'd grep all of the files in local_manifests for manta
Click to expand...
Click to collapse
No dice, except for one oddity. Brunching manta is pulling a kernel from both omnirom/KERNEL and android/KERNEL and has a duplicate path, that may be what's mucking up.
PonsAsinorem said:
Alright. To try and narrow it down, delete everything in your .repo directory, except .repo/projects/ (that way you don't have to download everything again). Then do the repo init step. Then add the DonkeyCoyote vendor to your local_manifest. Then repo sync and brunch.
Click to expand...
Click to collapse
So far it's working. We'll see if it syncs again later, I suppose. Thanks!

Related

New Donut-Ion Build here with Fixed Market

UPDATE: I have tested this build with a "virgin" GMail account, and the entire Donut Market shows up just fine!
If you're using Donut for the first time, I recommend download the file from my link here, until it gets posted on the vogue-hero site. At that point, I will be taking this link down, so as not to convolute things.
Download here: http://code.google.com/p/vogue-hero/
Hopefully Zenulator will grab this fixed system.sqsh and put it up on his vogue-hero google code page so that this bug doesn't affect anyone further.
Of course credit to this build goes 99% to Zenulator, as all I did was take his donut build modify a file here and a permission there.
ANOTHER UPDATE: Good news folks, after logging into this build with my "virgin" GMail account, and downloading a bunch of Market apps, I went back to my "corrupted" GMail account, and the Market all showed up like it should. Hurrah! Step by step, here's what I did:
- Loaded up this build
- Logged in with an uncorrupted GMail account (that is, an account that had never logged into Donut before)
- Loaded up the Market, downloaded a bunch of apps and games I wanted
- Went to Home-> Settings-> Applications-> Manage Applications
- Cleared the data/cache for the following apps: GMail, GMail Storage, GoogleApps, Google Settings Provider
- Did a Force Quit on the Market app (but did NOT clear the cache... I don't know how important this step is, but it's what I did)
- Clicked on GMail, and since I had cleared the cache/data, it asked me to sign into my Google Account again, so I used my previous, corrupted GMail account
- Went back to Market, and everything was there.
Thanks, craig0r! *waits*
craig0r said:
As some people have noticed, on the latest donut-ion build, when you go into the Market, you only see 20-30 apps and games. And even when you go back into Cupcake, this issue remains, unless you create a new GMail account and use that. But who wants to migrate their gmail accounts and inform all their contacts that they've got a new email address. No one, that's who.
So, I've managed to make a new donut build that *appears* to have fixed the Donut Market losing all but 20-30 apps. I'm scrolling through "All Applications" and watching more and more apps load right now. I will post this build shortly, I want to test it out a bit. Also, I've just done a couple of other fixes that I think may fix the remaining audio issues. Then again, it may not. Once I've tested these things, I'll put it up somewhere and update this thread.
Click to expand...
Click to collapse
Sweet a$$.... if Market + Audio gets fixed the only real remaining issue is end button (home, then sleep doesn't work). Can't wait!!!
Alright... it's not as exciting as I first though. Yes, as soon as I loaded the new build up I had a lot more apps in the Market. I thought this to mean everything was magically fixed. It's not. However, as someone mentioned in another thread, the apps seem to come back slowly over time, as long as you're using the Donut build. I'm not sure if this build accelerates that process or not. If you've been affected by the Donut Market Corruption bug, I suggest trying this build out and seeing if it makes a difference for you, and report back here. I pulled the fingerprint setting from a Sapphire donut build that seems to have a working Market.
That being said, this build *MIGHT* fix the Donut Market for anyone using Donut for the first time. If anyone has a second GMail account that they want to test this build with (a Donut-virgin GMail account) I would love to hear feedback as to whether the entire Market shows up properly.
Here's the link:
http://rapidshare.com/files/289872967/system-donut-market-fix.sqsh
*NOTE: The audio fixes I was trying to implement need to be applied to the rootfs. I'm waiting to hear back from zenulator about the command I should use to re-create the rootfs.img file... unless there's someone else who knows what command I should use.
there's no commands to rebuild it.
Simply make a mount
mkdir /mnt/rootfs
Mount it
mount -o loop rootfs.img /mnt/rootfs
add or replace whichever files you need, donut libs go in their own folder, and unmount
umount /mnt/rootfs.
Whammo, you're done.
mssmison said:
there's no commands to rebuild it.
Simply make a mount
mkdir /mnt/rootfs
Mount it
mount -o loop rootfs.img /mnt/rootfs
add or replace whichever files you need, donut libs go in their own folder, and unmount
umount /mnt/rootfs.
Whammo, you're done.
Click to expand...
Click to collapse
The issue is that I'm adding a file to the rootfs, and it tells me "No space left on device" so it seems like I have to rebuild it.
than you need to remove some stuff, if it's just lib's your changing you just have to add them to the system/lib folder and delete the ones in the rootfs lib folder.
thanks for the fix craig0r i'll take a look and put it up at vogue-hero.
than you need to remove some stuff, if it's just lib's your changing you just have to add them to the system/lib folder and delete the ones in the rootfs lib folder.
Click to expand...
Click to collapse
Does vice versa work, too? I mean if i got the libs in the rootfs are they needed in the systen image? Or can i remove them to save place?
JeckyllHavok said:
Does vice versa work, too? I mean if i got the libs in the rootfs are they needed in the systen image? Or can i remove them to save place?
Click to expand...
Click to collapse
I'm not sure about that specifically, but I tried moving libsoundpool.so (which I saw errors about during a logcat) into rootfs/lib/donut, and it just caused more issues. So if that's what you were planning on doing, I wouldn't worry about it.
Someone else can probably answer your question better though. From my limited experience with rootfs, moving libraries between rootfs and system arbitrarily seems to cause boot problems. At least in my case.
craig0r said:
ANOTHER UPDATE: Good news folks, after logging into this build with my "virgin" GMail account, and downloading a bunch of Market apps, I went back to my "corrupted" GMail account, and the Market all showed up like it should. Hurrah! Step by step, here's what I did:
- Loaded up this build
- Logged in with an uncorrupted GMail account (that is, an account that had never logged into Donut before)
- Loaded up the Market, downloaded a bunch of apps and games I wanted
- Went to Home-> Settings-> Applications-> Manage Applications
- Cleared the data/cache for the following apps: GMail, GMail Storage, GoogleApps, Google Settings Provider
- Did a Force Quit on the Market app (but did NOT clear the cache... I don't know how important this step is, but it's what I did)
- Clicked on GMail, and since I had cleared the cache/data, it asked me to sign into my Google Account again, so I used my previous, corrupted GMail account
- Went back to Market, and everything was there.
Click to expand...
Click to collapse
I created a new account instead of signing in with an existing account and the market definitely has more apps, but it still does not look like all of them. Can someone tell me how many apps they are seeing under "communication"? I am only seeing 4 apps. I see nothing in comics, health, news, shopping and themes and I see one app in some of the other categories. Is this what the rest of you are seeing? Should I be patient because more may start showing up over the next few days?
I am going to try the rest of your walkthru and see if I can get at least this many apps on my regular google account.
UPDATE: I logged in with my regular google account and was able to see the same number of apps as my test account. I did notice that a couple of apps (Appmanager, Locale, Sudoku Free, and SportsTap) got added to my market. These are apps that I've had installed/downloaded in cupcake. So now I have two apps (SportsTap and Wapedia) listed on the main "Featured" screen. I am really hoping that more get added.
skajaqueda said:
I created a new account instead of signing in with an existing account and the market definitely has more apps, but it still does not look like all of them. Can someone tell me how many apps they are seeing under "communication"? I am only seeing 4 apps. I see nothing in comics, health, news, shopping and themes and I see one app in some of the other categories. Is this what the rest of you are seeing? Should I be patient because more may start showing up over the next few days?
I am going to try the rest of your walkthru and see if I can get at least this many apps on my regular google account.
UPDATE: I logged in with my regular google account and was able to see the same number of apps as my test account. I did notice that a couple of apps (Appmanager, Locale, Sudoku Free, and SportsTap) got added to my market. These are apps that I've had installed/downloaded in cupcake. So now I have two apps (SportsTap and Wapedia) listed on the main "Featured" screen. I am really hoping that more get added.
Click to expand...
Click to collapse
Well, presuming that your test account had never logged into Donut before on the Vogue, the only other thing I can think of is that it might be location and/or carrier related. Where are you located and who's your provider? Maybe someone else in your region can verify.
I'm on Telus in Canada, and I get the whole market with this method, with the exception of the paid apps. Once Market Enabler works with Donut, we should be able to get the paid apps too.
craig0r said:
Well, presuming that your test account had never logged into Donut before on the Vogue, the only other thing I can think of is that it might be location and/or carrier related. Where are you located and who's your provider? Maybe someone else in your region can verify.
I'm on Telus in Canada, and I get the whole market with this method, with the exception of the paid apps. Once Market Enabler works with Donut, we should be able to get the paid apps too.
Click to expand...
Click to collapse
I am on Verizon in the Northeast US (Connecticut).
skajaqueda said:
I am on Verizon in the Northeast US (Connecticut).
Click to expand...
Click to collapse
Well hopefully someone else on Verizon in the US can give us some info on this.
craig0r said:
Well hopefully someone else on Verizon in the US can give us some info on this.
Click to expand...
Click to collapse
hey, sorry i never pm'd you back. so was it a setting in the build.prop or what?? i would like to implement this into other builds as well. now i only see 18 apps in every build i run. thanks
jamezelle said:
hey, sorry i never pm'd you back. so was it a setting in the build.prop or what?? i would like to implement this into other builds as well. now i only see 18 apps in every build i run. thanks
Click to expand...
Click to collapse
as long as you have release keys in the build.prop you should be good. you're account is prob already affected by the bug and thats why all the apps aren't showing even in non donut builds. hero/ion based builds should already have release keys. also i already had a donut build out with release keys but didn't push it because the ion build was faster i just didn't realize it had the test keys still in there because my market was already messed up. the fix does work for new accounts and old accounts that weren't showing that many apps now show more but still not all of them.
zenulator said:
as long as you have release keys in the build.prop you should be good. you're account is prob already affected by the bug and thats why all the apps aren't showing even in non donut builds. hero/ion based builds should already have release keys. also i already had a donut build out with release keys but didn't push it because the ion build was faster i just didn't realize it had the test keys still in there because my market was already messed up. the fix does work for new accounts and old accounts that weren't showing that many apps now show more but still not all of them.
Click to expand...
Click to collapse
So, if we get an Android phone and use our current account on it would it show only some of the apps or is this just in our builds?
fireshaper said:
So, if we get an Android phone and use our current account on it would it show only some of the apps or is this just in our builds?
Click to expand...
Click to collapse
Until one of us gets a real Android phone, we can only speculate. I am getting one next month, and will be sure to keep the community informed.
fireshaper said:
So, if we get an Android phone and use our current account on it would it show only some of the apps or is this just in our builds?
Click to expand...
Click to collapse
i'm pretty sure you'll see all the apps since your paying for the google experience if not a call to the right places will fix the situation.
craig0r said:
Until one of us gets a real Android phone, we can only speculate. I am getting one next month, and will be sure to keep the community informed.
Click to expand...
Click to collapse
I am planning on getting one next month too, that's why I ask Moto Sholes/Tao/Droid FTW!

ROM for juniors?

Hi,
I got a few spare androids' and i'm considering giving them to my kids (11 and 12) to play around with it and enjoy the android experience. however I don't want them being able to put 3rd party applications. how do i go about removing the option of "unknown sources" and maybe wifi from the settings.apk.
I'm not new to java and xml but sort of new to android development, I've tried several ways to remove it from the apk only (ark, ddx, baksmali, apksign) I did it in so many ways that i can't remember them all. I've also tried to decode the apk with apktool, ddx, baksmali, and creating a new project from existing source in eclipse, and I couldn't figure out what parts I have to modify to get it working (i kept on getting errors in eclipse so i wasn't even able to compile and test it in DDMS-eclipse).
Also i would like to know if maybe it is necessary to port the whole kernel source into eclipse?
I've searched all over the internet for a information for this specific thing and I couldn't find anything.
Btw, I'm using nix lucid.
Thanks In advance.
any help would be appreciated!
how about flash the supere rom without the google apps? that way they wont be able to access the market..
lagu805 said:
how about flash the supere rom without the google apps? that way they wont be able to access the market..
Click to expand...
Click to collapse
I know, the problem is not the market, i can pull it out from the phone with adb in a second w/o superE, but they can still install stuff on it with a sd card, and I would hate to not put in a file browser on the phone.
I think it would be a good idea to make a rom that's made for kids, for playing games and stuff without me worrying about it.
I'm sure that they will try to figure out a way to get around the "no market on the phone" and I should not underestimate a kid (even a 12 year old). I've seen him getting around lots of technological obstacle's.
I think that the world could use a kid's version of android, you know, get them hooked when they're young. The last thing i would like to hear from my kids is talking about iPhone or Windows. We're all linux in our house
Interesting. I too gave Magics to my 11 & 12 yr olds, one without a data plan and the other without a SIM at all. I think the right way might be multiuser like we already do on the desktops. Sudo would be a nice touch but I'd be happy to login as admin to install or whatnot.
Multiuser is something I'd like to see anyway with most or some settings on a per user basis. Or at least just for security, normal login can't do critical tasks that might cause issues. I think we'll hear about this again once we hear about some seriously dangerous apps/scams/viri on the phones.
In the meantime your best bet is education and rules about what can and can't be done. Then once per week or so you take the phone and check things out, update as needed, etc. So far my kids have little interest in breaking the rules and are happy browsing the market for fun things.
I think the only way to achieve this is to download the AOSP, edit the sources to remove the options and then compile your own ROM.
3rdcoast said:
Interesting. I too gave Magics to my 11 & 12 yr olds, one without a data plan and the other without a SIM at all. I think the right way might be multiuser like we already do on the desktops. Sudo would be a nice touch but I'd be happy to login as admin to install or whatnot.
Multiuser is something I'd like to see anyway with most or some settings on a per user basis. Or at least just for security, normal login can't do critical tasks that might cause issues. I think we'll hear about this again once we hear about some seriously dangerous apps/scams/viri on the phones.
In the meantime your best bet is education and rules about what can and can't be done. Then once per week or so you take the phone and check things out, update as needed, etc. So far my kids have little interest in breaking the rules and are happy browsing the market for fun things.
Click to expand...
Click to collapse
well, it is just a nix and SUDO should be possible, but setting this up is a quite a project and I don't think this is a one day project.
As for educating, I think they know right from wrong and I don't think that they will willingly break the rules, the market however is full of apps that are not meant for young kids..... what do you think they're going to do when they bump in to one of those apps? .
Actually what i wanted to do is to give them a phone with a line and no data plan so they can play games or watch movies, If the kids want to use the internet, there are more than enough boxes at home they can use. This phone is strictly for voice text and games.
What I want to accomplish in general, is having a child safe phone, and have the other parents here who want their kids to have to have an android, enjoy it. My way of giving back to the community.
But to have a phone that will be suitable for the purpose (not just for my kids) the data has to be completely disabled, and wifi is going to be the issue. putting on an encryption on wifi is a joke, ever heard of aircrack? I'm sure there are lots of determined horny 15 year olds that will get around that. (am i paranoid?)
Case_ said:
I think the only way to achieve this is to download the AOSP, edit the sources to remove the options and then compile your own ROM.
Click to expand...
Click to collapse
That's exactly what i want to do. The question is how do I do it?
Again, I'm not a complete noob, I just never played around with android as an OS. so if I can have the first push here here what I'm supposed to do to start this I would really appreciate it.
As I've said in my first post, I tried a few things and i couldn't get it right. what part of this don't i get??
Thanks a lot.
well your not even going in the right direction..
do you have an IDE with compiler and the android SDK all set up? then you can check on dferrera post on how to compile android from source... its listed in this forum.. please search
if your not a programmer or have no idea what classes - functions etc are then this might now be an option for you that is something you can be instructed on
you are going to need to learn to compile android from source and modify it, this is a very big task mate - be prepared, and no one can answer all the questions for u
alan090 said:
well your not even going in the right direction..
do you have an IDE with compiler and the android SDK all set up? then you can check on dferrera post on how to compile android from source... its listed in this forum.. please search
if your not a programmer or have no idea what classes - functions etc are then this might now be an option for you that is something you can be instructed on
you are going to need to learn to compile android from source and modify it, this is a very big task mate - be prepared, and no one can answer all the questions for u
Click to expand...
Click to collapse
Thanks for the reply, but i can't seem to get java5 working on 10.04 (the 10.04 repos have only java6 but i did add the old repos and ran in to some issues), I had it working on 9.04 though. anyone made it run on 10.04? or should I downgrade (or run it in VB) to 9.04/.10?
k50aker said:
Thanks for the reply, but i can't seem to get java5 working on 10.04 (the 10.04 repos have only java6 but i did add the old repos and ran in to some issues), I had it working on 9.04 though. anyone made it run on 10.04? or should I downgrade (or run it in VB) to 9.04/.10?
Click to expand...
Click to collapse
Add these 2 lines to the end of /etc/apt/sources.list file
Code:
deb http://pl.archive.ubuntu.com/ubuntu/ jaunty multiverse
deb http://pl.archive.ubuntu.com/ubuntu/ jaunty universe
then do:
Code:
sudo apt-get update
sudo apt-get install sun-java5-jdk
@k50aker
Hiding Wifi and other things should be quite easy task, but... how do you want to protect against system reinstallation? They could download any ROM from internet and install it in just 10 minutes. Backuping is easy too, so they could have 2 systems installed and switch between them when their dad comes home.
Android phones aren't desktops. You can't have root and don't give it to other users of a device.
Mod. edit: not dev related, moved to general
I wouldn't want to hide WiFI, the device is useless without connectivity, much cheaper toys out there for that if I wanted stand alone.
My two children each have a Magic and this is my experience, none of the worries that many parents seem to fear. They are well behaved and so far no problems and they are ready for 2.1 since 1.5 is just too confining even for them. Education goes a long way.
The best choice I made was to not put a SIM in one of the phones. WiFI is ideal since she is nearly always in a zone. This has gotten her used to IM instead of texting. Same effect but costs nothing. A SIP app works almost as well as SIM voice. Someday I'll do a data only SIM so she has total coverage, she'll understand that heavy data is to be done over WiFI and cell data is for VoIP and for times when it is really needed and can't wait.
However it would be nice if there was a limited setting requiring admin password for certain functions. But really, there hasn't been any problems but my kids might be grateful enough to not abuse the rights I give them. Best advice besides education if they are very young is to not SIM until after they get into the alternatives and not be addicted to texting. The older one has learned to watch her usage patterns and has to pay if she goes over budget.
Switch33 said:
Add these 2 lines to the end of /etc/apt/sources.list file
Code:
deb http://pl.archive.ubuntu.com/ubuntu/ jaunty multiverse
deb http://pl.archive.ubuntu.com/ubuntu/ jaunty universe
then do:
Code:
sudo apt-get update
sudo apt-get install sun-java5-jdk
Click to expand...
Click to collapse
those ropes are for jaunty not for lucid, and I have tried that before anyway and this is what i get:
Code:
desktop:~$ sudo apt-get install sun-java5-jdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
sun-java5-jdk is already the newest version.
The following packages were automatically installed and are no longer required:
libwv2-4
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up sun-java5-doc (1.5.0-19-0ubuntu0.9.04) ...
This package is an installer package, it does not actually contain the
J2SDK documentation. You will need to go download one of the
archives:
jdk-1_5_0-doc.zip jdk-1_5_0-doc-ja.zip
(choose the non-update version if this is the first installation).
Please visit
http://java.sun.com/j2se/1.5.0/download.html
now and download. The file should be owned by root.root and be copied
to /tmp.
[Press RETURN to try again, 'no' + RETURN to abort] no
Abort installation of J2SDK documentation
dpkg: error processing sun-java5-doc (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
sun-java5-doc
E: Sub-process /usr/bin/dpkg returned an error code (1)
Brut.all said:
@k50aker
Hiding Wifi and other things should be quite easy task, but... how do you want to protect against system reinstallation? They could download any ROM from internet and install it in just 10 minutes. Backuping is easy too, so they could have 2 systems installed and switch between them when their dad comes home.
Android phones aren't desktops. You can't have root and don't give it to other users of a device.
Click to expand...
Click to collapse
You are right, but one of the later steps I thought about would be a custom boot and custom or no recovery. But I will figure that out later in the project.
But i will probably change my direction on this (wifi etc.) based on what you guys say.

[Q] HELP with stupid errors in main.xml!

I am at my wits end with this and cannot figure out what is wrong.
Its a plain screen with imagebuttons and a BG - any idea why this is giving me error at the top?
what exactly is the error message saying?
Can you highlight the error and screenshot it again so we can see what it says?
Sometimes Eclipse can mess up give you an error for no reason. Go to the 'error' dialog at the bottom, right click the error and delete it. If it reappears then there's problem with your code.
That "error" can still be there even if your XML is ok. Make sure you save the file and then do a "Clean Project". Should fix it.
Hyperbyte,Meltus - sorry i dun goofed - attached is new screen cap - for some reason nothings coming from the error log though
Rootstonian - Thanks for your advice, but after saving and cleaning nothing has changed.
For record I am on latest release as of yesterday of eclipse and Android SDK
Yeah... the error tracking in xml files is less than helpful in eclipse. I think you probably have a typo somewhere. Just cut out tablerows until the error goes away, then youll find it
Lakers16 said:
Yeah... the error tracking in xml files is less than helpful in eclipse. I think you probably have a typo somewhere. Just cut out tablerows until the error goes away, then youll find it
Click to expand...
Click to collapse
I shall let you know how i do - my boss wouldnt let me take my workstation tower home for the weekend seeing i did 30 hours straight on it doin android plus 3DS Max ****. they found me asleep on one of our AVID edit suites this morning....considering i develop personal safety initiatives for Ozzie mining industry you woulda thought i would hav not done over double the national regulated work hours....(im quitting - someone give me a job lol)
I cant see anything wrong with that XML either, these sorts of problems are very annoying. Have you tried copying & pasting the XML into another tool & see it it highlights where it isnt well formed ???
gungh0 said:
I cant see anything wrong with that XML either, these sorts of problems are very annoying. Have you tried copying & pasting the XML into another tool & see it it highlights where it isnt well formed ???
Click to expand...
Click to collapse
Ill have to try it on monday (dont have that computer on me). I haven't pasted into another tool yet, but pasting it into a different xml layout page it doesnt error until i delete the main.xml and rename second xml to main
Yeah, that one's a real PITA. I still say no error is there LOL
Usually the red "X" is AT or NEAR the point of the error from my experience.
I would just copy the whole lot to a text file, then shift-command-down delete what's there and save the empty main.xml. Then copy lines back one by one and see what happens.
I remember a time working on a mainframe COBOL program...wasn't compiling. Worked on it for days! I gave up and just recreated the whole program...it was like some hidden character was in the original code.
ive had some errors like this pop up in eclipse when i copy and paste xml in to eclipse.
i would delete the whole thing and retype each line manually (i know it sucks)
this is the only way i have found to get rid of this error.
Have you tried physically deleting the error message from the error log at the bottom?
It sounds stupid but it can sometimes work.
Eclipse is buggy as hell!
Sent from my Nexus One using XDA App
Two things to try (after I had a quick look at a main.xml which I know works)
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/root"
1- add the xmlns:android="http://schemas.android.com/apk/res/android" to your first <TableLayout ........./> block. See if that fixes anything.
If not, then go to a .java file so the main.xml re-examines itself in Eclipse, maybe delete the error, maybe fix the project and then see if it all works then.
2- Try deleting the space between the <?xml ...?> and the <Layout> block; sounds stupid, but might actually work
Also, always be in a .java file tab (don't have eclipse show the .xml; go to the .java tab) when you compile. For some strange reason my Eclipse always screws around, pops out errors and does other wierd stuff when I compile if I'm in a .xml tab.

Remove SMS limit?

This is incredibly ridiculous. Why is there a limit on how many messages I can send in a certain period of time? I would like to know if there is any way to remove it. I have searched relentlessly.
1. settings.db doesn't exist anymore and therefore cannot be changed to set a custom limit.
2. I'm rooted, have EX kernel and Pure Nexus 7.1.1 ROM. Neither support changing the limit natively.
Decimation001 said:
This is incredibly ridiculous. Why is there a limit on how many messages I can send in a certain period of time? I would like to know if there is any way to remove it. I have searched relentlessly.
1. settings.db doesn't exist anymore and therefore cannot be changed to set a custom limit.
2. I'm rooted, have EX kernel and Pure Nexus 7.1.1 ROM. Neither support changing the limit natively.
Click to expand...
Click to collapse
The limit is probably set by your carrier. If that's the case you won't be able to change it in the ROM or phone build prop.
jhs39 said:
The limit is probably set by your carrier. If that's the case you won't be able to change it in the ROM or phone build prop.
Click to expand...
Click to collapse
Is it in the build prop? There wasn't a limit on a different phone.
Decimation001 said:
Is it in the build prop? There wasn't a limit on a different phone.
Click to expand...
Click to collapse
The limit just started when you got the 6P? How long were you using the phone before the limit became an issue? Are you on stock or a custom ROM? Who is your phone carrier? Are you using a stock SMS Program or different one? Maybe someone will have an answer if you provide more information. What is the limit, by the way? Do you know? I know that the program Automate limits texts as a security precaution. Maybe a third party program is causing the issue. Have you tried booting into safe mode and seeing if the limit still exists?
jhs39 said:
The limit just started when you got the 6P? How long were you using the phone before the limit became an issue? Are you on stock or a custom ROM? Who is your phone carrier? Are you using a stock SMS Program or different one? Maybe someone will have an answer if you provide more information. What is the limit, by the way? Do you know? I know that the program Automate limits texts as a security precaution. Maybe a third party program is causing the issue. Have you tried booting into safe mode and seeing if the limit still exists?
Click to expand...
Click to collapse
The limit is on my 6P running Resurrection Remix 7.1.1 on francoKernel. NOT on my other Note5 which is 6.0.1 stock kernel and ROM. Both are/were on T-Mobile. Both use Textra. Not sure what the limit is.
Decimation001 said:
The limit is on my 6P running Resurrection Remix 7.1.1 on francoKernel. NOT on my other Note5 which is 6.0.1 stock kernel and ROM. Both are/were on T-Mobile. Both use Textra. Not sure what the limit is.
Click to expand...
Click to collapse
Maybe something went wrong when you installed your custom ROM or Kernel. I've never heard of a text message limit on the Nexus 6P. You get an error message when you try and send a text saying you have reached the limit and the text can't be sent? Or is it a size limit? Or a limit to the number of recipients you can send a message to? I've heard of limits on the latter two but not on total number of messages that can be sent. At least not in North America.
jhs39 said:
Maybe something went wrong when you installed your custom ROM or Kernel. I've never heard of a text message limit on the Nexus 6P. You get an error message when you try and send a text saying you have reached the limit and the text can't be sent? Or is it a size limit? Or a limit to the number of recipients you can send a message to? I've heard of limits on the latter two but not on total number of messages that can be sent. At least not in North America.
Click to expand...
Click to collapse
The limit was both on Pure Nexus and RR. It limits how many messages I can send to anyone within a certain amount of time. I can still press "accept" to send but it's really annoying and spams me.
That kind of sounds like you might have malware/adware installed on your phone. You might want to download something like Malwarebytes and do a scan of your phone.
The SMS limit is built into Android. Previous to N it was a setting that could be altered in the build.prop and an option to change it was baked into RR. With N the settings were moved into the framework (from what I could find it appears it the telephony section?) and the option to change the setting was not baked into the new ROMs.
I have made several posts requesting info on how to change this - but, no one has responded (either they don't know, don't care, or haven't seen my posts). I need this option for work so badly I'm willing to learn how to build my own ROM. But, not worth getting started if I don't know how to fix the one important thing I need changed.
shaneaus said:
The SMS limit is built into Android. Previous to N it was a setting that could be altered in the build.prop and an option to change it was baked into RR. With N the settings were moved into the framework (from what I could find it appears it the telephony section?) and the option to change the setting was not baked into the new ROMs.
I have made several posts requesting info on how to change this - but, no one has responded (either they don't know, don't care, or haven't seen my posts). I need this option for work so badly in selling to learn how to build my own ROM. But, not worth getting started if I don't know how to fix the one important thing I need changed.
Click to expand...
Click to collapse
If the limit is built into Android why is nobody else having the same problem as you? Do you do something with your SMS that the average user doesnt't? Are you using your SMS to send advertising to large numbers of people, for instance?
jhs39 said:
If the limit is built into Android why is nobody else having the same problem as you? Do you do something with your SMS that the average user doesnt't? Are you using your SMS to send advertising to large numbers of people, for instance?
Click to expand...
Click to collapse
I don't understand why you are even asking this... I appreciate you willingness to help out. But... If you can't help out - just don't respond. You have exhibited that you don't have any knowledge of the settings we are speaking of - AND, I explained the setting is now in the framework. So, unless you know of a way to modify the framework without building a custom ROM - then, please stop implying that we don't have an issue - just because you don't understand what the issue is...
Your first response "The limit is probably set by your carrier" was uneducated speculation.
Your second response included several questions the OP had answered in his original post - he stated he had researched the issue, was using a custom rom/kernel... Then, you followed that up by more speculation: "Maybe a third party program is causing the issue. ."
Your third response isn't helpful as you merely question the OP's knowledge that he even knows he has an issue: "I've never heard of a text message limit on the Nexus 6P." Basically, you just admit your ignorance of there being an issue: " I've heard of limits on the latter two but not on total number of messages that can be sent." Which would imply to most that you won't have any knowledge of how to fix said issue.
Your forth response is to suggest there is malware? Again implying that the OP has no idea about what they are speaking.
Finally, when I post and explain that the setting was once there and easily modified with a build.prop change and that the code was moved...
You again imply that we have some sort of 'phantom issue:' "why is nobody else having the same problem as you?"
If you don't know the answer why waste our time? Do a search and you could easily find another post or two here on XDA in which I explained my situation/problem...
Once again, if you can help - we will surely appreciate any assistance! But, if you don't KNOW how to help; please, don't continue to ask questions which suggest we don't know what we are talking about.
@Decimation001 - I did some research and inside the framework there are two sections related to "telephony" (which is where it appears the settings were moved). Seems they are ODEX files. Might be able to de-compile, make a correction, re-compile, replace in current ROM. I'll start looking into it over the next week or so.
I guess you can keep talking to yourself then.
I have got the same problem. I want to sent to silvester round about 140 SMS to my people and got the message because of the limit.
shaneaus said:
Once again, if you can help - we will surely appreciate any assistance! But, if you don't KNOW how to help; please, don't continue to ask questions which suggest we don't know what we are talking about.
@Decimation001 - I did some research and inside the framework there are two sections related to "telephony" (which is where it appears the settings were moved). Seems they are ODEX files. Might be able to de-compile, make a correction, re-compile, replace in current ROM. I'll start looking into it over the next week or so.
Click to expand...
Click to collapse
Can you give me the names of the files? I know how to compile and recompile so I'd be happy to try and make some modifications.
jhs39 said:
I guess you can keep talking to yourself then.
Click to expand...
Click to collapse
No need to get your feelings hurt. But, I'm not here to "just talk to people" or socialize. I'm here to attempt to solve an issue. If you can assist - then, I will be very grateful for any assistance!
@Decimation001:
Here is the old build.prop method (posted from a member on another Android forum:
"Note: If you move to Marshmallow this will not work anymore as the file "settings.db" is irrelevant under Android 6.0 (annoying but true)
You need:
Root
something like Root explorer and sqLite editor
Open this file: /data/data/com.android.providers.settings/databases/settings.db
Go to "global" subsection, then look for the following two entries
"sms_outgoing_check_max_count" and "sms_outgoing_check_interval_ms"
If they don't exist (by default they aren't there) then create them.
Set the first one to whatever you want (its the maximum number of texts you can send per timeframe (eg.1000)
Set the second one to whatever timeframe you are measuring in millisecond units (eg. 1800000)
My settings were
sms_outgoing_check_max_count 1000
sms_outgoing_check_interval_ms 1800000
This example limits my texts to 1000 messages every 30 minutes
Close file, making sure to save saving if requested to do so.
Reboot system. The new settings will override the Android internal ones.
Hacked "
However, I sent him a PM and he does not know how to make the change in the newer versions of Android. From research I did it appeared that Android moved this setting into the Framework under "Telephony" and you can see that in the structure here:
https://www.researchgate.net/figure...-Android-Telephony-system-architecture-from-6
I've been trying to look for the merge/change in the files here:
https://android.googlesource.com/platform/frameworks/opt/telephony/
I haven't found the specific change/code yet.
However, if you use Root Explorer in an installed ROM - you might find the relevant code by unpacking/searching here:
/system/framework/telephony-common.jar/classes.dex
/system/framework/telephony-ext.jar/classes.dex
I'll try to keep looking for the change in the source code - should have occurred during the transition from Android 5.0 to 6.0....
shaneaus said:
No need to get your feelings hurt. But, I'm not here to "just talk to people" or socialize. I'm here to attempt to solve an issue. If you can assist - then, I will be very grateful for any assistance!
@Decimation001:
Here is the old build.prop method (posted from a member on another Android forum:
"Note: If you move to Marshmallow this will not work anymore as the file "settings.db" is irrelevant under Android 6.0 (annoying but true)
You need:
Root
something like Root explorer and sqLite editor
Open this file: /data/data/com.android.providers.settings/databases/settings.db
Go to "global" subsection, then look for the following two entries
"sms_outgoing_check_max_count" and "sms_outgoing_check_interval_ms"
If they don't exist (by default they aren't there) then create them.
Set the first one to whatever you want (its the maximum number of texts you can send per timeframe (eg.1000)
Set the second one to whatever timeframe you are measuring in millisecond units (eg. 1800000)
My settings were
sms_outgoing_check_max_count 1000
sms_outgoing_check_interval_ms 1800000
This example limits my texts to 1000 messages every 30 minutes
Close file, making sure to save saving if requested to do so.
Reboot system. The new settings will override the Android internal ones.
Hacked "
However, I sent him a PM and he does not know how to make the change in the newer versions of Android. From research I did it appeared that Android moved this setting into the Framework under "Telephony" and you can see that in the structure here:
https://www.researchgate.net/figure...-Android-Telephony-system-architecture-from-6
I've been trying to look for the merge/change in the files here:
https://android.googlesource.com/platform/frameworks/opt/telephony/
I haven't found the specific change/code yet.
However, if you use Root Explorer in an installed ROM - you might find the relevant code by unpacking/searching here:
/system/framework/telephony-common.jar/classes.dex
/system/framework/telephony-ext.jar/classes.dex
I'll try to keep looking for the change in the source code - should have occurred during the transition from Android 5.0 to 6.0....
Click to expand...
Click to collapse
I found the files. It's SmsUsageMonitor.class in telephony-common.jar. It has the values:
Code:
this.mLimit.set(Settings.Global.getInt(this.mContext.getContentResolver(), "sms_outgoing_check_max_count", 30));
this.mPeriod.set(Settings.Global.getInt(this.mContext.getContentResolver(), "sms_outgoing_check_interval_ms", 60000));
Now the problem is recompiling and making it a jar again.
@shaneaus Dang dude, chill out...
Hungry hustler said:
@shaneaus Dang dude, chill out...
Click to expand...
Click to collapse
I am very "chill." Don't understand why you made the comment.
@Decimation001 That is awesome! It took me quite awhile to hunt down different forum threads to find out where the settings had been moved. I was all prepared to attempt to start learning how to compile/decompile those files! But, between working 70 hrs/wk, spending one night with my kids, one night with my girlfriend, and monitoring my home which is under construction - I just haven't had the time! My partner who shares responsibility for sending out the texts for the contract work we schedule is anxiously waiting on my finding a solution! I'm hoping you can re-compile the file!
I'm just concerned at this point that this would have to be done every single time a new version of a ROM is used... Wondering if it could be made into a flashable .zip file which would only change that line of code changing the 30 to 200 or 300....
In any case - is this something we could just extract the classes.dex file, use apktool to decompile, change "30" to "300", recompile, and push the altered .dex file back into place? I understand using "tools" isn't the best way to go - but, I won't have much time to devote to this for the next 4-6 months. So, if apktool will do the trick for now... I'm willing.
Decimation001 said:
I found the files. It's SmsUsageMonitor.class in telephony-common.jar. It has the values:
Code:
this.mLimit.set(Settings.Global.getInt(this.mContext.getContentResolver(), "sms_outgoing_check_max_count", 30));
this.mPeriod.set(Settings.Global.getInt(this.mContext.getContentResolver(), "sms_outgoing_check_interval_ms", 60000));
Now the problem is recompiling and making it a jar again.
Click to expand...
Click to collapse
Ok, I figured out how to decompile the "classes.dex" file using baksmali. However, I can't find the Telephony-common.jar file.
I have found similar code here: out/com/Android/internal/telephony/SmsUsageMonitor$SettingsObserver.smali
".line 248
const-string/jumbo v2, "sms_outgoing_check_max_count"
const/16 v3, 0x1e"
Also, in this file: SmsUsageMonitor$SettingsObserverHandler.smali
" .line 263
const-string/jumbo v1, "sms_outgoing_check_max_count""
But, I don't know how to modify it as it isn't in the format I'm accustomed to seeing... From what I read it is in a smali syntax and I don't know how to modify this code.
@Decimation001 - any ideas?
---------- Post added at 02:54 AM ---------- Previous post was at 02:17 AM ----------
Decimation001 said:
I found the files. It's SmsUsageMonitor.class in telephony-common.jar. It has the values:
Code:
this.mLimit.set(Settings.Global.getInt(this.mContext.getContentResolver(), "sms_outgoing_check_max_count", 30));
this.mPeriod.set(Settings.Global.getInt(this.mContext.getContentResolver(), "sms_outgoing_check_interval_ms", 60000));
Now the problem is recompiling and making it a jar again.
Click to expand...
Click to collapse
shaneaus said:
Ok, I figured out how to decompile the "classes.dex" file using baksmali. However, I can't find the Telephony-common.jar file.
I have found similar code here: out/com/Android/internal/telephony/SmsUsageMonitor$SettingsObserver.smali
".line 248
const-string/jumbo v2, "sms_outgoing_check_max_count"
const/16 v3, 0x1e"
Also, in this file: SmsUsageMonitor$SettingsObserverHandler.smali
" .line 263
const-string/jumbo v1, "sms_outgoing_check_max_count""
But, I don't know how to modify it as it isn't in the format I'm accustomed to seeing... From what I read it is in a smali syntax and I don't know how to modify this code.
@Decimation001 - any ideas?
Click to expand...
Click to collapse
Ok... Looks like if I change the hexadecimal "0x1e" (means 30) below to "0x12c" (means 300), save, recompile using baksmali, and re-insert into my ROM it should work?:
out/com/Android/internal/telephony/SmsUsageMonitor$SettingsObserver.smali
".line 248
const-string/jumbo v2, "sms_outgoing_check_max_count"
const/16 v3, 0x1e"
Ok. I think I did it. I extracted the "telephony-common.jar" file from system/framework. I used 7zip to open it and took the classes.dex file out. I placed the classes.dex file into my smali/baksmali folder, decomplied, changed the above line of code in the manner indicated, recompiled.... I opened telephony-common.jar back up (confirmed that classes.dex was not present), copied the newly updated classes.dex file into telephony-common.jar. I placed it into a folder on the device. Using the app Root Explorer I had two tabs open and deleted the original telephony-common.jar file and immediately copy/pasted the new one in it's place. Just to be sure it worked I extracted the classes.dex file again and decompiled it to confirm.
I'll test it out tomorrow with a mass text to all of my sub-contractors. If it works - I'll edit/post the detailed instructions on the first post in this thread.

NST library files

Anyone knows where the files/databases are for the library to use, e.g., sorting files for recent, author and title, as well as for shelves. It seems the library module from time to time doesn't sort correctly, after adding new books. Sometimes, a book from search is not placed in the 1st in the library ( for most recent order ). So I guess there must be something wrong in related files. Any tips are appreciated.
smjohn1 said:
Anyone knows where the files/databases are for the library to use, e.g., sorting files for recent, author and title, as well as for shelves. It seems the library module from time to time doesn't sort correctly, after adding new books. Sometimes, a book from search is not placed in the 1st in the library ( for most recent order ). So I guess there must be something wrong in related files. Any tips are appreciated.
Click to expand...
Click to collapse
AFAIK there is nothing specifically for the Library app other than an xml file (/data/data/com.bn.nook.library/shared_prefs.xml) which I imagine is supposed to control how the various library options display when the library is accessed. I've never had any luck with changing the settings (which are obfuscated anyway) as I would like the library to open a certain way but it insists on reverting to something else no matter how many times I set it.
As for databases, there are two associated with the Reader app (/data/data/com.bn.nook.reader.activites/databases/lastreadingpoint.db and /readerlocal.db). Historically there have been issues with the databases becoming garbled and there are a couple of postings somewhere in the forum with sqlite sequences for clearing out the dross and starting over. I'll see if I can scare those up but you should search also. And you'll need a sqlite database viewer if you want to examine the databases on your PC to see what's there.
Edit: This is the main thread I was remembering: https://forum.xda-developers.com/t/solved-on-the-problem-of-broken-bookmarks.1467429/
nmyshkin said:
AFAIK there is nothing specifically for the Library app other than an xml file (/data/data/com.bn.nook.library/shared_prefs.xml) which I imagine is supposed to control how the various library options display when the library is accessed. I've never had any luck with changing the settings (which are obfuscated anyway) as I would like the library to open a certain way but it insists on reverting to something else no matter how many times I set it.
As for databases, there are two associated with the Reader app (/data/data/com.bn.nook.reader.activites/databases/lastreadingpoint.db and /readerlocal.db). Historically there have been issues with the databases becoming garbled and there are a couple of postings somewhere in the forum with sqlite sequences for clearing out the dross and starting over. I'll see if I can scare those up but you should search also. And you'll need a sqlite database viewer if you want to examine the databases on your PC to see what's there.
Edit: This is the main thread I was remembering: https://forum.xda-developers.com/t/solved-on-the-problem-of-broken-bookmarks.1467429/
Click to expand...
Click to collapse
Thx, I will dig a bit. Strange thing is just read books from search don't appear in library's beginning at all. On the other hand, books read from library do change order in the library. Besides database, any other possible modules that would such problems?
smjohn1 said:
Thx, I will dig a bit. Strange thing is just read books from search don't appear in library's beginning at all. On the other hand, books read from library do change order in the library. Besides database, any other possible modules that would such problems?
Click to expand...
Click to collapse
I've come up empty. From examining the two Reader databases it is clear that they do not contain any information that would create placement in the Library such as shelves. That information must be somewhere but I have not been able to find it. There is another database, home.db, which is part of the bn.home app. There is minimal data there about books, but nothing helpful.
What is distressing (besides not being able to track down where this information is stored) is that there seems to be no mechanism to flush out the databases. Looking over mine I see (sideloaded) books that I have deleted a long time ago. No wonder things act funny after awhile.
Edit: Never say never. This post: https://forum.xda-developers.com/t/automating-shelving.1378510/ reveals the whereabouts of the information for the Library. I never would have guessed B&N would use stock Android for that!
Yeah, there used to be problems with the MediaScanner on the NST.
I got used to not relying on it.
Even now, my Library app has a fixed number of locations for books and you just hit Refresh once in a while.
The AdbSync script (makefile actually) that I use just pokes a refresh after syncing the Books directory.
nmyshkin said:
I've come up empty. From examining the two Reader databases it is clear that they do not contain any information that would create placement in the Library such as shelves. That information must be somewhere but I have not been able to find it. There is another database, home.db, which is part of the bn.home app. There is minimal data there about books, but nothing helpful.
What is distressing (besides not being able to track down where this information is stored) is that there seems to be no mechanism to flush out the databases. Looking over mine I see (sideloaded) books that I have deleted a long time ago. No wonder things act funny after awhile.
Edit: Never say never. This post: https://forum.xda-developers.com/t/automating-shelving.1378510/ reveals the whereabouts of the information for the Library. I never would have guessed B&N would use stock Android for that!
Click to expand...
Click to collapse
Wow! Thx. I need to learn sqlites to see all the contents.
Renate said:
Yeah, there used to be problems with the MediaScanner on the NST.
I got used to not relying on it.
Even now, my Library app has a fixed number of locations for books and you just hit Refresh once in a while.
The AdbSync script (makefile actually) that I use just pokes a refresh after syncing the Books directory.
Click to expand...
Click to collapse
how tro refresh? Is there adb code for that? Thx again.
smjohn1 said:
Wow! Thx. I need to learn sqlites to see all the contents.
Click to expand...
Click to collapse
You can do sqlite manipulations via ADB is you have sqlite3 installed on the NST, but for a better overall view you really need to copy the database file to a PC use a tool like this.
smjohn1 said:
How to refresh? Is there adb code for that?
Click to expand...
Click to collapse
Not really.
There are ways to make the MediaScanner scan a single file.
There is no simple way to tell it to just rescan everything.
I was talking about my Library.apk which does a simple foreground scan when you:
Code:
adb shell am start -a com.temblast.library.REFRESH

Categories

Resources