[Q] Proper method to flash firmware through microSD - Eee Pad Transformer Q&A, Help & Troubleshooting

Dear Fellas,
After reading a bit through the pages of this Q&A forum I realized that there is no thread describing a proper method to flash a stock firmware into our "stock" tablets, I mean, without any customization or root.
Anyone please, could share his knowledge and enrich us into this subject? Yes, anyone knows how to proceed to flash a stock firmware through microSD?
Just to make things clear as possible, my wondering extends to which files add into microSD, the correct format, the correct structure to flash.
Really appreciate ideas and directions.
Cheers
Erick

Get the firmware you want from the asus webpage, extract it, find in the extracted path another zip archive and rename it to EP101_SDUPDATE Make sure you leave it a zip dont change the extension AND make sure it is on the root of the card... boot by pressing the VOL DOWN + POWER button... as soon as you see some text press within 5 sec the UP button....and wait

Related

Android app that roots your phone

Hi all I am putting together an android app that will making the rooting process much easier. This thread is discuss issues and suggestions with this app.
I have the app near done, the biggest problem is that I cannot format the sdcard as fat32. Is formatting to fat32 required. Why do we do this? What is the real need to do this?
I have not tested the app out yet, but so far this is how it has been put together. There is a main activity with textboxes that have the urls of the files needed to root (dreaimg.nbh, recovery.img, hardsplupdate.zip, JF_RC33update.zip) and there are buttons for each step in the process to download these necessary files and extract them if needed and put them on the sdcard and renaming them properly. You can change the urls to something else if needed.
so you click the first button it downloads the .nbh and puts it on the sdcard and then prompts the user to turn off, power+camera on, flash. when phone is on then reinstall this app and go to step 2 (because it would of been lost when flashed)
you click the second button it downloads recovery.img and hardsplupdate.zip. renames the files appropriately and puts them on the sd. it runs a script to do the recovery.img flash. It then prompts you to restart into recovery mode and gives the instructions on flashing the hardspl. and tells you to reopen this app when done
you click the third button it downloads the latest JF firmware (lets just say the RC33 flavor) puts it on the sdcard and renames it as update.zip. it prompts you to restart into recovery mode and do the flash.
Anybody see any possible problems with this logic? Also what do people think about maybe packing some of these files in the app instead of having them be downloaded?
Update: app is working http://allshadow.com/forum/viewtopic.php?f=9&t=5229
I am still looking for help to make it better.
I need devs to help make it nicer.
I am also looking for someone who's familiar with the update.zip package, to pack the radio, hardspl, and jf_rc33 all in one update file.
If anybody is interested in helping, PM me
I dont think its that big of a deal to format the card yourself, but why not make an app on the desktop that does some of the work for you, like formatting the card, then downloading and renaming the files needed to get started?
Packing the files into the app is going to make the app big. I like this whole idea though.
when you flash the .nbh it does a wipe on its own so one would need to re-download the app after that unless you can get it to stick somehow, i like the idea, is each button of the app just running a script? like to get the dreaimg.nbh have a script that runs:
"$wget [url to the .nbh file]
$echo 'please reboot your phone into SPL by holding the camera and power button'"
or did you have some other idea?
i like the idea but i am just not sure how easy this would be to code as i am just used to writing scripts that do everything for me.
or you could follow Kllian's advice and make a desktop program that does all this. i could easily write a script for linux that would do it, and a .bat file wouldn't be too hard either. you would just need to have adb and you could have the scipt/batch reboot the phone into recovery to do the flashing of each update.zip
pm me if you have an questions or would like me to write a script to do all this
tubaking182 said:
when you flash the .nbh it does a wipe on its own so one would need to re-download the app after that unless you can get it to stick somehow, i like the idea, is each button of the app just running a script?
Click to expand...
Click to collapse
tubaking brings up a good point.
I have an idea that possibly could resolve the "wiping" issue. What you do is, the initial app would be placed on the desktop (assume RC30). From here you'd downgrade the firmware to RC29.
The problem is though, the app you are scripting will be wiped. SO...
How about saving it on the SD temporarily.
THEN modifying the .nbh file to restore the <rooting app> to desktop (from SD)
Just throwing some stuff out there.
IF you need some help, hit me up.
if anyone knows how to convert a .sh bash script from linux to a .bat batch file for windows then i already have the script written, send me a PM to get it. or we could port it into java, but i don't know how to do that stuff. tomorrow i will upload my script onto 4shared and provide a link here as long as it works. keep in mind that i am on a linux machine and my script will not work in M$ windows. i don't know a damn thing about mac, so i have no idea if this will work or not for them.
my script is nearly completely automated, the only thing you need to do is hit ENTER a few dozen times, i will also write a completely automated one that sleeps rather than waits for you to hit enter, but it will take longer to run most likely since i will have to oversetimate the sleep time.
hopefully i can find a windows machine and learn what commands in the cmd are equal to the commands in my terminal
akapoor said:
tubaking brings up a good point.
I have an idea that possibly could resolve the "wiping" issue. What you do is, the initial app would be placed on the desktop (assume RC30). From here you'd downgrade the firmware to RC29.
The problem is though, the app you are scripting will be wiped. SO...
How about saving it on the SD temporarily.
THEN modifying the .nbh file to restore the <rooting app> to desktop (from SD)
Just throwing some stuff out there.
IF you need some help, hit me up.
Click to expand...
Click to collapse
modifying ,nbh files is no easy task, i tried it once and fortunately for many people GSLeon3 was able to help me fix my tilt. i think the .bat or .sh would be the easiest way to root your phone
Tubaking,
Send over the file you have. Ill work on converting it to a .bat, useable from windows.
Email : akapoor92_at_gmail.com
I should have it soon, but since its like 3:30am here, I'm off to bed. Haha
tubaking182 said:
modifying ,nbh files is no easy task, i tried it once and fortunately for many people GSLeon3 was able to help me fix my tilt. i think the .bat or .sh would be the easiest way to root your phone
Click to expand...
Click to collapse
Uh, you'd not only need to modify the nbh file, but you'd also need to sign it with the Google OTA keys - otherwise the phone will refuse to flash it.
If it were possible to create Google-signed nbh files we'd dispense with all this downgrading nonsense and just create an nbh of the latest JF firmware with root and directly flash that.
The issue is that until you've patched the recovery loader the phone won't flash anything that isn't signed by Google. The reason we can get around this is that there is a leaked signed file with the old firmware version, and that version happens to contain a vulnerability that you can use to get root access. Once you have root access you can reflash the recovery loader with a new one which accepts the test keys. At that point you can dispense with the hacks and begin directly flashing whatever you want.
In any case, rooting a phone is serious enough of a matter that we probably shouldn't be encouraging anybody who can download an app to do it. They should at least have some confidence in reading and following obscure instructions online, because of anything goes wrong later that is what they'll be doing...
Thanks for all your input. I have been trying to hold hand people through the root process and it is a real pain. Biggest issues are people not being able to unzip files correctly, rename files correctly, and the biggest thing is the recovery.img step and typing in the commands.
- .nbh cannot be patched because it is signed.
- yes my app will get wiped because of the .nbh flash. It does tell the user to reinstall this app once done with the .nbh step and then continue
- i prefer an android app, so people can do it without a computer and without having to install the sdk
- the app does not run a script to get the files. it uses some android sdk functions to download files. it does use the unzip linux command to unzip, not sure if this will work because of permissions, i may have to figure out how to do it from the sdk. the app does run a script to do the recovery.img step, during this step we should already have root so no issue there with permissions.
Biggest problem I see is Fat32 format I heard it is not absolutely necessary. Does anyone have any more information about why this needs to be done?
it IS necessary, you need the card formatted in order to do the NBH flash, after that you should be ok. most card come formatted in the box they came in so anyone that said they didn't need to format their card is lying because is was already formatted to fat 32
in the RC29 firmware is there a su command in /system/bin/ or are all commands run as root without having to call /system/bin/su ??
moussam said:
in the RC29 firmware is there a su command in /system/bin/ or are all commands run as root without having to call /system/bin/su ??
Click to expand...
Click to collapse
from what i've read, in the RC29 version andything you type on the home screen gets put through a root shell as well all on it's own
I have a feeling whoever makes this app is going to sell iot for a ridiculous price on the market
My script is written but requires the user to do certain things, later I hope to have it be completely automated after a certain point and it will be free. After I get it written in linux shell I will be converting it to use in windows. Expect my automated root to be available for download by the weekend.
I got the app pretty close to done. I hope to put something up tonight or tomorrow that you guys can test. I am not going to charge for this app, I want to give it for free so everybody can have root and a more rich experience.
The place were I am stuck right now is the unzipping of the DREAIMG.NBH file from its zip file after it is downloaded. I am using java.util.zip I am not sure if the problem is because the file is so big or if I am doing it wrong. does anyone have an android java unzip code snippet?
The app now downloads files for you and unzips them if needed. THere is an issue with the unzipping though, after around 25 MB of unzipping DREAIMG.NBH i get this error...
java.io.IOException at java.util.zip.InflaterInputStream.read(InflaterInputStream.java)
anybody have any suggestions? Is their not enough memory to unzip the files or something?
For now I am not going to let the .nbh file be zipped up. THe app instead will have to download the full uncompressed .nbh file.
So it is ready to be tested, if you want to try it out PM me, I do not want to just post it and have everybody use it until it has been tested more.
Good news the app works on downloading the .nbh file and then flashing you to RC29. It then successfully downloads the recovery.img and hardspl update.zip
I had someone testing it and when they ran the recovery script the mount command gave them mount: operation not permitted. Is this correct? I know without root it is supposed to give you mount: permission denied.
If this is correct the app is working, and I just need someone else to confirm.
Mike
Does anybody else want to help with the coding of this project? If so create an open-source repository and I will add the current source in there.

