am start com.redbend.vdmc/com.htc.omadm.test.TestMainActivity lawmo lock - unlock

i have an sprint htc one and i am using a tmobile sim card and everything has
been working fine, untill i went into the developer menu by typing in terminal
am start com.redbend.vdmc/com.htc.omadm.test.TestMainActivity which brings up the i
secret menu, i choose api then when i was scrolling through the menu i accidently selected
lawmo lock 1234, now no matter what i do i cant get past this screen that asked for a lock code which i dont have, ive wiped and reinstalled the rom and even ruu ed stock rom nothing gets past this screen, except if i install a aosp rom, but i need a sense rom to be able to
search for gsm networks since its a cdma phone. can anyone help

Delete omadm apk from twrp, im unable to remove the lock, just bypassed it
Install htc dumlock, open file browser-system-app-delete htc omadm.....lock will be bypassed in 4.1.2, if 4.3, delete lockscreen apk too

Related

How can I get live console output when device is connected to another hardware device?

So I'm trying to make an application using the DJI SDK. In order for my app to function properly, my iDevice needs to be hooked up to the remote controller of the drone via USB.
This means I can't also run the app via xcode and get console output.
Is there a way of saving console output when using an app on your phone? I am aware of the crash logs, but sadly they don't provide enough info to be useful to me.
This problem started when I got a runtime error only when the device was connected to the remote controller. Therefore there was no way of isolating the problem since I couldn't tell what went wrong.
Another solution would maybe be a 1 female to 2 male usb chord, but I haven't found one online yet and even if I did I don't know if that would work.
Is there a standard way of debugging when using hardware that needs to be connected to the device?
from Xcode, hit window on the tool bar at the top, then Devices. Select the device you want to read the log from. However, this is the log for the entire phone, and you have to be plugged into the mac... so you'll have to run your tests, unplug from the DJI, plug into the mac, go to devices, and scroll through the log until you find the output from your app, and you won't be able to see real time expected outcome.
It's not ideal, but that's the only way I know of to see the apart from building an entire console log into your app yourself.

iOS 8.1.3 - Enterprise distribution not working

we have a few apps that we install on our devices using an Enterprise distribution profile. To install an app, we use the usual itms-services link:
itms-services://?action=download-manifest&url=...
We use the same link to install updates to the apps.
Ever since this latest iOS update (8.1.3) something strange is happening with the link. On some devices, and only for one or two of the apps, the link does absolutely nothing. It pops up the dialog with Install or Cancel, but when the user presses Install nothing happens. The app's icon doesn't get the loading overlay, nothing. To make matters worse, all the apps on all the devices have been installed the exact same way, yet it only happens to some apps on some devices. An app that installs fine on one device will have this problem on another.
On one of the devices that are having this problem, I even tried uninstalling the app, and then running the link again, but still nothing happens. In fact, now I can't install the app at all on that device, since nothing happens when the link is clicked!
Things I've tried:
Restarting the device
Removing all profiles from the device
Does anyone know what's going on, and how to fix it?
Ok, so I found a hacky way around this bug. If I change the bundle ID in the manifest file to something different, such as adding "-ios8fix" or something to the end, then it'll install. It doesn't look as nice, since during the installation there's a second app icon on the screen. But once the installation is finished, the second icon disappears.
One benefit of doing it this way though, is that if the installation fails the user can still use the old version of the app, since there'll temporarily be 2 icons, one for the old version, and one for the update...

Debugging Corona SDK application on device

I am working with Corona SDK for some time, and i really like it, but there is one thing, that i cant figure out: How to debug my code on a real device?
At the point, when my code runs great in the simulator, i usually compile it, and try it on the phone. But when there is some error, that doesn't bother the simulator, but pisses the phone off, i simply see an error message:
"This application encountered a Lua error (see logs) etc."
Me and my boss spent a whole day figuring out, that i made a require with a capital instead of lower case.
My question is: How to actually "see" that log? I tried to connect my device to DDMS, but i saw no relevant output. Is there a way to access that log (I'm testing on an android device)? Or is there a way to simulate the EXACT behavior of the phone in the simulator? Usually the phone freaks out because of i/o operations, and when using the wrong case.
The best way to debug on iOS devices is to use XCode's Organizer with your device plugged in via the USB port. On the left hand panel of Organizer, there will be a block for each device that XCode knows about. You may have to click on a button "Use device for debugging" or something similar so XCode can gather all the information it needs.
Once done, then you can use XCode to install the app to the device (you don't need to make an .ipa file, just copy the app to the device via Organizer). In that panel on the left, there is a link for "Console Log", click that and you can your print statements and other errors issued by Corona SDK.
Rob
If you don't have Xcode, you can try iPhone configuration utility. It is more light-weight than the xcode plus you can also use it on a windows machine.

Connecting iPad to Mac Mini for Xcode development

I can't seem to get any recognition between the iPad and the Mac Mini. I'm using the white USB cable that came with the iPad to connect them. Tried rebooting ad nauseum. It's like two inert bodies, no indication on either side that the two are connected. No lights, sounds or animations. All the tutorials say is just connect them, and don't mention about what to do if this elementary step fails. I saw some similar questions on other forums, but distressingly, they go unanswered. Any help would be appreciated! Yimin
In Xcode, you need to go to Organizer Shift+Command+2. On the left sidebar, choose the iPad you want to use for development, for example:
Alternatively, you can try and kill iTunes Helper in from Activity Monitor and then relaunch iTunes.
If all else fails, try another USB port or try another USB cable.
The device needs to be set up in iTunes first. This step is appears to be omitted from many tutorials or perhaps it is a new feature and the tutorials are out of date.
In any case, it would be helpful if there were some kind of visual confirmation when a new device is connected and maybe a suggestion on what to do next.
On the other hand, setting up the provisioning profile in Xcode seems to be greatly simplified now. No need to copy the ID, run the key generator, etc.

iphone goes in to infinity respring loop after uninstalling tweak

I wrote a tweak called Dual Time, it displays second clock on the lock screen.
Everything works fine, but on one phone (iPhone 4) after uninstalling tweak something goes wrong and the phone goes into infinity respring loop. After hard reset, phone booted, but the Cydia icon disappeared and some applications could not be open. The owner of the phone had to burn the battery down to zero, and after that he was able to put his phone in DFU and restore firmware. On my 3GS I were unable to reproduce the bug, after re-installation and uninstallation tweak on the same iPhone 4 bug also wasn't appeared. Is anybody know why is that happened? Is something wrong with my tweak?
Tweek is located at http://appstudio.org/apt
I have also faced this problem and i have solved it using these steps:
put your device in recovery (not dfu) and wait for a while. After that press both the power and home button until the phone is turned off then release the power button and wait for a few seconds.
you must make build custom ipsw signed with your saved shsh (you can search for that on google) then the program will ask you to put your device into the pwned dfu.
run tiny umbrella and start server to avoid the problem (3194 ..etc
now run itunes and recover your iphone with the signed ipsw (not the original ipsw )

Resources