Serial Communication Commands - MDA III, XDA III, PDA2k, 9090 General

Hi people
Im in the process of developing an application that can flash the Blueangel. Its going to be able to flash 16 units, at the same time asynchroniously. I have opened a connection to the device, in serial mode, and streaming the outputs of the device into a buffer.
What i really need now, is some commands i can send to the unit, that can give me info, such as ROM version, hardware versions, model etc etc.
Hope someone can help me with that.

I guess this might be to an advanced topic for this forum. If someone could kindly guide me to a community, where i might have better chances of getting answers, i would be glad.
Thanks in advance.

Related

Short success story after all - useful reading esp. before flasing your ROM

Motto: There is always hope.
Let me share with you, other xda forum members, the following story - I think it might be useful for some of those who already got problems with the upgrade procedures, and especially for those who just now contemplate to try their luck and launch the upgrade (to whatever WM version or AKU).
After successfully going through the reflashing procedure several times on my O2 XDA Exec precciousssss gadget (flashing Helmi_c 1.1 Crossbow, then JWright 06 and later JWright 08) I was confident enough (overconfident, perhaps?) to go on and reflash also my wife's i-Mate Jasjar (there were some issues all the same and I was recently thinking of restoring the factory defaults through the hard-reset).
JWright's ROM offers a very simple, almost luxurious, way to upgrade - basically the same as any of the official ROMs - just click the .exe file and pray. And there is the hitch - it says somewhere you need a 1.01 version of the Bootloader but I didn't know how to find out the version of the bootloader present on the unit in question without launching the bootloader itself through the "bulb - switch-on - reset" combination; and I admit (yes, the effect of over confidentiality, indeed) I was somehow too lazy to go and check (by the way, is there a way to find out what bootloader version you have other than the way mentioned above?). Somehow, perhaps, I thought the upgrade would indicate the bootloader mismatch prior to the system reflashing or what. And after all, the JasJar unit was purchased at almost the same time as my XDA Exec and there I knew I got a 2.0.1 bootloader version, so why to bother - silly me!
OK, here we go.
Flashing > "success" > unit "bricked" (no LED lights, USB unit not recognized by the PC, no signs of life of the poor thing not able to do anything but to accuse me by its doomy pathetic black screen of mishandling, asking me at the same time WHY have you done THIS to ME?) > moment of unpleasant, uneasy feelings comparable only to those created by a dozen of hamsters running their wheels in your stomach.
Now the good part of the novel:
Even before flashing my Exec for the first time, I diligently spent (a lot of) time reading all the relevant forum posts, downloaded emergency tools and was therefore prepared for the fact, that something might go terribly wrong.
Million thanks to all those who contributed to this forum sharing your knowledge and know-how, because based on your shared experience I was able to discover myself at the moment of utmost horror what the problem was (yes, in my case it was the bootloader issue - the JasJar got some 0.6 version of it - ever heard of it? I was considering the mtty Midget_1990's or the Mamaich's solution first, but then I recognized the boatloader's trickery and the right way to solve the crisis was in my case just to upgrade the bootloader through the known and somewhere here at this forum very well described ROMUpgradeUt bootloader procedure; to make the long story short, without the appropriate version of bootloader the unit will not boot, that's it).
Now the JasJar is fully recovered, happily running the WM6 Crosbow ROM, exactly as its O2 Xda Exec brother.
Lesson learnt
I strongly suggest that everybody does their homework in reading all relevant forum threads before venturing anywhere futher. It is only natural that after bricking the 1000 USD toy, most people will have problems to concentrate on anything of a substance and chances are, that instead of fixing the problem, you may mess everything up even more and end up in a deeper and hotter circle of hell without any return ticket.
And it needn't be like this, it is possible to avoid it!
I don't want to give anybody any false feeling of security and comfort due to my particular happy-end case. Every unit is perhaps slightly different, conditions are different (cable, PC OS...) etc, but most of the problems seem to have their solutions and by diligent reading of the relevant Xda forum posts, the chances of getting over the troubles through the shared know-how are high.
So stay cool and happy flashing.
Very wisely said Bonasa. Appreciate all your experience undergone. In fact this is the wise way to upgrade by reading more and keeping tools handy.
nice one Bonasa. I spent almost half of 2006 reading stuffs here in xda before I had the guts to use any of the ROMS here 2 weeks back. To those attempting to flash the first time, Bonasa said it all
Excellent post Bonasa. This gives a lot of information to first time upgraders. Your experience will surely help others in similar situation.
ok now im scared... i just bought my i-mate jamin yesterday and i really want to upgrade my wm5 to wm6... its just an oppsession to always have the newest things i guess... but im scared to screw up at some point and make my new device life-less
did anyone try to upgrade his i-mate JAMin with Helmi_c 1.1 Crossbow before ? btw what's crossbow ? :S
and how can i avoid this " bootloader " issue discussed by Bonsaa?
plz help...
Last week I made my first upgrade. I took the chance with the new Jwrightmcps ROM.
As you said, it's VERY important, I would say MANDATORY to read most of the threads in the forum.
My forum Join Date is 30-10-2006. Only after 3 months I made the first upgrade.
It's very nice to get a new ROM but we must be patience before doing it.
Last point:Before the upgrade I also got the "unbrick" tools , just in case...
And I had a stupid problem: stuck on bootloader: REASON, I didn't use the original cable during the first upgrade attempt.
Read before you try anything!
Cheers

