android sdk + hxd tool - Android

hi xda developers im new here and alrdy usd the search database but didnt finde my quesion there so ill start it here:
my android emulator gives me the imei 00000000... but i want it to be generated randomly. is this possible? i mean if i start the emu it should everytime be generated a new randomly.
thx
if u need more info for the progress im open for it.

mustyxp said:
hi xda developers im new here and alrdy usd the search database but didnt finde my quesion there so ill start it here:
my android emulator gives me the imei 00000000... but i want it to be generated randomly. is this possible? i mean if i start the emu it should everytime be generated a new randomly.
thx
if u need more info for the progress im open for it.
Click to expand...
Click to collapse
You may have used the xda search but did you Google it? First result from " change imei number android emulator" .
http://codepainters.wordpress.com/2009/12/11/android-imei-number-and-the-emulator/
Sent from my Galaxy Nexus using xda premium

lithid-cm said:
You may have used the xda search but did you Google it? First result from " change imei number android emulator" .
[/url]
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
thx but this isnt what i wanted
dont get me wrong i know exactly how to change my imei BUT
for my process i need to get it generated automatically and everytime a other number.
ty

mustyxp said:
thx but this isnt what i wanted
dont get me wrong i know exactly how to change my imei BUT
for my process i need to get it generated automatically and everytime a other number.
ty
Click to expand...
Click to collapse
Well if you read and understand then, you know you have to edit the emulator binary. Another option would be to compile the emulator from source using a simple random.random generator replacing the string your looking to change.
Sent from my Galaxy Nexus using xda premium

Related

[NEED GUIDE] Resizing .apks

Hey guys, the title says it all. I did a google search but came up with a lot of unanswered xda threads. Does anybdoy know? If they do, could they post a guide? It would help a lot of people!
Bump, anyone?
This may or may not do the trick...I can't try because my Ubuntu is messed up! Here you go...http://forum.xda-developers.com/showthread.php?t=1491689
I'm working on installing it on my Windows PC.
Yes indeed, my tool is able to do resizing.
The point is I don't know what key to sign with xD
I will try and experiment tomorrow
Sent from my Galaxy Nexus using Tapatalk 2
Very cool I already have this tool and tried to resize but it gave me an error. mDroid, does it work on fedora?
THEindian said:
Very cool I already have this tool and tried to resize but it gave me an error. mDroid, does it work on fedora?
Click to expand...
Click to collapse
Wich error?
I'm not sure...
I can resize APKs for you, I just did one for invasion and that worked.
About fedora:
Open a terminal and type this (w/o quotes):
"python"
Tell me the output
"import gtk
import pygtk"
Give me the FULL output of your new-opened terminal.
Then try to launch the SAP file from my tool.
Sent from my Galaxy Nexus using Tapatalk 2

[Q]Android version identification

