[Q] KDZ_FW_UPD under Linux - GT540 Optimus General

Does anyone have experience of running KDZ_FW_UPD.exe under Linux (e.g. using Wine)? What are the required libraries if this is indeed possible? Or is there another way to flash a KDZ file onto the GT540 using Linux?
This would be nice as I would'nt have to seek out a Windows PC every time I want to flash a KDZ

Use fastboot, that's I'm doing for some time now, works like a charm
Search for the binary or compile it yourself.
Regards,

No I wasn't talking a about fastboot, got that working ok under linux. Ok meant flashing KDZ files.
Sent from my GT540 using XDA Premium App

jrohwer said:
Does anyone have experience of running KDZ_FW_UPD.exe under Linux (e.g. using Wine)? What are the required libraries if this is indeed possible? Or is there another way to flash a KDZ file onto the GT540 using Linux?
This would be nice as I would'nt have to seek out a Windows PC every time I want to flash a KDZ
Click to expand...
Click to collapse
I think fishears have it in his linux machine , i saw a screenshot he posted about data2system method by flashing a KDZ , you should ask him. I would like to add a How-to about this to my LG GT540 Reference Thread

So it turns out this is impossible. Thanks to fishears for pointing out that this is a shortcoming of WINE at the moment as it is unable to communicate with direct-USB devices (it only works with USB->Serial devices).

