Learning to devolpe. need help. - Android Software/Hacking General [Developers Only]

hey guys, ive been teaching myself how to develop andriod applications. ive been using online tutorials and seem to be stuck right now.
i dont want to paste the whole tutorial but if you go ere
http://www.vogella.de/articles/Android/article.html#first
scroll down to 5.4. Example. im stuck at that part and this is my error
error: Error: No resource found that matches the given name (at 'id' with value '@id/contactview').
EDIT: NVM i solved it "somehow" close thread plz.
i think i need to edit my strings.xml to add that resource but im not sure how.
any help is appreciated.

Related

[Q] ADW Theme Errors - Eclipse

I have downloaded the most recent Theme Template from AnderWeb and I am (trying) to follow the instructions posted ... unfortunately I am not getting very far.
Fire up Eclipse and create a new Android project. I point it to the downloaded Theme Template directory as an existing project to use and click "Finish" (this is all per the instructions) and I end up getting the error:
Error: Invalid Project Description
Invalid project description.
/Users/me/Documents/eclipse_projects/AnderWeb-ADW.Theme-Template-d8491c4 overlaps the location of another project: 'AnderWeb-ADW.Theme-Template-d8491c4'
The first time I tried to point to this project, Eclipse didn't seem to be picking up the right info from the manifest ... it would only display 1.5 for the Build Target. Looking in the manifest, it declares SDK Ver. 4
If I go back and then repoint to the location again, everything seems to be ok but it still gives me the same error.
Is something up with the manifest?
I know there are a few other themers here that have played with ADW, so I am hoping someone else might be able to shed some light on this for me.
thanks in advance.
When I first was trying to make themes for ADW, I had errors building the theme if it wasn't in the sdk/platforms/android-8 folder. I don't know if this will help you, but you could try that.
david1171 said:
When I first was trying to make themes for ADW, I had errors building the theme if it wasn't in the sdk/platforms/android-8 folder. I don't know if this will help you, but you could try that.
Click to expand...
Click to collapse
Yep, I moved the project folder to the Android-8 directory and it loaded right up! Thanks a ton, David ... I mashed the Thanks button for you
Now let's hope the rest of it goes smoothly...
Just ran into the same problem, and in case anyone else is having it, all you need to do is make sure your unpacked ZIP file isn't in your eclipse_projects folder. Placing it anywhere else (including the android-8 folder mentioned above) will fix the problem.

[HELP] Error executing updater binary

Ok so i've compiled a ROM from source and am trying to flash it, but every time I flash I get this error:
Code:
E:Error executing updater binary in zip '/external_sd/Flash This/full_xt926.bdh.signed.zip'
Error flashing zip '/external_sd/Flash This/full_xt926.bdh.signed.zip'
I haven't really been able to find much on this through a 3 day google search. I found one topic that suggested it's the recovery but I know this is not the recovery, this is a ROM zip issue.
This is the recovery.log
Code:
Installing '/external_sd/Flash This/full_xt926.bdh.signed.zip'...
Checking for MD5 file...
I:Cannot find file /external_sd/Flash This/full_xt926.bdh.signed.zip.md5
Skipping MD5 check: no MD5 file found.
line 4 col 37: syntax error, unexpected STRING, expecting $end
1 parse errors
E:Error executing updater binary in zip '/external_sd/Flash This/full_xt926.bdh.signed.zip'
Error flashing zip '/external_sd/Flash This/full_xt926.bdh.signed.zip'
Any help is greatly appreciated.
More than likely there is something wrong in your updater script. About two threads down is a guide I'm working on how to create flashable.zips, haven't gotten to ROMs yet but thered may be stuff there that will help you.
If you want give me a copy of your updater-script and ill look it over for you, actually if you don't mind posting this along with your question again in the other thread that would be awesome. The less threads on similar stuff in xda the less clutter there is to sift through and easeir to find answers
Sent from my myTouch_4G_Slide using xda premium
demkantor said:
More than likely there is something wrong in your updater script. About two threads down is a guide I'm working on how to create flashable.zips, haven't gotten to ROMs yet but thered may be stuff there that will help you.
If you want give me a copy of your updater-script and ill look it over for you, actually if you don't mind posting this along with your question again in the other thread that would be awesome. The less threads on similar stuff in xda the less clutter there is to sift through and easeir to find answers
Sent from my myTouch_4G_Slide using xda premium
Click to expand...
Click to collapse
Posted Thank you sir!
hi
I am getting the same problem as you ,not easy to find out how to sort t on google
Johnt880 said:
I am getting the same problem as you ,not easy to find out how to sort t on google
Click to expand...
Click to collapse
Updater script error, it's expecting the end of the line but it encounters something else instead
Use the column and line numbers it gives you to narrow down the part of the script that is going wrong.
Thank you 1
CNexus said:
Updater script error, it's expecting the end of the line but it encounters something else instead
Use the column and line numbers it gives you to narrow down the part of the script that is going wrong.
Click to expand...
Click to collapse
I found out that the script it wrong for xperia phones in the kitchen ,What we need is Emmc not the Amend script
If you could show me the code the right way i would appreciate it
Johnt880 said:
I found out that the script it wrong for xperia phones in the kitchen ,What we need is Emmc not the Amend script
If you could show me the code the right way i would appreciate it
Click to expand...
Click to collapse
You should find the info you need here
http://forum.xda-developers.com/showthread.php?t=2290009
If you need further help just upload a copy of your updater-script
Sent from my Nexus 4 using XDA Premium 4 mobile app
Oh wow this is a awesome link i will like to get to know how to sort out scripts,Thank you very much .I just had a quick look at your link and i think i should easily learn from you ,Great work keep it up