Hi everyone!
I hope someone here will have an asnwer for my question...
So , the question is, How can I know for sure, which Android version runs on my device, if I don't trust the information
provided in "build.prop" file.
Specifically, how can I be sure I have an ICS and not GB ?
Thank you in advance!
System settings > about phone
Sent from my SPH-D710 using Tapatalk 2
Furthermore if your running ICS for android version it should have a number ranging from 4-4.04.
Sent from my SCH-I535 using xda premium
Thanks, but both answers don't help in my case, as they do use the contents of "build.prop".
In my case, I don't trust "build.prop" , and hence looking for alternative ways to determine the Android version.
f_mulder said:
Thanks, but both answers don't help in my case, as they do use the contents of "build.prop".
In my case, I don't trust "build.prop" , and hence looking for alternative ways to determine the Android version.
Click to expand...
Click to collapse
What's your beef with build.prop? The only other way I know is to download a ROM of your choice, unzip it, Look in META-INF>com>android> and open up the metadata file and you should be able to see it in there. But, I suppose that could be fudged as well. Is someone launching some sort of Android conspiracy against you?
0dBu said:
What's your beef with build.prop? The only other way I know is to download a ROM of your choice, unzip it, Look in META-INF>com>android> and open up the metadata file and you should be able to see it in there. But, I suppose that could be fudged as well. Is someone launching some sort of Android conspiracy against you?
Click to expand...
Click to collapse
+1
Sent from my SPH-D710 using Tapatalk 2
If Google Chrome is available to you on the play store, you have ICS. If its not you have GB. Furthermore you could download an ICS only app and if it says there is an error parsing the package then you have GB
Sent from my DROID2 using xda premium
0dBu said:
What's your beef with build.prop? The only other way I know is to download a ROM of your choice, unzip it, Look in META-INF>com>android> and open up the metadata file and you should be able to see it in there. But, I suppose that could be fudged as well. Is someone launching some sort of Android conspiracy against you?
Click to expand...
Click to collapse
LOL .
OK I'll explain myself...
I have a chinese phone, which runs Android.
Manufacturer , releases new ROMs from time to time.
Last few ROMs, were "4.0.3", as it was written in "build.prop", but after installation,
I saw there is no Right to Left support, and for me , that is a sign, that the ROM isn't really 4.0.3,
as (AFAIK) 4.0.3 supports RTL out ofthe box...
Now, I still hope they will release real 4.0.X ROM some day, but till then, I don't want
to install every ROM they release. I want to identify whether ROM is 2.3.6 or 4.0.X before I Install it,
and not based on "build.prop".
So, I hope now you have full explanation, and will be able to help.
Thanks!
f_mulder said:
LOL .
OK I'll explain myself...
I have a chinese phone, which runs Android.
Manufacturer , releases new ROMs from time to time.
Last few ROMs, were "4.0.3", as it was written in "build.prop", but after installation,
I saw there is no Right to Left support, and for me , that is a sign, that the ROM isn't really 4.0.3,
as (AFAIK) 4.0.3 supports RTL out ofthe box...
Now, I still hope they will release real 4.0.X ROM some day, but till then, I don't want
to install every ROM they release. I want to identify whether ROM is 2.3.6 or 4.0.X before I Install it,
and not based on "build.prop".
So, I hope now you have full explanation, and will be able to help.
Thanks!
Click to expand...
Click to collapse
Yes I figured this
gagdude said:
If Google Chrome is available to you on the play store, you have ICS. If its not you have GB. Furthermore you could download an ICS only app and if it says there is an error parsing the package then you have GB
Sent from my DROID2 using xda premium
Click to expand...
Click to collapse
and here was my help you didn't notice. More apps include the Google now for ICS project, apex, nova, etc.
Sent from my DROID2 using xda premium
posible soluction
I thing that if you go to Settings/ about phone/ and in android version you do a lot of clicks you will force to saw a picture with the version of android loock this:
http://www.youtube.com/watch?v=o_PBIw7j4S4
werty100 said:
I thing that if you go to Settings/ about phone/ and in android version you do a lot of clicks you will force to saw a picture with the version of android loock this:
http://www.youtube.com/watch?v=o_PBIw7j4S4
Click to expand...
Click to collapse
But maybe he thinks that's been modified too?!!
Sent from my MB525 using xda app-developers app
werty100 said:
I thing that if you go to Settings/ about phone/ and in android version you do a lot of clicks you will force to saw a picture with the version of android loock this:
http://www.youtube.com/watch?v=o_PBIw7j4S4
Click to expand...
Click to collapse
Wow, that is really nice trick!
I wasn't aware of it. Thanks!
Though, the problem is to know ROM's Android version , before I install it on the device.
So it is not a solution to my problem...
Ah, and that phone has an iPhone look menus , so there is no way to perform that trick, unfortunately...
gagdude said:
If Google Chrome is available to you on the play store, you have ICS. If its not you have GB. Furthermore you could download an ICS only app and if it says there is an error parsing the package then you have GB
Click to expand...
Click to collapse
I did notice your post, thank you.
But the whole point of my question/problem , to identify the Android version on ROM,
without installing it to device.
Thanks!
f_mulder said:
I did notice your post, thank you.
But the whole point of my question/problem , to identify the Android version on ROM,
without installing it to device.
Thanks!
Click to expand...
Click to collapse
I can make app that will say if you are running ICS or JB or GB!
I'll send you it tomorrow!
It checks api level of the system.
If its 16=JB , 15= ICS, 11 or 12=GB
Sent from my MB525 using xda app-developers app
ppero196 said:
I can make app that will say if you are running ICS or JB or GB!
I'll send you it tomorrow!
It checks api level of the system.
If its 16=JB , 15= ICS, 11 or 12=GB
Sent from my MB525 using xda app-developers app
Click to expand...
Click to collapse
Can you please explain what should be checked ?
I mean what can I check in ROM (it is CWM installable ZIP file ) , in order to know
which Android version it has?
But again, I don't want to install it! I want to know that from inspecting the ROM itself!
Thanks!
f_mulder said:
Can you please explain what should be checked ?
I mean what can I check in ROM (it is CWM installable ZIP file ) , in order to know
which Android version it has?
But again, I don't want to install it! I want to know that from inspecting the ROM itself!
Thanks!
Click to expand...
Click to collapse
You can't check it....only apps can!
Sent from my MB525 using xda app-developers app
f_mulder said:
Can you please explain what should be checked ?
I mean what can I check in ROM (it is CWM installable ZIP file ) , in order to know
which Android version it has?
But again, I don't want to install it! I want to know that from inspecting the ROM itself!
Thanks!
Click to expand...
Click to collapse
Download the rom open it with 7zip and go to system-SW_configuration.xml
Open it with notepad++ and check the firmware.
The same thing you can do it with root explorer in your phone.
I don't believe he changed all the xml's just to make users believe is an ICS rom
To check for ICS:
Look at the file's /system/bin .
If it contains a binary called sh it's Gingerbread .
If it contains a binary called mksh then it's ICS .
Sent from a Samsung Galaxy Ace
CallMeVentus said:
To check for ICS:
Look at the file's /system/bin .
If it contains a binary called sh it's Gingerbread .
If it contains a binary called mksh then it's ICS .
Sent from a Samsung Galaxy Ace
Click to expand...
Click to collapse
On JB its also called mksh
Sent from my MB525 using xda app-developers app
CallMeVentus said:
To check for ICS:
Look at the file's /system/bin .
If it contains a binary called sh it's Gingerbread .
If it contains a binary called mksh then it's ICS .
Sent from a Samsung Galaxy Ace
Click to expand...
Click to collapse
As long as you live you learn
Thanks CallMeVentus!!!