Could anyone help me suggest the steps to flash kdz files only use terminal (I can extract kdz file but I don't know how to flash it into device)? Thanks you

Related

For those who used the APX/NVFLASH Mathod, Need A Small Help...in middle of rooting..

At the moment my device running TF Stock NOT rooted 3.1,
I can install prime 1.6 ZIP using this mathod?
Quick guide to unbricking:
Connect cable to computer and turn device on while holding down Volume Up. Screen will stay off, but USB will come on.
(Windows only) Find “APX” device in Device manager and update driver, then point it at usbpcdriver directory from the zip
Run download.sh (linux) or download.bat (windows)
(The quick guide from here http://androidroot.mobi/ )
At the moment I am in the stage where APX driver installed in WIN 7 and TF's screen shows black..so need to know what next :0
Thanks!
If the screen is black and APX is detected you would normally run the script after that. It's important you have the necessary rom files in that directory as well, otherwise is clears and theres nothing to boot there. It's in the guide and video, I'd check the video out if you need more help.
PS: This really should be in Q&A/General.
Sent from my Transformer TF101 using XDA Premium App
Backwardsblade said:
If the screen is black and APX is detected you would normally run the script after that. It's important you have the necessary rom files in that directory as well, otherwise is clears and theres nothing to boot there. It's in the guide and video, I'd check the video out if you need more help.
PS: This really should be in Q/A.
Sent from my Transformer TF101 using XDA Premium App
Click to expand...
Click to collapse
So should I download the 1.6 Prime zip and extract this Zip into same folder from where I am running the .bat file?
Thanks!!
rommark said:
So should I download the 1.6 Prime zip and extract this Zip into same folder from where I am running the .bat file?
Thanks!!
Click to expand...
Click to collapse
Exactly!
(stupid 10 character crap)
rommark said:
So should I download the 1.6 Prime zip and extract this Zip into same folder from where I am running the .bat file?
Thanks!!
Click to expand...
Click to collapse
I would have to be an appropriate NVflash file that's unzipped in that directory. NVflash zip should contain *.img files that go in that directory.
Sent from my Transformer TF101 using XDA Premium App
I don't think Prime 1.6 is nvflash compatible yet.
Use the Prime 1.4 from here
http://www.sdx-downloads.com/devs/roach2010/flash_roms/prime_v1.4.tar.bz2
extract the content to the nvflash folder
Watch the video in this thread
http://tabletroms.com/forums/showthread.php?976-Nvflash-Unbricking-and-forever-root!
If done correctly you'll have Prime 1.4 and CWM recovery installed.
Boot into recovery and flash Prime 1.6
BTW, wrong section for posting question.
Learn to read pinned thread, you have 3 days too do so

Hel setting up adb

Hey xda I have sdk ver.12 also jre 6....but its not detecting my device this is my 4th time trying to use adb I have windows 7...what I wanna do is use fastboot to flash a cm7 splash screen..please help..thanx
sent from my rooted mt4g running cm7.0.3...u jealous?
Download a program called usbdeview. Open up the program (run as administrator) and delete all of the drivers associated with your phone. Make sure USB Debugging is turned on in your settings/applications and plug your phone back into your computer. This should download the drivers necessary to run ADB.
Just use this
http://forum.xda-developers.com/showthread.php?t=956434
Sent from my Google Nexus 12! yup I'm from the future
I would recommend setting up adb this way if you cant get it to work with Android SDK.
<<< http://forum.xda-developers.com/showthread.php?t=928370 >>>.
I couldnt get Android SDK to work on my win7 machine either. Wish my comp just came with xp or something, new OS are a pain to get things like this working on.
Thanks guys appreciate the help the like u provided @eqjunkie829 did the trick....thanx
sent from my rooted mt4g running cm7.0.3...u jealous?
I got it to work wit win7 u must follow everything wit out flaw
Sent from my HTC Glacier using XDA App
Only thing now is flashing a new splash screen anyone know the fastboot method?
sent from my rooted mt4g running cm7.0.3...u jealous?
Chuchave said:
Only thing now is flashing a new splash screen anyone know the fastboot method?
sent from my rooted mt4g running cm7.0.3...u jealous?
Click to expand...
Click to collapse
I have flashed a couple of splash screens through terminal emulator method and it seems to be very easy. Should be a link in resource bible.
Sent from my HTC Glacier using XDA Premium App
Thanx eqjunkie
sent from my rooted mt4g running cm7.0.3...u jealous?
@eqjunkie the method that I have adb set up in using the drewblue way there's no ask tools folder so how would I push a splash screen thru? I tried a terminal emulator way by typing first such to get # then dd if=/mnt/sdcard/custom.img of=/dev/block/mmcblk0p19 I also had the custom image the right size 480*800 that I converted to a image using ez splash screen flasher tool renamed it custom.img put it on the root of my sdcard but got a cannot open for read no such file or directory error....I just don't know what to do so im guessing fastboot is maybe my last option...
sent from my rooted mt4g running cm7.0.3...u jealous?
Chuchave said:
@eqjunkie the method that I have adb set up in using the drewblue way there's no ask tools folder so how would I push a splash screen thru? I tried a terminal emulator way by typing first such to get # then dd if=/mnt/sdcard/custom.img of=/dev/block/mmcblk0p19 I also had the custom image the right size 480*800 that I converted to a image using ez splash screen flasher tool renamed it custom.img put it on the root of my sdcard but got a cannot open for read no such file or directory error....I just don't know what to do so im guessing fastboot is maybe my last option...
sent from my rooted mt4g running cm7.0.3...u jealous?
Click to expand...
Click to collapse
Try using one of splash screens that are on this site already so you can tell if there is something wrong with the file that you are using or if you are missing a step. You can always replace it later once you know what the problem is. I'm thinking that if it's saying that there is no such file that may be the problem with the file. Did you unzip the file from the folder and put it on the root of the sdcard?
Sent from my HTC Glacier using XDA Premium App
Actually I created the image usin the ex splash Creator and the other one I got from somewhere else but I put it on the root of my memory card I don't know I could be missing followed the steps to the t....ill try again....and thanx
sent from my rooted mt4g running cm7.0.3...u jealous?
my phone has the 2.3.4 update, want to go back to 2.2.1 to root, i downloaded jdk , and sdk is not detecting java . i'm on windows 7 is that the reason? my phone was rooted before using z4root i think. the one click method, so this is a frustrating. if someone could help id appreciate it. thanks
dirtyreturn said:
my phone has the 2.3.4 update, want to go back to 2.2.1 to root, i downloaded jdk , and sdk is not detecting java . i'm on windows 7 is that the reason? my phone was rooted before using z4root i think. the one click method, so this is a frustrating. if someone could help id appreciate it. thanks
Click to expand...
Click to collapse
There is a post in development section under stickies on how to downgrade to froyo.
Sent from my HTC Glacier using XDA Premium App

People who think they CAN'T dev.

I just wanted to remind everyone that sometimes what keeps a phones community/ROM selection going can be as simple as changing whats in a rom, you don't have to be a developer to do that!
In the sense of the backups, like how CM7 and MIUI are installed a person can simply edit either the stock system.img or the cm7/miui system.imgs... theyr'e basically zip files... but you have to extract them a special way!
for someone who is using a windows box they need to install Cygwin and get unyaffs.exe... Cygwin, will emulate linux support, so if you're willing to learn linux lets just do this all at once! (Go download ubuntu or something!)
W/ Cygwin installed you put unyaffs.exe cygwin1.dll in the same folder as system.img and type something along the lines of unyaffs system.img system
Google for a more clear guide, I'll look soon...
But if you can unpack system, change the launcher, maybe some sounds, later learn to unpack the framework-res.apk via apktool(for themes!)
Anyway t's not a hard process, you need to get them put into update.zips afterwords (Which is more script work we'll get to that later...)
for now, if anyone wants to;
_Install cygwin,
_Extract System.img
_Change it up.
_Pack system.img (Unsure what tool, yaffs?)
_Test by restoring backup via custom recovery on the phone!
_Create update.zip
I believe that would be a great thing for someone who wants to learn or doesn't think they can learn, to do... I honestly got distracted somewhere around step 3 and have wandered off to play with all sorts of other things!
Great starter tutorial...
And also don't forget to ask people... I prefer posting over pm so everyone can read and learn
You can also set up cygwin on your windows computer and use dxhidia kitchen to build roms
If you edit any scripts use notepad++ if your not on Linux as it keeps the integrity of the script.
The great thing is this phone is hard to brick so if you mess up Judy sbf back to stock
Sent from my MB520 using XDA App
Now that I am getting a new phone (T-Mobile MyTouch 4G) I can learn this stuff and not be too afraid of breaking my phone. Thanks for this post... this will be a fun phone to work with
Sent from my MB525 using XDA App

[Q] N7 root problem

I am having a problem with rooting my n7 recently I decided that I would flash back to stock clean wipe sd card and reroot, well it didnt work out that way, flashed back to stock without a problem, then rerooted ok, but then was prompted to install 4.2.1 from google, well I did and here I am cant get rerooted after installing update. I use wugs tool kit and has always worked on my GNex and until now my N7, any ideas anyone?
It seems to see ADB, but no Fastboot? very strange, could I need a fastboot file or something?
Yup, better not to use a toolkit.
Need adb.exe and fastboot.exe in the platform-tools folder of the android sdk and the proper drivers.
It is nice (but not neccesary) to add a path in enviromental variables so you don't have to have files in the same directory always.
Sent from my HTC Vision using Tapatalk 2
demkantor said:
Yup, better not to use a toolkit.
Need adb.exe and fastboot.exe in the platform-tools folder of the android sdk and the proper drivers.
It is nice (but not neccesary) to add a path in enviromental variables so you don't have to have files in the same directory always.
Sent from my HTC Vision using Tapatalk 2
Click to expand...
Click to collapse
could you send me more info, or links I am kind of new to this and would like to know what I did and how to avoid/fix it in the future Thanks.
demkantor said:
Yup, better not to use a toolkit.
Need adb.exe and fastboot.exe in the platform-tools folder of the android sdk and the proper drivers.
It is nice (but not neccesary) to add a path in enviromental variables so you don't have to have files in the same directory always.
Sent from my HTC Vision using Tapatalk 2
Click to expand...
Click to collapse
Nice to see you around.
I cannot forget the tremendous help you and Frankdrey gave me to discover, learn, and use an Android system on my G1.
Without both guidance I would, maybe, use now a toolkit and learn nothing.
@gunner - anytime, I love to help, now you can help others as well! Nice to see ya in the n7 forum too!
@flb
Google search android sdk, download appropriate package for your pc.
Open sdk and download all the tools in it.
To add a path I need to know what platform you are in... actually let me know when the above is finished and what platform your pc is and ill give you the rest of the steps
Sent from my HTC Vision using Tapatalk 2
demkantor said:
@gunner - anytime, I love to help, now you can help others as well! Nice to see ya in the n7 forum too!
@flb
Google search android sdk, download appropriate package for your pc.
Open sdk and download all the tools in it.
To add a path I need to know what platform you are in... actually let me know when the above is finished and what platform your pc is and ill give you the rest of the steps
Sent from my HTC Vision using Tapatalk 2
Click to expand...
Click to collapse
adb for dummies.. http://www.mediafire.com/?qrjo6bi8ayblj1r
this includes everything that is needed so you dont need to grab the whole sdk. easy access to adb and to fastboot.
demkantor said:
@gunner - anytime, I love to help, now you can help others as well! Nice to see ya in the n7 forum too!
@flb
Google search android sdk, download appropriate package for your pc.
Open sdk and download all the tools in it.
To add a path I need to know what platform you are in... actually let me know when the above is finished and what platform your pc is and ill give you the rest of the steps
Sent from my HTC Vision using Tapatalk 2
Click to expand...
Click to collapse
First of all thank you for the help, I'm currently running win7 64 bit. Ill check this post tomorrow and give it a try.
Sure thing, simms22 posted a nice link to just get the adb.exe and fastboot.exe, feel free to download those instead of the sdk as that is larger and you may or may not ever use a lot of the other stuff.
Sent from my HTC Vision using Tapatalk 2
demkantor said:
Sure thing, simms22 posted a nice link to just get the adb.exe and fastboot.exe, feel free to download those instead of the sdk as that is larger and you may or may not ever use a lot of the other stuff.
Sent from my HTC Vision using Tapatalk 2
Click to expand...
Click to collapse
Thank you guys for you efforts, Ill try it today.
You can just copy and paste the fastboot and adb .exe and .dll into c:\Windows instead of adding a variable.
Fast and easy lol just like I like 'em
Success! Thanks guys. I think Ill stay rooted and skip unroot rerooting.

Dev help needed- make stock image rooted and flashable

As the title states, I am looking for a straight forward tutorial on how to take a factory image and make it rooted and flashable. The image is currently a tgz. I unzipped and it had recovery and bootloader as well as a few other img's, but those 2 will need to be deleted correct?
Sent from my HTC One X using xda app-developers app
dan.kels.r said:
As the title states, I am looking for a straight forward tutorial on how to take a factory image and make it rooted and flashable. The image is currently a tgz. I unzipped and it had recovery and bootloader as well as a few other img's, but those 2 will need to be deleted correct?
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
There's a flash-all batch file in the (latest) factory image from Google. If you have Android SDK installed, I imagine running the batch file "should" just work (only thing needed on your end is to put the tablet in bootloader mode, and to make sure the driver is installed, which can also be acquired from Android SDK).
If the batch file doesn't run adb or fastboot on it's own even with the SDK installed, you might have to add the SDK's executable folder to PATH. There's a guide somewhere that explains it pretty well.
The above applies to Windows though. OS X and Linux would run the flash-all.sh file, but I have no idea on what's needed on either OS for the script to work.
Thanks for the reply. I am tracking that i have to run the .sh for linux. but what i want to accomplish is basically making it a stock rooted rom i can flash through custom recovery.
espionage724 said:
There's a flash-all batch file in the (latest) factory image from Google. If you have Android SDK installed, I imagine running the batch file "should" just work (only thing needed on your end is to put the tablet in bootloader mode, and to make sure the driver is installed, which can also be acquired from Android SDK).
If the batch file doesn't run adb or fastboot on it's own even with the SDK installed, you might have to add the SDK's executable folder to PATH. There's a guide somewhere that explains it pretty well.
The above applies to Windows though. OS X and Linux would run the flash-all.sh file, but I have no idea on what's needed on either OS for the script to work.
Click to expand...
Click to collapse

Categories

Resources