Noob developer question - General Questions and Answers

First of all I apologize if this is in the wrong place , but I couldnt find a solution anywhere on the web and I have seen so many awesome xda developers here and used many of the cooked roms so I thought Id give it a shot
Does anyone know how to secure a cab file? So if you develop a Windows Mobile 6 application and you want to make sure that they can only install the cab on one device and force them to enter a registration code how do you go about doing that?

Related

How-to Install Cab Files??

Sorry for such a "noob" question, but how do you install "cab" files? Do you click on them when in active-sync or do you have to cut-n-paste them somewhere?
Just wondering because I wanted to install several programs in Vp's "add-on" list but not sure how? I tried clicking on one and it didn't do anything?
Just copy the cab to your device and then open your file explorer on your device, find the cab, and double click it. It's that simple
Read the wiki:
http://wiki.xda-developers.com/index.php?pagename=HTC_Hermes
And enjoy your new toy
Moderator.... shouldn't this thread be locked? Not a WM6 related question...
wreckerdude said:
Sorry for such a "noob" question, but how do you install "cab" files? Do you click on them when in active-sync or do you have to cut-n-paste them somewhere?
Just wondering because I wanted to install several programs in Vp's "add-on" list but not sure how? I tried clicking on one and it didn't do anything?
Click to expand...
Click to collapse
Hi
U can install CAB files by two ways
1. Copy files to your device and double click
2. Download prgm CabViaSync u can directly install it form your desktop
http://www.modaco.com/Vista-WMDC-compatible-CAB-t248516.html
copy the cab file into your device itself ,that's all and double click on it on ppc
To copy it ,connect your device ,when activesync sync , u can click on explore button ,it will open ur device then just copy and paste
Where do you copy it to on the device? The Program menu? And then click on it from there?
I posted it here because I'm using WM6 although it's the same I gather with WM5. Sorry if it's in the wrong thread.
Thanks everyone. I'll try it.
Again, sorry if this is in the wrong thread.
dude, just copy it to say your storage card, go to file explorer, then to your storage card and click n it. lol..it's amazing, u know how to upgrade to WM6 but you dont know how to install a .cab file? lol .. wow.
wreckerdude said:
Thanks everyone. I'll try it.
Again, sorry if this is in the wrong thread.
Click to expand...
Click to collapse
THIS CANT BE IN THE WRONG THREAD YOU THARTED THE THREAD!! LOL
this is funny
Im not trying to be an ass to who-ever started this thread or the participants but this has to be the funniest question I have ever read on here. Why? because its a developers web site for test and mods and you made it here so far without even opening a cab file. thats like growing up, standing and getting food from the cubbards and then still not knowing how to open the fridge...i say this with humour not arrogance.
Is this thread serious or a joke?
I can't tell...
If it's serious, someone needs to gently put down the PPC and pick up a Nokia... more their speed.
jackieboy said:
Im not trying to be an ass to who-ever started this thread or the participants but this has to be the funniest question I have ever read on here. Why? because its a developers web site for test and mods and you made it here so far without even opening a cab file. thats like growing up, standing and getting food from the cubbards and then still not knowing how to open the fridge...i say this with humour not arrogance.
Click to expand...
Click to collapse
Sorry man, I'm the bonehead. I make a living working on cars - not phones! And YES, I made it this far loading roms and not having to do anything with cabs!
The reason I'm wandering around the "developers" website is because I get the best answers here.
I'm sure if things were reversed, and you were rebuilding a "hemi" you *might* ask a silly question too.
So... before you work on the "hemi", don't you read the service manual first or do you just post the question hemi.mechanics.com?
I think that's why some people are flaming you for this question...
It's like saying you rebuilt the engine but you don't know how to add oil.
This reply is in no disrespect to you....
wreckerdude said:
Sorry man, I'm the bonehead. I make a living working on cars - not phones! And YES, I made it this far loading roms and not having to do anything with cabs!
The reason I'm wandering around the "developers" website is because I get the best answers here.
I'm sure if things were reversed, and you were rebuilding a "hemi" you *might* ask a silly question too.
Click to expand...
Click to collapse