[Q] editing the build.prop has no effect on Polaroid PMID4311

Hello, I have a few questions concerning the Polaroid PMID4311 (a cheapo 4.3 inch allwinner CPU device running 4.0 my little brother picked up). Fist off let me say I am no noob at android, and have had much experience modding my galaxy player. The problem is he wants to play some Gameloft games (nova 2, asphalt 6), but of course they give infamous "this device is not compatible request a refund" message. So no biggie, I just change the model in build.prop, right? Now here is the mystery; it doesn't make any difference what I change the model to - it still gives the error and still shows the original model under "about device" in system settings. I have done this countless times on other devices with no problem. I have checked the default.prop, and the boot image is insecure (ro.secure=0). The device came rooted. Any thoughts? Also, if anyone has this device, I seem to have lost my backup of the original build.prop, and would appreciate a copy. Thank you!
Sent from my YP-G1 running Nebula B1
Mh...
iJimaniac said:
Hello, I have a few questions concerning the Polaroid PMID4311 (a cheapo 4.3 inch allwinner CPU device running 4.0 my little brother picked up). Fist off let me say I am no noob at android, and have had much experience modding my galaxy player. The problem is he wants to play some Gameloft games (nova 2, asphalt 6), but of course they give infamous "this device is not compatible request a refund" message. So no biggie, I just change the model in build.prop, right? Now here is the mystery; it doesn't make any difference what I change the model to - it still gives the error and still shows the original model under "about device" in system settings. I have done this countless times on other devices with no problem. I have checked the default.prop, and the boot image is insecure (ro.secure=0). The device came rooted. Any thoughts? Also, if anyone has this device, I seem to have lost my backup of the original build.prop, and would appreciate a copy. Thank you!
Sent from my YP-G1 running Nebula B1
Click to expand...
Click to collapse
I got two things.. >>Random> We both have the same device :0
Ok.. Try compiling it on your computer once finished? That may help.
And I don't have a original my brother messes with my tablet.. I'm just starting to code in C++
jonahly said:
I got two things.. >>Random> We both have the same device :0
Ok.. Try compiling it on your computer once finished? That may help.
And I don't have a original my brother messes with my tablet.. I'm just starting to code in C++
Click to expand...
Click to collapse
Hey, thanks for the reply! I'm not sure I understand what you want me to compile?
And if you're just starting to code in c++, you're 1-up on me
Sent from my YP-G1 running Nebula B1
l
iJimaniac said:
Hey, thanks for the reply! I'm not sure I understand what you want me to compile?
And if you're just starting to code in c++, you're 1-up on me
Sent from my YP-G1 running Nebula B1
Click to expand...
Click to collapse
Try compiling the Build.prop once edited (Edit, Save, Compile.) If that doesn't work google.
jonahly said:
Try compiling the Build.prop once edited (Edit, Save, Compile.) If that doesn't work google.
Click to expand...
Click to collapse
I have never heard of compiling build.prop before, what do you use to compile it?
Sent from my YP-G1 running Nebula B1
Don't worry about 'compiling" use a usb - edit on computer save it. Put it back where it goes I wasn't good at it earlier.. But I got it figured out.. please give me a thanks
Sent from my PMID4311 using xda premium
jonahly said:
Don't worry about 'compiling" use a usb - edit on computer save it. Put it back where it goes I wasn't good at it earlier.. But I got it figured out.. please give me a thanks
Sent from my PMID4311 using xda premium
Click to expand...
Click to collapse
Well, I have edited it, and I do know what I am doing, but there is no effect. I'll give you a thanks just because I like making people happy.
Sent from my YP-G1 running Nebula B1
What OS are you using? If you use windows it won't work.. Try getting Gedit on your computer.
Sent from my PMID4311 using xda premium
jonahly said:
What OS are you using? If you use windows it won't work.. Try getting Gedit on your computer.
Sent from my PMID4311 using xda premium
Click to expand...
Click to collapse
I use notepad++ on windows, but have also edited it on the device using root explorer. I know this isn't the issue since certain properties will work if I change them (example: I can change the firmware version from 4.0.4 to 4.1.2).
Sent from my YP-G1 running Nebula B1
Ok, get root explorer plus, using web. Edit build.prop with text editor. Delete backup. Turn off tablet. Turn back on. Done!
Sent from my PMID4311 using xda premium
jonahly said:
Ok, get root explorer plus, using web. Edit build.prop with text editor. Delete backup. Turn off tablet. Turn back on. Done!
Sent from my PMID4311 using xda premium
Click to expand...
Click to collapse
Dude, I'm not an idiot! I have been telling you I have already done this multiple times. I know perfectly well how to edit a build.prop, but what I am saying it's it seems to have no effect on this device for some reason. I really don't need to figure it out anymore since I just edited the apks to remove the compatibly check.
Sent from my YP-G1 running Nebula B1
Sorry was more stupid back then get root explorer and edit it once you have done so reboot. If that doesn't work maybe what you are trying to do on there doesn't work look at the experience in my eyes
Sent from my PMID4311 using xda premium
I just want to get this out of the way.. Install superuser then edit the build.Prop
Should work.
Sent from my SGH-I997 using xda app-developers app