[Q] Recmod and Reversmode not working

I am using a couple of really old programs called recmod and reversmod and I am having trouble getting them to work. When I use the recmod tool, I do get a .dll file out of it, but the file is always 1kb and if I open a bunch of them in hex edit, they are nearly identical and each mentions that "this file cannot be run in DOS mode". Other than that, the rest of the file is almost entirely zeroes, so the code is null. Also the reversmode crashes when I try to use it on the .dll files I created, most likely because the files are busted.
In this thread: http://forum.xda-developers.com/showthread.php?t=1251237 OndraSter mentions something about recmod/reversmode using type 5 and 7 instead of just type 3. I don't really know what to make of this and Google leads me only to things that don't pertain to recmod at all.
Does anyone know how to make recmod work nowadays? Thanks in advance for any help provided!
ckv said:
I am using a couple of really old programs called recmod and reversmod and I am having trouble getting them to work. When I use the recmod tool, I do get a .dll file out of it, but the file is always 1kb and if I open a bunch of them in hex edit, they are nearly identical and each mentions that "this file cannot be run in DOS mode". Other than that, the rest of the file is almost entirely zeroes, so the code is null. Also the reversmode crashes when I try to use it on the .dll files I created, most likely because the files are busted.
In this thread: http://forum.xda-developers.com/showthread.php?t=1251237 OndraSter mentions something about recmod/reversmode using type 5 and 7 instead of just type 3. I don't really know what to make of this and Google leads me only to things that don't pertain to recmod at all.
Does anyone know how to make recmod work nowadays? Thanks in advance for any help provided!
Click to expand...
Click to collapse
The only thing i could find on it was ... http://forum.xda-developers.com/showthread.php?t=576027 and it hasnt been updated in awhile.
Diablo67 said:
The only thing i could find on it was ... http://forum.xda-developers.com/showthread.php?t=576027 and it hasnt been updated in awhile.
Click to expand...
Click to collapse
Yeah, that's the thread that first got me into the recmod tool. Great thread, just out of date. /:
Thanks for the reply though.
This may help
This may help someone help me a little. When I use recmod through the command line, I get an error saying "Error! ProcessCase0: bit 5 is zero!"
and this is the .dll file that I get out of it:
View attachment a.zip
I renamed the file name to a so it would be shorter to type because I was trying a lot of different command prompt things. It was originally k.senscmdd.dll, not that it really matters. All of the modules I tried came out almost exactly like this.

Decompiling MMS apk?

Hey guys, running into some trouble on this one. I'm running the 4.2.2 illusion ROM on my GS3 and was attempting to decompile the mms app to make some changes.
I'm using apktool, I've loaded the framework-res.apk, but when attempting to recompile, I get a bunch of errors like this:
"Public entry identifier enter index is larger than available symbols. Public symbol declared here is not defined." etc...
I've tried just doing a straight decompile/recompile without making any changes and I still get this result. decompiling seems to complete ok from what I can tell.
Any suggestions? thanks!
also, if this thread doesn't belong here please forgive me and move it. I wasn't sure where to ask.

[Q] Android Script Encodeing

I hope i have this in the right forum. I am trying to edit some of the code for my android firmware. Mainly Aboot.bin but i can't find a program or site that will decode the code to plain text so i can read what everything says. I want to read it so that i don't mess up my phone if i edit the wrong line and then flash it to the phone. Im using Win7 if that helps any.
Will Some One Plz tell me a program that decodes on Windows Machines?
Thank You

Categories

Resources