Where can I download Ervius Package Creator?

The rapidshare address I found in OEM Package Tutorial is not available.
1st of all ... WHAT THE HECK IS "Ervius Package Creator" ???
2ndly ... you don't just create a new thread out of the blue just because you desperately need something and forget about etiquette !!!
I don't do mind reading !!! ... and if you asked a pointless/stupid question without any info whatsoever !!! ... you are getting one same pointless/stupid answer back !!!
To be completely honest, I don't mind this question. I think maybe you should search for the creator by name, Envirus, but the pakage creator is also a part of the kitchen. So either get th ewhole kitchen, go to Hermes forum, the thread there has valid links or I believe it is also in the main xda development & upgrading thread.
UnicornKaz said:
1st of all ... WHAT THE HECK IS "Ervius Package Creator" ???
2ndly ... you don't just create a new thread out of the blue just because you desperately need something and forget about etiquette !!!
I don't do mind reading !!! ... and if you asked a pointless/stupid question without any info whatsoever !!! ... you are getting one same pointless/stupid answer back !!!
Click to expand...
Click to collapse
Where are you from? Please be polite.
1. If you know kaiser cooking kitchen and read OEM package tutorial, you should know what's "Ervius Package Creator"
2. What's pointless question? I just ask a software download address. I searched in the forum. Do you think I'm stupid like you? Do you know everything when you come to the world? YOU are really stupid.
I have been looking for this also, the thread his tools normally live in is here http://forum.xda-developers.com/showthread.php?t=320504
However the tools are not there at the moment, if you read on the last page he says he is having some file hosting problems. I was looking mainly for his updated version of buildos.
Best thing to do i think is just subscribe to that topic and wait for an email, that is what i am doing.
Alternatively if you go to ALexs Cooking Kits on the Kaiser Wiki and download alexs kitchen tools package creator is contained in the kitchen tools zip file,.
SayWhat said:
I have been looking for this also, the thread his tools normally live in is here http://forum.xda-developers.com/showthread.php?t=320504
However the tools are not there at the moment, if you read on the last page he says he is having some file hosting problems. I was looking mainly for his updated version of buildos.
Best thing to do i think is just subscribe to that topic and wait for an email, that is what i am doing.
Alternatively if you go to ALexs Cooking Kits on the Kaiser Wiki and download alexs kitchen tools package creator is contained in the kitchen tools zip file,.
Click to expand...
Click to collapse
Thanks for your information!

Registry editing for screen sensitivity

So I'm sorry, but I've searched a billion different ways on this site and google and havent found anything that helped my newb self.
Please please please someone explain in simple terms how to edit the registry files? Where can I download a registry editor for the my touch 3g (yes its rooted) I have one on my computer called Registrar but I have no clue how to get into the phones registry.
Please help!
Sorry I'm a newb
katiecakez said:
So I'm sorry, but I've searched a billion different ways on this site and google and havent found anything that helped my newb self.
Please please please someone explain in simple terms how to edit the registry files? Where can I download a registry editor for the my touch 3g (yes its rooted) I have one on my computer called Registrar but I have no clue how to get into the phones registry.
Please help!
Sorry I'm a newb
Click to expand...
Click to collapse
Android is not a windows based OS - it doesn't use a registry...its a Linux based OS. It is very different than a Windows system.
registry
I came from windows mobile as well so I'm not as advanced as I was in the winmo world but I think the screen sensitivity is determined by the kernal also a lot of settings are in the build prop
booo. oh well. Now to figure out what rom to use....any ideas? i always like having the latest and greatest. I'm a quickk learner I promise! I keep looking at the eclair rom but idk what to do...if its the same as the other roms where i just rename the zip file of eclair to update.zip and throw it on the memory card or if i need something else...
nvm boyz

ics setting : help please

