BUG REPORTING:
This program was initially ineteded to generate a unique IMEI based on your device S/N and update Dev's install zip files... it has become so much more, and as such there are many functions involved in this process.
Due to the complexity the program has taken on... far beyond what I initially intended... to report bugs please try to use the following as a template:
Function attempting: i.e. Updating ROM... In Place Upgrade... Update framework saved on computer... etc.
Error Messages: any error message you receive... or the last message you saw prior to the issue.
End result: i.e. TelephonyManager updated, ROM not... TelephonyManager updated framework.jar not... etc....
Environment: ROM in same folder as !IMEIme.exe... ROM on same drive as IMEIme.exe... ROM on different drive... etc. (same for framework if updating framework instead)
!IMEIme.ini settings: you can put your entire ini file if you'd like.
If you could take notes of EXACTLY what buttons you click on which prompt it would be EXTREMELY helpful...
As I said, this program has taken on functions I initially had not imagined including... the more features added, the more complex testing and tracking bugs becomes... I don't want to include a bunch of messages just for the sake of letting you know where in the code you are... would not be beneficial to you... more buttons to click for no reason, etc.
The more detailed you can be, the quicker I can see what is happening... otherwise I have to try to duplicate what I think you are doing when you get the error.
Everyone should click "Thanks" on bug report posts... they have been instrumental in getting the program where it is so far.
RESERVED...
Adverse effects after running
First off, thanks for a wonderful application! Your app did in fact correctly give my Kindle a IDEI number, but it seems to have adverse effects.
Function attempting: Tried both in place Rom and update device and now attempting to use app with sound
Error Messages: Unfortunately DSP Manager has stopped (repeatably on any app)
End result: No sound and music apps crash. Some apps work but many do not. (I can provide logcat if needed)
Environment: Kindle Fire running cm9 using Hashcodes 3.0 Kernal latest (11) update.
!IMEIme.ini settings:
Use_In_Place = 0
Use_Previous_Patch = 0
Use_Serial_Number = 0
Use_MAC_Address = 0
Use_Manual_Input = 1
Encrypt_IMEI = 0
Use_IMEI(15) = 0
Use_ADB = 1
Use_ADB(usb) = 1
Use_ADB(WiFi) = 0
Clean_Up = 1
Include_Patch = 1
Device_Manufacturer = TI
Manufacturer_Device = Blaze
Device_Model = Full Android on Blaze or SDP
Build_Fingerprint = google/passion/passion:2.3.6/GRK39F/189904:user/release-keys
LCD_Density =
WiFi_IP_Address =
IMEI = 00127948612384612
Although I have tried multiple settings and configurations. I am sort of a noob so sorry if this is a silly problem.
Having looked into this... I can tell you there's nothing that the IMEI Generator does that would cause the issues you are seeing. I would recommend flashing a non-IMEI'd ROM for testing... then either do in place IMEI generation or running the IMEI Generator against the same ROM you flash.
For what you are doing... there are 2 files that are being modified, and neither should cause FC issues...
/sysem/build.prop for the manufacture, device, and build fingerprint
/system/framework/framework.jar is being extracted and edited to patch the IMEI in the GetDeviceID() function in android/telephony/TelephonyManager.smali and recompiled.
Clearing cache and dalvik cache may be something to try.
Thanks! Clearing both caches AFTER the install made it work great. I had been clearing all of the memory beforehand but it did not work. My apps now work great!
Motorola Razr GSM (SPDREM_U_01.6.7.2-180_SPU-19-TA-11.6_SIGNEuropeAustraliaEMEA_USASPDRICSRTGB_HWp2b_Service1FF) ICS.
I deodexed framework.jar because application seems to not work on odex files (as stock is), anyway new deodexed framework have not /com/android/internal/telephony/gsm/GSMPhone.smali file?! (or dir!!) infact !IMEIme 2.2.0.2 tell me about this issue (no GSMPhone.smali found). framework patched do not present diffecence between original one. exactly the same. no /android/telephony/TelephonyManager.smali mod applied.
I tryied to patch framework by "update device" + adb usb, with no device connected i choosed my framework.jar in my pc.
[Settings]
Use_In_Place = 1
Use_Previous_Patch = 0
Use_Serial_Number = 1
Use_MAC_Address = 0
Use_Manual_Input = 1
Encrypt_IMEI = 0
New_Type = 1
Use_IMEI(15) = 0
Use_ADB = 1
Use_ADB(usb) = 1
Use_ADB(WiFi) = 0
Clean_Up = 1
Include_Patch = 0
Device_Manufacturer =
Manufacturer_Device =
Device_Model =
Build_Fingerprint =
LCD_Density =
WiFi_IP_Address =
IMEI = 02546451548481584
stock framework.odex, jar and my deodexed framework attached.
Yes... due to another user trying to use the generator on a device with a framework.odex file instead of framework.jar I am looking into the most effective method of handling that situation. As of now... the generator will not work for you to patch imei functionality into the framework on these devices.
i deodexed also framework.jar but no way to patch it, GSMPhone.smali is missing totally even in backsmalied odex too!!!!
I decided to apply the patch manually, but without this file and TelephonyManager.smali not regoular i was thinking about hard mod by motorola?! do you know something about?
Pls man, give me an hand, show me the way, backsmali it you too http://forum.xda-developers.com/attachment.php?attachmentid=1634550&d=1357865096
I'm looking into the method to implement the imei into this.
do you mean into TelephonyManager.smali? I'm looking on it too. Seems so strange this framework...
Actually... looking through to find the best call to implement the patch into... TelephonyManager was the original method... but there may be better places to patch it.
Code:
invoke-direct {p0}, Landroid/telephony/TelephonyManager;->getSubscriberInfo()Lcom/android/internal/telephony/IPhoneSubInfo;
move-result-object v2
invoke-interface {v2}, Lcom/android/internal/telephony/IPhoneSubInfo;->getDeviceId()Ljava/lang/String;
All does make sense now:
http://grepcode.com/file/repository...nternal/telephony/IPhoneSubInfo.java?av=f#174
BUT, where is com.android.internal.telephony.iphonesubinfo!?!?! seems not present... all "internal" dir is missing here, backsmali fault or my fault?!
hiiii
hi,
any news of this? =)
This is the best software for this!
I'm working on the best solution... I understand the desire for this... but I want to ensure the method I choose is the best overall... and to ensure I can properly detect which method to implement during the operation.
If you could zip your entire /system/framework folder and add your /system/build.prop file it would help me test some things I've been putting together for odexed systems.
attaching files
DizzyDen said:
If you could zip your entire /system/framework folder and add your /system/build.prop file it would help me test some things I've been putting together for odexed systems.
Click to expand...
Click to collapse
Hi, Im attaching my files.
You can download here: w w w . 4 s h a r e d . c o m / z i p / j Q n n 9 8 _ B / s y s t e m . h t m l
Thanks for the help
Error ...
Hi Dizzy
I tried to use your update, but have a error ... My device is Motorola Razr XT910 with 4.0.4
after I choose the "framework.jar" he return this error:
Line 3710 (File: ".....\IMEI\!IMEIme.exe");
Error: Variable used without being declared.
After this the program close without any click to exit ..
Im, attaching a print screen
Tnx a lot man
waldirsp11 said:
Hi Dizzy
I tried to use your update, but have a error ... My device is Motorola Razr XT910 with 4.0.4
after I choose the "framework.jar" he return this error:
Line 3710 (File: ".....\IMEI\!IMEIme.exe");
Error: Variable used without being declared.
After this the program close without any click to exit ..
Im, attaching a print screen
Tnx a lot man
Click to expand...
Click to collapse
fixed... I guess nobody has been using the "Use Previous Fix" option for a while. New version uploaded... thank you for the bug report. The screen shots really helped track it down.
another error...
Hi DizzyDen,
I want to add an IMEI to my "SUPERPAD 6", but after the window: "IMEI is..." is displayed, then popup an autoit error window:
Line 3710 (File "..."): Error: Variable used without being declared.
Can you help?
Ponozka said:
Hi DizzyDen,
I want to add an IMEI to my "SUPERPAD 6", but after the window: "IMEI is..." is displayed, then popup an autoit error window:
Line 3710 (File "..."): Error: Variable used without being declared.
Can you help?
Click to expand...
Click to collapse
Before I start looking into this... note that the IMEI generator does not support de-odexing odexed systems yet... I would suggest using it on the ROM then flashing it to the device and let the device odex it again.
Please help me,
SYNTAX ERROR!!! aroma-config on line 8 col 1
aroma-config here:
pastebin.com/amQuVCWj
Click to expand...
Click to collapse
Try my method on aroma post and report and
http://forum.xda-developers.com/showthread.php?t=1770284
This is aroma support thread port there not here lil
Sent from my HTC Sensation Z710e using Tapatalk 2
please help me
Harbir said:
Try my method on aroma post and report and
http://forum.xda-developers.com/showthread.php?t=1770284
This is aroma support thread port there not here lil
Sent from my HTC Sensation Z710e using Tapatalk 2
Click to expand...
Click to collapse
Thanks & other problem :
Here in last line error ? why ?
################################INSTALL#################################
if prop("ch.prop","selected.1")== "1"
then
install(
"Walkman Xperia™ Installation",
getvar("rom_name") + "\n" +
"Please wait while installation completes" +
"",
"icons/install"
);
checkviewbox(
#-- Title
"Installation Completed",
#-- Text
"<#selectbg_g><b>Congratulations...</b></#>\n\n"+
"<b>"+ini_get("rom_name")+"</b> has been installed into your device.\n\n",
#-- Icon
"@welcome",
#-- Checkbox Text
"Reboot your device now.",
#-- Initial Checkbox value ( 0=unchecked, 1=checked ) - (Optional, default:0)
"1",
#-- Save checked value in variable "reboot_it" (Optional)
"reboot_it"
);
endif;
###
#
# Check if reboot checkbox was checked
if
getvar("reboot_it")=="1"
then
reboot("onfinish");
endif;
What is the error so I can look into
Sent from my HTC Sensation using Tapatalk 2
Harbir said:
What is the error so I can look into
Sent from my HTC Sensation using Tapatalk 2
Click to expand...
Click to collapse
(status 0) - line 257 col 7 :
257 : endif;
MicQo said:
(status 0) - line 257 col 7 :
257 : endif;
Click to expand...
Click to collapse
Try to delete end if whole line and make it again as it some time worked with me ...
Sent from my HTC Sensation using Tapatalk 2
please help me
Harbir said:
Try to delete end if whole line and make it again as it some time worked with me ...
Sent from my HTC Sensation using Tapatalk 2
Click to expand...
Click to collapse
Without endif Error in 277 col 17
with endif error in 280 line 7
sorry wrong post
Hello guys!
Today I gave a shoot to build cm7 from sources for my device (huawei u8800pro, also known as ideos x5 pro)
I followed this guide here http://androidpi.wikia.com/wiki/CM7_Compilation , of course making the appropriate changes !
Device tree used is this: https://github.com/moihack/android_device_huawei_u8800pro
When I do . build/envsetup.sh I get only:
including device/motorola/jordan-common/vendorsetup.sh
including vendor/cyanogen/vendorsetup.sh
So nothing specific to my device...
I also got this file : https://github.com/moihack/android_device_huawei_u8800pro/blob/master/device_u8800pro.mk
renamed it to cyanogen_u8800pro.mk and placed it (folder with files synced)/vendor/cyanogen/products
when doing . build/envsetup.sh I get the same results
after trying lunch cyanogen_u8800pro-eng I get:
Code:
build/core/product_config.mk:205: *** No matches for product "cyanogen_u8800pro". Stop.
Device u8800pro not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
^CTraceback (most recent call last):
File "build/tools/roomservice.py", line 44, in <module>
result = json.loads(urllib2.urlopen(githubreq).read())
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 400, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 418, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1215, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1180, in do_open
r = h.getresponse(buffering=True)
File "/usr/lib/python2.7/httplib.py", line 1030, in getresponse
response.begin()
File "/usr/lib/python2.7/httplib.py", line 407, in begin
version, status, reason = self._read_status()
File "/usr/lib/python2.7/httplib.py", line 365, in _read_status
line = self.fp.readline()
File "/usr/lib/python2.7/socket.py", line 447, in readline
data = self._sock.recv(self._rbufsize)
File "/usr/lib/python2.7/ssl.py", line 241, in recv
return self.read(buflen)
File "/usr/lib/python2.7/ssl.py", line 160, in read
return self._sslobj.read(len)
KeyboardInterrupt
build/core/product_config.mk:205: *** No matches for product "cyanogen_u8800pro". Stop.
** Don't have a product spec for: 'cyanogen_u8800pro'
** Do you have the right repo manifest?
Other guides I followed are: http://forum.xda-developers.com/showthread.php?t=2016001
I also found this guide: http://forum.xda-developers.com/showthread.php?p=10635918
Everywhere is listed to get some files from my device running cm7 already
Is this really necessary?
Isn't it possible to build cm7 from source without using the phone at all (only for flashing the rom for testing) ???
If you know how you can help me solve my issue please answer !
Thanks in advance
P.S. All of this is done at an (X)Ubuntu 12.04 64bit
Hey everyone,
I'm having trouble disabling DAA and SLA protection on my Vivo Y33S (V2109), i'm using the mtk bypass utility, but when i execute the command python main.py,i get this error:
[2023-06-16 15:12:41.356299] Waiting for device
[2023-06-16 15:12:41.362994] Found device = 0e8d:201c
Traceback (most recent call last):
File "C:\Users\Lucec\OneDrive\Desktop\bypass_utility\main.py", line 237, in <module>
main()
File "C:\Users\Lucec\OneDrive\Desktop\bypass_utility\main.py", line 40, in main
device = Device().find()
File "C:\Users\Lucec\OneDrive\Desktop\bypass_utility\src\device.py", line 109, in find
self.ep_in = usb.util.find_descriptor(cdc_if, custom_match=lambda x: usb.util.endpoint_direction(x.bEndpointAddress) == usb.util.ENDPOINT_IN)
File "C:\Users\Lucec\AppData\Roaming\Python\Python310\site-packages\usb\util.py", line 192, in find_descriptor
return _interop._next(desc_iter(**args))
File "C:\Users\Lucec\AppData\Roaming\Python\Python310\site-packages\usb\_interop.py", line 68, in _next
return next(iter)
File "C:\Users\Lucec\AppData\Roaming\Python\Python310\site-packages\usb\util.py", line 183, in desc_iter
for d in desc:
TypeError: 'NoneType' object is not iterable
I have the correct drivers installed and i have checked that USB Debugging is enabled, If any body knows how to fix this error, i would very much appreciate it!