Stop an app requesting update

Hi all, is there a way to stop an app requesting an update and continue with the current one installed?
Basically I have an app, today when I tried to open it, it told me it can't open and that I must upgrade to the latest version to open, but I don't want to do that.
Is there a way to mod the app/apk to allow current use going forward?
Lucky pathcher or anything like that.
All I am looking for is to continue with using the app build I currently have, without updating, and still have the app/apk work.
---
smash'n
SGS2 GT-I9100
Bump!
I really need advice (if there's any to give).
---
smash'n
SGS2 GT-I9100
select the app , go to setting , select the app , and untick show notifications . Hope I Helped And All the best !
flasherruts said:
select the app , go to setting , select the app , and untick show notifications . Hope I Helped And All the best !
Click to expand...
Click to collapse
I think that's not what he meant. OP, mean you can't use the app anymore without a mandatory update right? Would like to know if that's possible too..
In titanium backup you can 'unlink' the app from the market.....
I've never used the function, but it *sounds* like it's what you're after....
Edit.......
Read this article......
http://www.guidingtech.com/16288/unlink-wrongly-linked-android-apps-play-store/
Sent from my GT-I9100 using xda app-developers app
you could try to disable its internet permission, using some apps or some custom rom that has this feature (custom Jellybean 4.2.2 AOSP, ecc...): it will not be able to communicate externally.
Other way is: editing smali code in the app itself, however you should know how to unpack it (apk multitool) and searching for the string that says "update your version to continue" and know a bit of code editing. I succeeded myself in doing some small changes to apps this way but it takes time and it might be not worth it.
nopainwithme said:
Other way is: editing smali code in the app itself, however you should know how to unpack it (apk multitool) and searching for the string that says "update your version to continue" and know a bit of code editing. I succeeded myself in doing some small changes to apps this way but it takes time and it might be not worth it.
Click to expand...
Click to collapse
Hello!! Is there a user guide or beginners guide to direct me? Or could you possibly advise me, what I nees to do, steo by step and what I'd be looking for in the code?
Please let me know.
---
smash'n
SGS2 GT-I9100

Please help!

Okay so i have cloned, a github from a rom developer for my phone. (this one https://github.com/Seraph08/device_oneplus_oneplus2/tree/cm-13.0 "
i have downloaded it on my linux, and have all the folders, the part i don't get is, how do i build it? Because i don't have to edit anything, it's already compiled for my phone. But i just don't get how to build it, so i get the files i need to zip!
theonlykamph said:
Okay so i have cloned, a github from a rom developer for my phone. (this one https://github.com/Seraph08/device_oneplus_oneplus2/tree/cm-13.0 "
i have downloaded it on my linux, and have all the folders, the part i don't get is, how do i build it? Because i don't have to edit anything, it's already compiled for my phone. But i just don't get how to build it, so i get the files i need to zip!
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=54118606
Sent from my HUAWEI G525-U00 using XDA-Developers mobile app
smart-t78 said:
http://forum.xda-developers.com/showthread.php?p=54118606
Sent from my HUAWEI G525-U00 using XDA-Developers mobile app
Click to expand...
Click to collapse
Listen, i'm not trying to port a rom, i simply cloned a working source code for my rom, but when i try to run the build commands like "launch" "Breakfast" ". build/envsetup.sh" nothing works...

Categories

Resources