hello every one
i have alcatel on touch pixi (4007D)
and i make rom but when i decompile the apk with (apk tool) all thing right :fingers-crossed:
and i change the xml & drawable & values
and come to recompile apk with same programs
Error occurs
please , any Developer help me and take my setting apk and convert to ics setting theme
thanks :highfive:
Apk in the attachments
no one can help me?
bad forum
When you don't get replies, don't just say xda is a bad forum.
The forum isn't the "thing" answering, it's the users. .
Anyways, I have an answer for your problem. And I know what exactly you're talking about.
The reason your "tool" shows an error when it compiles the .apk is because you made an error somewhere in the process of editing. This happens frequently, the easiest way to figure out the cause for this error is to check the error log. It shows precisely where the issue is.
I would help you out by making it for you, but there is two reasons I cannot. One - its too late here and I can't get on my PC, and Two - If we do it, you don't learn anything if you're building or cooking roms.
So what I would like you to do is, get a log of the error you're getting and perhaps I, or someone else could help you.
Also you can "bump" up your thread, read the stickies for rules on this. It'll help. Bumping the thread pushes the thread near the top of list so people see it. You already did this. But in a slightly different way.
Krish
Sent from my Nexus 5 using Tapatalk

Custom ROMs - Device Security

Hi Guys,
I am new to Android (a noob) - Started with flashing some custom ROMs on my devices and i am bothered by the security of my device, although android is open source, is it possible that a custom ROM is bugged to steal your personal or financial information? I don't have any experience with android development and i don't have time to jump into Android development so even if the ROM is open source i wont be going through the code to check for leaks or potential built-in hacks.
Basically my question is, is it safe to install Unofficial ROMs such as CM unofficial? I understand, the majority of apps store sensitive data on device in encrypted way but still, i don't think it will be hard to just modify the ROM to develop a built-in key-logger OR read username/password from a username/password fields while user is typing using an on-screen keyboard, save it as LOG file and when connected to the internet, send it to the 'unknown' source. I can see so many possibilities, the user wont even have a clue that they are sharing data. it is like Microsoft making windows Open Source and people making their own versions of Windows and users installing them on thier PCs.
Please help me understand - How safe are our devices when running on custom ROMs from developers we don't even know (no disrespect to any dev, all this amazing work is appriciated, I just want to understand the security of android - Please help me understand as after flashing custom ROMs on my devices i am avoiding installation of sensitive apps or even using chrome to type my passwords) - am i paranoid ?
Cheers
It's entirely possible that a malicious custom ROM could steal your data (or worse), and there's really no technical way to mitigate it. You're implicitly trusting the developer of a ROM by flashing it. All you can really do is make sure that whatever ROM you choose is from a well-known, trusted developer.
aliusman999 said:
Hi Guys,
I am new to Android (a noob) - Started with flashing some custom ROMs on my devices and i am bothered by the security of my device, although android is open source, is it possible that a custom ROM is bugged to steal your personal or financial information? I don't have any experience with android development and i don't have time to jump into Android development so even if the ROM is open source i wont be going through the code to check for leaks or potential built-in hacks.
Basically my question is, is it safe to install Unofficial ROMs such as CM unofficial? I understand, the majority of apps store sensitive data on device in encrypted way but still, i don't think it will be hard to just modify the ROM to develop a built-in key-logger OR read username/password from a username/password fields while user is typing using an on-screen keyboard, save it as LOG file and when connected to the internet, send it to the 'unknown' source. I can see so many possibilities, the user wont even have a clue that they are sharing data. it is like Microsoft making windows Open Source and people making their own versions of Windows and users installing them on thier PCs.
Please help me understand - How safe are our devices when running on custom ROMs from developers we don't even know (no disrespect to any dev, all this amazing work is appriciated, I just want to understand the security of android - Please help me understand as after flashing custom ROMs on my devices i am avoiding installation of sensitive apps or even using chrome to type my passwords) - am i paranoid ?
Cheers
Click to expand...
Click to collapse
You are paranoid but that's good!
Yes we are trusting the devs (or Samsung et al with stock) AND hopefully smart coders who regularly check the code (but I suspect checking doesn't happen a lot!). You can use a firewall/packet sniffer to check what servers your phone is connecting to and see (some) of the data being sent to reduce your risk and put your mind at ease. But still it's no guarantee, as I understand it (I'm no expert!).
---
trainsuit said:
If you get a stock android you are also trusting the developer. Just look at these lenovo laptops which had malware served on their stock windows versions. Best is to always start clean when buying any form of product.
Click to expand...
Click to collapse
That's true, but how do you define ”clean”? In theory, you could build AOSP for your device yourself so you're only trusting Google, but that's completely impractical for most people. If you just switch from stock to someone else's custom ROM, you're just changing who you're trusting.
---
Perhaps it's a silly question but I do it: do you think that a XDA Senior Member with one or two thousand of thanks is reliable?
Bach_J said:
Perhaps it's a silly question but I do it: do you think that a XDA Senior Member with one or two thousand of thanks is reliable?
Click to expand...
Click to collapse
Another question for you: if a ROM has malicious code that send personal information to unknown servers, is using a firewall like AFWall+ twhich blocks all system apps sufficient to prevent this malicious ROM to stole data?
Thanks
Bach_J said:
Perhaps it's a silly question but I do it: do you think that a XDA Senior Member with one or two thousand of thanks is reliable?
Click to expand...
Click to collapse
Probably.
Bach_J said:
Another question for you: if a ROM has malicious code that send personal information to unknown servers, is using a firewall like AFWall+ twhich blocks all system apps sufficient to prevent this malicious ROM to stole data?
Thanks
Click to expand...
Click to collapse
No, a custom ROM could make data look like it's coming from any app it wants, or just bypass the firewall completely.
josephcsible said:
No, a custom ROM could make data look like it's coming from any app it wants, or just bypass the firewall completely.
Click to expand...
Click to collapse
Alternatively if the device is on your own network you could wireshark it using a computer and monitor IP addresses that the device attempts to connect to.
LyricalMagical said:
Alternatively if the device is on your own network you could wireshark it using a computer and monitor IP addresses that the device attempts to connect to.
Click to expand...
Click to collapse
This is helpful but not perfect. There's a bunch of ways to stealthily exfiltrate data over a monitored network, and don't forget a malicious ROM might only do its dirty work over cell and not Wi-Fi for this very reason.
josephcsible said:
This is helpful but not perfect. There's a bunch of ways to stealthily exfiltrate data over a monitored network, and don't forget a malicious ROM might only do its dirty work over cell and not Wi-Fi for this very reason.
Click to expand...
Click to collapse
I agree with you it's not a perfect solution; this question is sort of like asking if you can trust someone who has a root account to your computer when you cannot see what they are doing, it's an incredibly disadvantaged situation from the start.
LyricalMagical said:
I agree with you it's not a perfect solution; this question is sort of like asking if you can trust someone who has a root account to your computer when you cannot see what they are doing, it's an incredibly disadvantaged situation from the start.
Click to expand...
Click to collapse
I don't want to flash custom ROMs anymore! :crying:
It can be very dangerous! Or am I paranoid and I can trust xda developers?
Bach_J said:
I don't want to flash custom ROMs anymore! :crying:
It can be very dangerous! Or am I paranoid and I can trust xda developers?
Click to expand...
Click to collapse
Remember, everything I've been saying is reasons not to flash a ROM unless you trust the dev. None of it is saying that devs aren't trustworthy. I don't know of a single instance when a well-respected XDA member's ROM turned out to be malicious.
josephcsible said:
Remember, everything I've been saying is reasons not to flash a ROM unless you trust the dev. None of it is saying that devs aren't trustworthy. I don't know of a single instance when a well-respected XDA member's ROM turned out to be malicious.
Click to expand...
Click to collapse
Thank you for clarifying that but the question comes once more: how to recognize a well-respected XDA member? With the number of thanks? It is obvious that if the smartphone you are interested in is not so famous, there will be few comments on custom ROMs, too. So, how to evaluate the reliability of a xda dev who is developing ROM for not-well-known devices?
Are ROMs in Original development Section trustworthy?
Bach_J said:
Thank you for clarifying that but the question comes once more: how to recognize a well-respected XDA member? With the number of thanks? It is obvious that if the smartphone you are interested in is not so famous, there will be few comments on custom ROMs, too. So, how to evaluate the reliability of a xda dev who is developing ROM for not-well-known devices?
Are ROMs in Original development Section trustworthy?
Click to expand...
Click to collapse
Number of thanks can hardly tell that a dev is reliable or not(in some cases it can), rather it's the quality of their work and their expertise on the related topics that could clarify their position a bit. the recognized contributors, recognized developers, recognized themers you should look at cause
these are given to a member after being checked and passed by moderaters here on XDA. So they are pretty much reliable guys. in cases where there are no recognized developers and hardly any comments. you will have to check and find out yourself
1. ask the dev if he has tested the ROM himself?
2. how did he compiled the ROM? is it a port or just a modified copy of another ROM or a build from source.
3. check the link of the download, if it's to some survey site or ask for a password, stay away from it.
4. if you trust the download link, then download scan with antivirus and unzip the file.
5. generally I look inside app if there are apps which I don't trust and I remove them, then check build.prop, init.d folders. basic things to look for is any references of some other website/ports in between codes. if you're more paranoid you can check bin folder as well and every other you want.
6.don't install the ROM simply Root and debloat.
billysam said:
Number of thanks can hardly tell that a dev is reliable or not(in some cases it can), rather it's the quality of their work and their expertise on the related topics that could clarify their position a bit. the recognized contributors, recognized developers, recognized themers you should look at cause
these are given to a member after being checked and passed by moderaters here on XDA. So they are pretty much reliable guys. in cases where there are no recognized developers and hardly any comments. you will have to check and find out yourself
1. ask the dev if he has tested the ROM himself?
2. how did he compiled the ROM? is it a port or just a modified copy of another ROM or a build from source.
3. check the link of the download, if it's to some survey site or ask for a password, stay away from it.
4. if you trust the download link, then download scan with antivirus and unzip the file.
5. generally I look inside app if there are apps which I don't trust and I remove them, then check build.prop, init.d folders. basic things to look for is any references of some other website/ports in between codes. if you're more paranoid you can check bin folder as well and every other you want.
6.don't install the ROM simply Root and debloat.
Click to expand...
Click to collapse
Thanks for the complete explanation!
billysam said:
Number of thanks can hardly tell that a dev is reliable or not(in some cases it can), rather it's the quality of their work and their expertise on the related topics that could clarify their position a bit. the recognized contributors, recognized developers, recognized themers you should look at cause
these are given to a member after being checked and passed by moderaters here on XDA. So they are pretty much reliable guys. in cases where there are no recognized developers and hardly any comments. you will have to check and find out yourself
1. ask the dev if he has tested the ROM himself?
2. how did he compiled the ROM? is it a port or just a modified copy of another ROM or a build from source.
3. check the link of the download, if it's to some survey site or ask for a password, stay away from it.
4. if you trust the download link, then download scan with antivirus and unzip the file.
5. generally I look inside app if there are apps which I don't trust and I remove them, then check build.prop, init.d folders. basic things to look for is any references of some other website/ports in between codes. if you're more paranoid you can check bin folder as well and every other you want.
6.don't install the ROM simply Root and debloat.
Click to expand...
Click to collapse
I've just unzipped ROM but I can't find what you said. I've only found build.prop and nothing else!
Here a screenshot:
Bach_J said:
I've just unzipped ROM but I can't find what you said. I've only found build.prop and nothing else!
Here a screenshot:
Click to expand...
Click to collapse
That's because lollipop and marshmallow ROM files are further zipped into system.new.dat files which needs another method to extract, https:\\forum.xda-developers.com/android/help/extract-dat-marshmallow-lollipop-easily-t3334117
Just a small correction. When going to aosp you I ly are trusting yourself as you can inspect everything you add and remove what you don't.
Now to add to your paranoia. A custom rom could be made that allows all apps root permission without the users knowing. Add in a Key logger and have e it all headed without you ever knowing. This is common is xiaomi and other china based devices.
Heck there are a few key parts in the playstore with built in Key loggers.
Heck most of the go apps send all their data to China. Things like their Keylogger files, screen recording and device usage. But mind you it is all legal

Categories

Resources