[help]anybody can tell me how to convert official ROM to update.zip

anybody can tell me how to convert official ROM to update.zip
I want to know how to make an official from the ROM can customize the ROM, instead of only at others do the update.zip in thickening delete...
First, you need to run the RUU.
Check in your system TEMP folder, and you should have an update.zip there.
Unzip that, and you'll have amongst others, system.img
Extract the files via unyaffs or other means, customize your build, zip and sign.
Voila.
My guess is that a simple search via the search tool would've resolved that, then again, I guess you were too lazy to do that.
adwinp said:
First, you need to run the RUU.
Check in your system TEMP folder, and you should have an update.zip there.
Unzip that, and you'll have amongst others, system.img
Extract the files via unyaffs or other means, customize your build, zip and sign.
Voila.
My guess is that a simple search via the search tool would've resolved that, then again, I guess you were too lazy to do that.
Click to expand...
Click to collapse
I have get the system.img, but I don't know what tools and methods reduction system.img to update.zip file format,can replace programs self.
Can you explain it step by step?
He actually told you in the post above to use unyaffs, all you need to know is already in this forum if you search for it. Here's a thread to get you started:
http://forum.xda-developers.com/showthread.php?t=566235
thanks , i went to see

[Q] Is anyone able to extract this image?

Hi,
I'm very unsure where to put this thread as my device has no forum of its own. I have a ViewSonic ViewPad 7 tablet, but I guess this is not even a device specific question, which is why I ended up posting it here.
I have an image of the stock ROM on my tablet (system.img + boot.img), but I'm unable to extract or flash the system.img directly, which is why I need your help. I've been reading some topics regarding this and tried out different methods, but either I am doing something wrong or the image is not complete. It was created using the cat command in the shell.
If any of you should be able to extract the system.img from this zip file I would be forever grateful, as I really need to get my stock ROM back so that I'm able to have Danish locale as well as text messages.
Thank you very much in advance!
http://www.multiupload.com/6C6M83LR7P
Bump it up