[Q] Help Root 2.37.861.8

Hi , i'm just bought a new HTC Desire HD to exchange for my old Iphone.
At first the performance and speed was good. but after I downloaded and used ADW instead of the stock theme,i also put for the Apps drawer at 4D so it look really good. Unfortunately, when i went through all my apps, it's really slow and lag (u can imaging as when u play an online game with slow INTERNET).
So I wanted to root it however i was going through all the threads in the HtC Desire hd forum and couldn't find any guide about rooting the 2.37.861.8.
Please let's me know if it can be rooted or not? and if it possible can u give me the link with detail how to root it and install Rom.
I'm a newbie so i'm sorry if my question annoy anyone.i'm learning right now
This is my phone information :
My Phone is branded by 3 in Australia
Android version
2.3.3
Htc Sense version
2.1
Baseband
12.54.60.25U_26.09.04.11_ M 2
Kernel version
2.6.35.10
htc-kernel and18-2 #1
Build number
2.37.861.8
Software number
2.37.861.8
Browser version
Webkit /533.1
Thanks guys
If you would have bothered to use the search funtion you would have found several threads, including this one.
http://forum.xda-developers.com/showthread.php?t=1152233&page=7
Lucky guy
Bought brand new with 2.37, instead of higher.
Enjoy your new dhd
I did use the search function and also came across this thread but the Poster Said that : Please note that this method works for devices up to 2.37.762.2 ONLY!
And my software is 2.37.861.8
And as i mentioned i'm new so i dont know does this method also applicable on my phone.
JSLEnterprises said:
If you would have bothered to use the search funtion you would have found several threads, including this one.
http://forum.xda-developers.com/showthread.php?t=1152233&page=7
Click to expand...
Click to collapse
they tell you to put Q's in the Q&A forum.. then you do it, and you get **** for it. this isnt simple for everyone and there are different intricacies to all the firmware. if you dont want to answer a legit question, dont. but its amazing how smug this place is sometimes. give the guy a break, he just got the phone.
Try
Dont worry. Just try out the guides
http://forum.xda-developers.com/showthread.php?t=905003
or
http://forum.xda-developers.com/showthread.php?t=1152233
it might work for you. If you really wanna root just go for it and post your results for other users benefit. If you can wait then wait till your version comes under the umbrella.
Cheers
Enjoy your new DHD
thanks for all the reply guys, really helpfull
i think i better wait until it come under umbrella since i'm not understand this Root things clearly.
SQ3.0dotJP said:
they tell you to put Q's in the Q&A forum.. then you do it, and you get **** for it. this isnt simple for everyone and there are different intricacies to all the firmware. if you dont want to answer a legit question, dont. but its amazing how smug this place is sometimes. give the guy a break, he just got the phone.
Click to expand...
Click to collapse
I wasn’t giving ****. I was simply stating that proper use of the search function (with multiple stickies in each sub forum, and agreements when you sign up stating to use it prior to posting) should be followed.
When I was green and first got my android device, I searched and searched and read anything and everything relevant before making any post. Too many people on these and other forums are lazy and don’t put in the time to really learn about their devices before beginning to mess with them. At least half of the people in here shouldn’t even be rooting their phones as they're technically inept from being able to recover from a blunder.
I've read so many posts which shouldn’t even exist if diligent information gathering and processing was actually executed, polluting the forums so much that finding a piece of useful information by simply browsing through all the bullarky, is next to impossible. I personally instead now strictly use the search function when looking for information that I may require.
Also, on page 3 or 4 of that thread, even though the op says "to 2.37.762.2 ONLY" there's been reports confirming it works with his version as well.
I've been experimenting on finding a way to downgrade 2.43.
Once receiving my phone back from repair after a true Brick (where only viable recovery is through jtaging) I found my device was updated to 2.43.661.1 which is part of the unrootable category at this time. So even after not being able to work on my rom for 3 weeks, due to the device being in repair, I still can’t work on my rom because I can’t push apk's and files into system area's to which root access is necessary.
abhisahara said:
Dont worry. Just try out the guides
http://forum.xda-developers.com/showthread.php?t=905003
or
http://forum.xda-developers.com/showthread.php?t=1152233
it might work for you. If you really wanna root just go for it and post your results for other users benefit. If you can wait then wait till your version comes under the umbrella.
Cheers
Enjoy your new DHD
Click to expand...
Click to collapse
First url points to a method that does NOT work.
psneuter does not work, therefore the goldcard downgrade will not work.
Second url is what I posted as the first response.
@ Babycover
Before attempting to root, take the next few days to learn about things like the goldcard, RUU's, the Android SDK's, and basic linux commands (since android is simply a version of linux). Look at various tutorials on how to do things (but dont actually do them, just take note on similarities, and reocurring commands so if you were to do them you'd be comfortable executing them). Familiarize yourself with everything before experimenting.... makes recovering from a problem a lot easier than reading replies of people who think they know what they're talking about.
Things to note: Any RUU can be used once your device has radio S-off and use them rather than a PD98IMG.zip from your sd card. Your spash screen can only be changed if your device has ENG[ineering] S-off ('ENG' will take the place of 'SHIP' in the bootloader). Do not partition your sd card using CWM recovery; even though it supposedly has been fixed, it still may brick your phone (I personally dont believe you should have to partition an SD card ever!).
If the 2.37 method of the rooting doesnt take, you're in my boat with an unrootable device. You might as well see if you can update to the latest 2.5X build if your phone isnt carrier specific (using an ruu, and the device's data that cannot be synced with a google account or sense will be gone, but atleast you'll have the latest build)
If you do manage to Downgrade, dont use the post-downgrade rooting method, rather, follow my steps to root, radio s-off and eng s-off
Its a collection of what works, simplified for use without extras.
http://driphter.com/index.php?topic=3867.0
Enjoy your new phone.
@jsl softbank 237. 2. Has bwwn kicking my ass. And im dont even feel like posting my issues because of responses like yours. I just ask everyone to read their post like a noob. 'Search *****' isnt a very inviting response to what i feel is a pretty good forum. Also, english is a second language for many. What is simple to you isnt so simple for many
Sent from my 001HT using XDA App

[Q] Accidentally deleted my OS on my M8

I was trying to root my M8 but somehow ended up derping and wiped my OS. I've look around for solutions and came to the conclusion that I have no idea what I'm doing because I don't know a lot of the terms being used, so here I am asking for help.
Could someone help me reinstall the OS and help me root it properly?
I'm on the T-Mobile network, but I'm not sure which variant my M8 is. I'll provide further information as we go. Thanks in advance Q_Q
Note: I'm a total noob when it comes to these things so please be patient with me
Xenosaki said:
I was trying to root my M8 but somehow ended up derping and wiped my OS. I've look around for solutions and came to the conclusion that I have no idea what I'm doing because I don't know a lot of the terms being used, so here I am asking for help.
Could someone help me reinstall the OS and help me root it properly?
I'm on the T-Mobile network, but I'm not sure which variant my M8 is. I'll provide further information as we go. Thanks in advance Q_Q
Note: I'm a total noob when it comes to these things so please be patient with me
Click to expand...
Click to collapse
Hi!
Post one here has tonnes of info... How to root, terms explained, like RUU... Which is what you may need to get back up and running...
http://forum.xda-developers.com/showthread.php?t=2711073
And another,
http://forum.xda-developers.com/showthread.php?t=2744194
And then you'll likely need to find the correct RUU for your device (correct CID version and same android version you were in). You can look at the RUU collection threads found in the general section, or search Google for it. Then try this flashing guide,
http://forum.xda-developers.com/showthread.php?t=2813792
Yes, much to read and learn... But that's how this hobby goes. It's best not to attempt anything without thoroughly reading about it and understanding it first. Or bad things can happen.
Good luck!
As @Darth stated, read and read more. It's not that hard once you start understanding how things work, and what the terms that are used actually mean.
I will give you a push in the right direction.
Here is a link to HTC's US website where you can get instructions on how to use an RUU, plus the download for the T-Mobile RUU. You'll want the manual update instructions. The download is at the end of them.
But only use this if you are on T-Mobile US. It doesn't work for T-Mo International.

how to permanent disable all data connections from galaxy s4 phone

I’m new to this forum, and I’m new to android, with the minimum knowledge in developing or modifying anything in an android phone. So, I’m asking if someone has solution on my issue, should he please explain it with all the details.
I just bought 3 phones, SAMSUNG GALAXY S4 MINI VERIZON SCH-I435 - ANDROID VERSION IS 4.4.2 [maybe just 1 that I selected on the phone to update the software, and the others (I still didn’t opened it also no line on it) are maybe 4.2]; I need it for 3 employees that I want to use it with a specific program for my business that it not needed to be updated continuously, and its suppose to getting updated daily with a direct USB connection to our server.
My issue is, that for many reasons I want that the internet and any type of data connection should be fully disabled, no browser, no e-mail, no data apps, no in apps purchases, no MMS messaging, and also no video. Just Talk & Text and. So I’m wondering if it’s possible on an android phone to disable all data apps and block all data connections, in a way that it shouldn’t be able to restore it back.
Before I came here, someone told me that I can do it if I first root the phone (he also didn’t know what I need to do after rooting) he gave me to try a few programs to root the phone, Super User, TowelRoot, Kingo ROOT ,Super SU but as I see nothing worked for my phone. The SuperSU gives a message that it cannot find the SU binary, and the others don’t work for other reasons – I tried to search somewhat on the internet about this kind of problems with rooting this model phone, and I found some complicated guidance with a combination of a few downloads, what I even didn’t understand the instructions how to do it, and I’m also definitely afraid of damaging the phone, and maybe after all it will still not work for me to root the phone – and the main thing is that my goal is not rooting the phone, but to totally disable any internet and data connections from this phones.
So I’m asking if someone can please give me a step by step solution for this kind of modification on this model phones, to permanent disable all data connection from the phone, and if 1 of the steps is to root the phone, then I also need detailed information from someone who has the experience with rooting this model phone with this android version.
I will appreciate everyone’s time and effort to help me.
Thanks
P.S. if my issue can only be solved by a paid android developer, maybe… I’m willing to pay some amount to do this. So if u see this for the only solution, then please direct me to a reliable developer. depends on price, experience, and more, to decide if willing to pay
solb said:
I’m new to this forum, and I’m new to android, with the minimum knowledge in developing or modifying anything in an android phone. So, I’m asking if someone has solution on my issue, should he please explain it with all the details.
I just bought 3 phones, SAMSUNG GALAXY S4 MINI VERIZON SCH-I435 - ANDROID VERSION IS 4.4.2 [maybe just 1 that I selected on the phone to update the software, and the others (I still didn’t opened it also no line on it) are maybe 4.2]; I need it for 3 employees that I want to use it with a specific program for my business that it not needed to be updated continuously, and its suppose to getting updated daily with a direct USB connection to our server.
My issue is, that for many reasons I want that the internet and any type of data connection should be fully disabled, no browser, no e-mail, no data apps, no in apps purchases, no MMS messaging, and also no video. Just Talk & Text and. So I’m wondering if it’s possible on an android phone to disable all data apps and block all data connections, in a way that it shouldn’t be able to restore it back.
Before I came here, someone told me that I can do it if I first root the phone (he also didn’t know what I need to do after rooting) he gave me to try a few programs to root the phone, Super User, TowelRoot, Kingo ROOT ,Super SU but as I see nothing worked for my phone. The SuperSU gives a message that it cannot find the SU binary, and the others don’t work for other reasons – I tried to search somewhat on the internet about this kind of problems with rooting this model phone, and I found some complicated guidance with a combination of a few downloads, what I even didn’t understand the instructions how to do it, and I’m also definitely afraid of damaging the phone, and maybe after all it will still not work for me to root the phone – and the main thing is that my goal is not rooting the phone, but to totally disable any internet and data connections from this phones.
So I’m asking if someone can please give me a step by step solution for this kind of modification on this model phones, to permanent disable all data connection from the phone, and if 1 of the steps is to root the phone, then I also need detailed information from someone who has the experience with rooting this model phone with this android version.
I will appreciate everyone’s time and effort to help me.
Thanks
P.S. if my issue can only be solved by a paid android developer, maybe… I’m willing to pay some amount to do this. So if u see this for the only solution, then please direct me to a reliable developer. depends on price, experience, and more, to decide if willing to pay
Click to expand...
Click to collapse
Hello, i think to achive this someone have to create a modified rom(maybe based on samsung's stock or even cyanogenMod). I dont think its pretty difficult, but i dont have the wright knowledge to accomplish this.
But i can help you for rooting the phones. S4 mini s running 4.4.2(lets call it v1). But samsung pushed an update again on 4.4.2 after some months(call it v2).The v1 is easy to update with towelroot.
But the v2's kernel cant be rooted with that way. I follow some instructions from a post here on xda and i rooted mine. If you are on v2 you have to flash v1's kernel with odin, root it and then flash the v2's kernel.That's the way i did to my phone and i successfully root it.
You can download from sammobile all the stuff you need(kernels). I think it will gonna work for you too. To check if you are on the old(v1) or on the new(v2) rom, try towelroot and if it fails you are on v2, else on v1.
Thanks.
First, how do i get such kind modified rom?
second, about rooting. I tried already Towelroot and its not working, so maybe this means that i have already the update that you call V2. how could i know if i have V1 or V2?
also can you please explain me in detail your solution. Sory Im a novice in the android language. what "odin"?, how do i get it, how do i use it?, what means flash? how do i flash v1's kernel? and how do i flash V2's kernel?
Thanks again
solb said:
Thanks.
First, how do i get such kind modified rom?
second, about rooting. I tried already Towelroot and its not working, so maybe this means that i have already the update that you call V2. how could i know if i have V1 or V2?
also can you please explain me in detail your solution. Sory Im a novice in the android language. what "odin"?, how do i get it, how do i use it?, what means flash? how do i flash v1's kernel? and how do i flash V2's kernel?
Thanks again
Click to expand...
Click to collapse
About the 'modified rom' you have to wait for a response from someone with the knowledge to do this. There is no reason talking about root from now.
You can pm some developers and ask for help.
Maybe try something like LBE Security think you can deny access to things like that and maybe have a master app password. Maybe try looking under Android development forum under software or general. You may get a better response to your question, as it's pretty much just a device topic here. But I would think on Android such things should be possible.

Help I think I soft-bricked my phone

I followed this guide and it all worked fine until I got to the when I reboot the phone after installing the file it boots to the screen where it says htc and then does nothing I can still get back to the bootloader but have no idea what to do there, this is my first time trying to root a phone. It won't let me post the url for the guide but it was called htconeroot . com
I personally strongly advise again using those random "root" websites. The info is often outdated (and not organized in a way that would warn you of such). And those websites often just steal methods and files from xda (giving little or not credit), anyway. Can't tell you how many times I've seen folks get stuck by those websites, and come running here for help.
Even if you can't post a link, you at least need to be more specific as to what exact steps you took. I know you're new here, and the best way to ask for help is to provide as many details and specific as possible. Asking for help with a couple poorly typed, run-on sentences is not the best way to get help. It just wastes time as we need to ask you for all the proper info:
Describe each step you did in detail.
Did you use a toolkit, if so which one?
What file did you flash exactly that caused the issue?
What version TWRP?
What version SuperSU?
Do fastboot getvar all, and post the results (delete IMEI and serial number before posting). Or at least tell us what OS number it says on the bootloader screen (along with hboot and radio number).
@redpoint73 This is actually a good website. It's run by @zedomax who is a member (although I don't know if he's around much anymore) and he always gives proper credits back to XDA.
To tell the truth, this is what I used to root my M8, as I was unfamiliar with HTC devices (coming from Nexus and Samsung) and had used his tutorials for both previous brands when I was new to rooting.
The best thing about his tutorials is that he has a YouTube video to go along with his printed instructions (and how many time have you seen this asked for?). But I digress.
You are of course correct asking for SU and TWRP versions. That tutorial is over 2 1/2 yrs old. It was made when the M8 first came out.
To @LaggyToast, you need the latest version of SuperSU (sorry, but all I have for a link is a direct download) and the latest version of TWRP.
Follow the same instructions, but use the updated versions so you have something that is compatible with the newer firmware.
xunholyx said:
@redpoint73 This is actually a good website. It's run by @zedomax who is a member (although I don't know if he's around much anymore) and he always gives proper credits back to XDA.
The best thing about his tutorials is that he has a YouTube video to go along with his printed instructions (and how many time have you seen this asked for?). But I digress.
Click to expand...
Click to collapse
I'll take your word for it, that that website is okay. But frankly, there are just too many of those random "root" websites for me or most folks to keep track of. Folk will often just Google for how to root, trusting these websites without knowing if they are legit or not, and wonder why things go south (when they invariably do - especially when the info is outdated). All the proper info is here on XDA. And more importantly, we have an open forum with a great community that will help when folks run into problems (which is something almost all of the random "root" websites lack).
I also don't see YouTube tutorials as necessarily a good thing. Folks keep asking for videos, primarily (although maybe not always) because they are too lazy to properly take the time and effort to read, learn, and understand. All too often, folks use the video as a shortcut to proper learning, and just mimic the video. But unfortunately, a video is never going to contain all the details and nuances of written guides; nor help much when things go wrong.
I can see how videos may be a handy addition, when used properly in conjunction with proper written guides, and the requisite learning, reading and understanding. But videos are too often as an inferior replacement for written guides and proper learning.
Just my personal opinion, of course.

Categories

Resources