Cant unlock and stuck with CN rom

Hey Guys,
I had a good day receiving my pad today, but very upset to recieve it with a CN rom from China. It doesnt even have the play store or the google framework.
So i tried a few things to install some apps via .apk and i was not able to find ICS stuff and it was all outdated.
So i then i said i would try and change to the ROM that is available from Asus, i downloaded the global version.
The hard part was trying to root and unlock so i can flash. I tried to use the ViperMod prime and everything was fine until i got to the end and unlock it said "Device not supported" so that didnt work.
Anyone have any suggestions on which path i should take, eventually i just want a good rom to use and be able to access all my apps on the Play store and be able to use my google accounts.
Lots of thanks in advance for the help, truly appreciated.
You don't need to root the device in order to flash the FW, simply download the FW update of your desired "region" and extract the Zip, in it you will find another zip file just copy it into the root directory of your microSD and rename the file as "EP201_768_SDUPDATE.zip"
Finally power off the device then when you power it on press and hold "volume down" and "power button" release the power button when it vibrates keep holding "volume down" button until you can see few lines of text printed on top left hand corner of the screen. Now let go of the volume down button and press "volume up".
Wait for it to completely flash the device with your desired FW update, don't forget to backup your data and fully recharge your battery before attempting to do so.
Thanks for the reply, but it does not work. I have tried a few times and it ends up with the same firmwre, any other advice?
Also when i unzip the file off the Asus website there is no other .zip file, so i tried the actual downloaded file.
Can anyone help.....Im really struggling and this CN rom is a disaster....
You have unpacked the file, renamed it properly, put it on the root of the microSD, booted to recovery, proceeded to install the new firmware and yet you still have the same Chinese ROM? No way. Tell us how far you've come and what you did.
Is it just the language option you are looking for? What's the firmware version?
Sent from my ASUS Transformer Pad TF700T
Step by Step:
i downloaded the file from the asus website:
i got the WW version (ASUS Transformer Pad TF700T Firmware: V9.4.5.22 Only for WW SKU (Android 4.0.3)), when i unziped it there was noother .zip file to put on my micro SD card.
So i tried with the original zip file and that didnt work. So what do i do? am i downloading the wrong file? because i cant find any zip file after i extract.
FYI i am using mac to unzip the file but i dont think that would make any difference
Thanks for your patience and help.
i also want to answer your questions, the rom version that is on is build number:
IML74K.CN_epad-9.45.22-20120615
the reason why i need to flash to the global version is because in the CN version it does not com with the Play Store, or any google frameworks, its all built with the Chinese app store. So the language is not biggest issue its just everything else.
So the downloaded WW file contains another zip file. THAT zip file needs to be placed on the microSD and renamed to: EP201_768_SDUPDATE.zip (remember to use caps and make sure the extension is still .zip)
Then switch off the Infinity. Put the microSD in the Infinity. Press the VOL- button and then power up (while still pressing the VOL-). You'll boot into recovery. Either you have to press VOL+ or it will automatically start updating the tab.
Thanks for the reply, the problem is, is that when i download the file off asus, and unzip the 300+ mb file it gives me the same file name but is noe 800+ mb, but it is not zipped. So do i have the right file?
I am following the instructions, i just dont know if i am using the right file
So i finally realize the problem, with my mac when i was unzipping i was not getting any kind of .zip file. So i tried in PC and it worked, amazing how something so small can make a person go insane!!!
but thanks to all of you, couldnt have done it without your help!!
yasinhk said:
So i finally realize the problem, with my mac when i was unzipping i was not getting any kind of .zip file. So i tried in PC and it worked, amazing how something so small can make a person go insane!!!
but thanks to all of you, couldnt have done it without your help!!
Click to expand...
Click to collapse
Nice... glad to hear all is good now.
Ace, glad you found the issue good thing it's solved now. You managed to root as well now?

[Q] [HELP] How do i get rid of this FREAKIN update notification message??

:crying:
So i just downgraded to ICS again since JB is waaaay too slow and seemed not working well with me.
My current version is 4.03 with US .30, rooted of course. Here's the thing.
My freakn stupid TF700 keeps alerting me with this message.
"New firmware update is available"
I DON'T WANT UR DAM JELLYBEAN UPDATE! I REALLY HATE THAT and do not even wanna see the word ''update" any more
it seriously freaks me out and I wanna kill myself every time I see anything related to 'UPDATE' or 'JELLY BEAN'..
EVERY SINGLE TIME I turn it on, they show me the message. Even if i ignore it once, it is still stuck in the corner of my tf 700 as u can see
from the pictures I attached. In those pictures, things in blue box are able to erase or delete by just sliding it to the right or left.
But those in red box are undeletable. There's nothing i can do to get rid of those stupid update icons and notifications.
What can I do to NOT see this notification again? I will do anything...
PS. While i was reading HTC forum, I found a thread with the same problem and one of em suggested solution
by adding something like this to the build.prop
(ro.config.htc.nocheckin=1)
Of course this one is for HTC EVO 4G LTE so theres no way it's gonna work on my TF 700
but could there be something like this that I could use for my infinity?
If your device is rooted, rename /system/app/CMClient.apk and /system/app/DMClient.apk to e.g. CMClient.disabled and DMClient.disabled - that should prevent starting them at the next reboot.
And, just to contribute something to the community's collective knowledge, please upload your file /cache/dlpkgfile somewhere - I want to know if that is a direct upgrade from 9.4.5.30 to 10.4.4.20.
Problem solved
_that said:
If your device is rooted, rename /system/app/CMClient.apk and /system/app/DMClient.apk to e.g. CMClient.disabled and DMClient.disabled - that should prevent starting them at the next reboot.
And, just to contribute something to the community's collective knowledge, please upload your file /cache/dlpkgfile somewhere - I want to know if that is a direct upgrade from 9.4.5.30 to 10.4.4.20.
Click to expand...
Click to collapse
Well, right after posting this article, I started deleting things using root explorer to see if anything can solve the problem.
Since I am not an expert, I deleted pretty much everything that seemed useless for me, including DMC and CMC whatever they are.
If i knew what I know now, I could have just renamed them, but anyway those files are completely gone now.
and Hallelujah! The notification's gone too. Thanks for your support tho.
I don't know if you still want my dlpkg file since the problem's solved already.
If you still want it, just let me know where to find that file (exact location/directory of the file) and where to upload it.:good:
almightytaek said:
I don't know if you still want my dlpkg file since the problem's solved already.
If you still want it, just let me know where to find that file (exact location/directory of the file) and where to upload it.:good:
Click to expand...
Click to collapse
Yes, please. The exact location of the file is "/cache" and the name is "dlpkgfile". I just noticed that the file will be rather big (~185 MB) and only a small detail will reveal if it is interesting in its entirety, so if you have such a file on your device, please do the following:
- download the dlpkgfile file to your PC and rename it to dlpkgfile.zip
- extract \META-INF\com\google\android\updater-script from the zip
- attach the extracted file (~291 kB) to your reply post
If the first lines of updater-script indicate that it's an update from 9.4.5.30 to 10.4.4.20, the whole file can help users who downgrade to root and want to re-upgrade to the latest JB.
Alright
_that said:
Yes, please. The exact location of the file is "/cache" and the name is "dlpkgfile". I just noticed that the file will be rather big (~185 MB) and only a small detail will reveal if it is interesting in its entirety, so if you have such a file on your device, please do the following:
- download the dlpkgfile file to your PC and rename it to dlpkgfile.zip
- extract \META-INF\com\google\android\updater-script from the zip
- attach the extracted file (~291 kB) to your reply post
If the first lines of updater-script indicate that it's an update from 9.4.5.30 to 10.4.4.20, the whole file can help users who downgrade to root and want to re-upgrade to the latest JB.
Click to expand...
Click to collapse
Here it is.
I don't know why, but I couldn't upload it here with its original form (which is just a file named 'updater-script')
so I added .zip at the end. I bet you know what you have to do now, just delete '.zip' part and use it for the community.
almightytaek said:
Here it is.
Click to expand...
Click to collapse
Thanks!
Code:
assert(file_getprop("/system/build.prop", "ro.build.fingerprint") == "asus/US_epad/EeePad:4.0.3/IML74K/US_epad-9.4.5.30-20120907:user/release-keys" ||
file_getprop("/system/build.prop", "ro.build.fingerprint") == "asus/US_epad/EeePad:4.1.1/JRO03C/US_epad-10.4.4.20-20121026:user/release-keys");
Nice, that's a direct upgrade from 9.4.5.30 to 10.4.4.20. That confirms my theory that there are dlpkgfiles that bundle multiple incremental updates into one.
If you could upload the complete dlpkgfile to some file upload service, US users who want to root their tablet without unlocking would be grateful for a one-step upgrade to the latest JB, having to mess with OTA RootKeeper and the manual upgrading process only once. (I personally don't need it, since I'm unlocked and on WW firmware)

Categories

Resources