fastboot Batch - HTC Vivid, Raider, Velocity

so i was trying some stuff and turns out it works so i dont know if anyone would want this but it helps if you flash kernels through fastboot.
So what you do is :
1. open a fresh notepad, ( hit the windows button, type notepad then enter )
2. type: START fastboot flash boot boot.img
3. save as or just save, then make sure the extension is .bat
( example : flashkernel.bat ) and save it to the folder where your adb and fastboot are. usually the platform-tools folder
4. make sure the option under extension is selected as all files. or it will save as .txt file
5. run the bat file while you are in fastboot and you will see it works.
again i dont know if this should be here so mods, delete if you think it should be deleted. just let me know i can put it in general if needed.
hit that thanks button if this was usefull

Marshmellow92 said:
so i was trying some stuff and turns out it works so i dont know if anyone would want this but it helps if you flash kernels through fastboot.
So what you do is :
1. open a fresh notepad, ( hit the windows button, type notepad then enter )
2. type: START fastboot flash boot boot.img
3. save as or just save, then make sure the extension is .bat
( example : flashkernel.bat ) and save it to the folder where your adb and fastboot are. usually the platform-tools folder
4. make sure the option under extension is selected as all files. or it will save as .txt file
5. run the bat file while you are in fastboot and you will see it works.
again i dont know if this should be here so mods, delete if you think it should be deleted. just let me know i can put it in general if needed.
hit that thanks button if this was usefull
Click to expand...
Click to collapse
It's often referred to as batch file programming
Sent from my HTC PH39100 using xda premium

thanks ;p lol
i was not really sure if it would work but then i used this and it worked it beats having to type put fastboot flash boot boot.img haha. but i made one for the recovery as well and im trying to see what i can do with this and see if i can try to make a one click root with a cmd window

Related

Standalone apk installer with adb

I made a little file where u can drag'n'drop files u want to install on ur phone.
No need of any settings.
When your phone is allready "adb ready" you dont need to have anything running.
Just take the apk File and drag on the exe and it will install. thats all.
perhaps i'll add more features soon. i made it for myself, to install the apk's faster after a full-wipe i made.
In Windows7 and Vista, it needs Admin rights (so it asks when starting) and AFTER its done, it gives an error. But it works how it should!
so don't worry
PS: Doubleclicking it won't do anything! Its Drag'n'Drop only!!
Another one by me
copy and paste the following into a file and save it on your desktop as install.bat (or whatever you fancy)
@echo off
adb install %1
pause
Then drag and drop files onto it, or associate apk files with install.bat and double click an apk file and will install to your phone.
htcmagic said:
copy and paste the following into a file and save it on your desktop as install.bat (or whatever you fancy)
@echo off
adb install %1
pause
Then drag and drop files onto it, or associate apk files with install.bat and double click an apk file and will install to your phone.
Click to expand...
Click to collapse
What do u want to say with ur post?
Did i made any question? i think not, so what r u explaining and for WHO??
It's just what i made in my "tool".
Made little bigger better Tool with 5 Options now
if anyone wants it, its at the bottom.
Now u can install apks, uninstall non-stock apks, push and pull files to & from /system/app/ and reboot ur phone.
ahhh, and not it wont make any errors or need for "admin rights" when starting the tool.
Works like a charm and now it has an Sketched android in it ! Yeehaaa
your program (the install part) doesnt really work. it doesnt install. i found that making the batch file was better.
hmm ok, thats weird. for me the new tool works perfekt.
And it IS a batchfile, i just merged the needed files from adb and the .bat file to one exe file. thats all.
do u get any error when trying to install ?
You do drag and drop the file to the exe and choose install apk, right?
Geeze, are people these days so lazy that they can't move their hand off the mouse? Just type the command!!!! Its easy... "adb install {file.apk}".
You know, back in the dark ages of not very long ago, NOBODY had a mouse. Or drag and drop. EVERYTHING was on the keyboard and involved typing commands.
If you guys want and you are running Windows, check out our app. www.androidmanager.net ... we added feature for installing apk-s by double-clicking few days ago

Easy way to install bootanimations

###OK I haven't really written a tutorial before so if you catch a mistake please let me know so I can make the changes###
In my method we will be using Android Commander on a PC
Note: This does work on Win7
Android Commander is a free program that allows you to see the root and sd locations of your phone without having to type codes through adb. With this you can drag and drop anything anywhere onto or off of your phone.
Lets begin!
1: Ensure your phone drivers are installed and updated. Also that your phone is plugged in
2: Ensure you have the latest sdk downloaded and installed. You need this for adb. You'll see why in a minute
3. Download and install the attached file at the bottom. This is the Android Commander program.
4. On the first run of Android Commander if you don't know what the options that are shown meen then select the I don't know/ autodetect option.
5. When AC finally opens you will see two windows. On mine the left is Windows Files and the right is Android Files
Personally I don't use the Windows Files side for anything. Its all about your preferance because AC allows you to drag directly from your desktop to the Android Files window.
You should notice on the Android files side all your android "system" folders. locate your original bootanimation like this: Double click "data" then double click "local" Once inside the local folder you will actually be able to see the original bootanimation.zip file. From here select the check box next to it and hit the copy button. By default AC will "copy" the selected file to whatever window is open on the Windows side but you can choose to copy it to your choice. If you don't want to copy it AC allows you to right click it and simply delete it. Your choice. I won't be held responsible if you do delete it and later you decide you want it back!!!
Moving on, once you've done what you want to the original bootanimation.zip you need to locate the new bootanimation of your choice and simply click and drag it to the AC window. When you drop it a window will pop up asking where to put it. Obviously you will want to push it to the android side so if android is on the right then select right window and select ok. Another window will pop up showing the push in progress. I have mine set to close on finish so that window goes away once the file is moved.
Done!
After this you can restart your phone to watch the animation on start up or you can cmd into your phone and actually play the bootanimation to see it working on your phone without restarting!
To use adb to see it without restarting your phone open cmd by winkey+r then type cmd and then hit enter. in cmd navigate to your adb tools like this:
NOTE: I'll use mine as an example.
Code:
C:\Users\Name>cd C:\Android\platform-tools
NOTE: I typed "cd" then my tools location. Important.
Press Enter
Code:
adb remount
Press Enter
Code:
adb shell
Press Enter
Code:
bootanimation
Press Enter. Once you press enter this time the animation will play instantlly on your phone if all has went well. Also if it plays then the install has worked obviously...
To stop the animation press ctrl+c
I know this tut may seem a bit long, but once you do it a couple times I believe you will see this is the easiest and quickest way to change your bootanimation.
If your still confused, watch my Instruction Video file at youtube:
http://www.youtube.com/watch?v=LIeia2HAXXk
Will this work with the Samsung Fascinate? Thank you
i found bootanimation in data\media folder not data\local

LG Marquee has root!

I have a Marquee and have successfully rooted using http://androidnerds.net/2011/10/08/lg-esteem-oneclickroot-now-ready/. Apparently the LG Esteem is close enough for this to work. After install, you will need to manually update superuser via the market.
Thanks to Hoovhartid over at androidcentral forums for suggesting this.
Can u make backup for ur gb and upload it here?
Sent from my LG-P970 using XDA App
Fatcobrah, if you can give me instructions how to back it up, I will be glad to upload it. I have root access but not CWM recovery.
tcaudill01 said:
Fatcobrah, if you can give me instructions how to back it up, I will be glad to upload it. I have root access but not CWM recovery.
Click to expand...
Click to collapse
install Rom Manager from the market
ROM manager doesn't give an option for my phone for CWM and you can't back up your ROM without it.
Sorry but not risking bricking this thing if I make the wrong choice.
tcaudill01 said:
ROM manager doesn't give an option for my phone for CWM and you can't back up your ROM without it.
Sorry but not risking bricking this thing if I make the wrong choice.
Click to expand...
Click to collapse
Hmm you can use root explorer to copy all files & folder from root folder to sdcard
Sent from my Optimus Black using Tapatalk
lesp4ul said:
Hmm you can use root explorer to copy all files & folder from root folder to sdcard
Sent from my Optimus Black using Tapatalk
Click to expand...
Click to collapse
+1.and you can use adb to pull all files and boot.img ,and we can test it in a safer way
Okay guys, I thought what the hell, I'll try the LGE Black option in ROM manager and see what happens.
IT WORKS!!!!!!!!!!!!!!!!!!
Use the volume keys to move and the search button to select.
I have backed up the ROM from the Marquee and loaded on Mediafire.
The back up wasn't good, so i pulled the link. Sorry!
Hope this helps.
Sorry folks, I don't think the backup is any good. I tried another and it looks the same. It is too small and doesn't have musch data.
Can someone point me to, or step me through, how to pull all the files with adb. I'll be glad to pull and post.
tcaudill01 said:
Sorry folks, I don't think the backup is any good. I tried another and it looks the same. It is too small and doesn't have musch data.
Can someone point me to, or step me through, how to pull all the files with adb. I'll be glad to pull and post.
Click to expand...
Click to collapse
http://www.addictivetips.com/mobile/how-to-perform-and-restore-a-nandroid-backup/
am kinda noob too..so hope this will help!xD
first of all,you need a adb.exe
you can get it from super-one-click,or android sdk,google it
for example,we pull files at d:\system
copy adb files in d:\system
and then,open cmd(win+R,enter cmd)
connect your phone before we start.
type
Code:
d:
adb pull /system .\system
ok then it will pull all the system files into d:\system
does it back up to a directory on the SD card? if it does, you need all the files in the directory. there should be a few .img files along with the nandroid.md5 file. put them all in a zip and upload it.
look in sdcard: \clockworkmod\backup\
the directory the files are in should be named with a date+time stamp
Any chance?
mike-y said:
does it back up to a directory on the SD card? if it does, you need all the files in the directory. there should be a few .img files along with the nandroid.md5 file. put them all in a zip and upload it.
look in sdcard: \clockworkmod\backup\
the directory the files are in should be named with a date+time stamp
Click to expand...
Click to collapse
I've already tried the CWM backup and it is no good, only about 18 meg in size and missing almost everything important.
That is why I was trying to get directions on how to use ADB to pull system files and image from the phone.
tcaudill01 said:
I've already tried the CWM backup and it is no good, only about 18 meg in size and missing almost everything important.
That is why I was trying to get directions on how to use ADB to pull system files and image from the phone.
Click to expand...
Click to collapse
1. Download Android SDK http://developer.android.com/sdk/index.html
2. Install it on C: (not on Program Files for Easy Access)
3. Connect your phone through USB with debugging on
4. Open Command propt from your PC. (windows button + r / type "cmd" without quotes)
5. On command prompt type "cd c:\Android\ASDK\platform-tools" (without quotes then press Enter)
6. Then type "adb pull /system" (without quotes then press Enter)
7. wait till it's finished pulling the files
Now go to C:Android\ASDK\platform-tools. Copy all files now, zip it. Upload, they'll just exclude/disect the adb ones.
this is interesting. I'm going to try to use this method for rooting our P970.
Advices are welcome
Okay, I used ADB and was able to pull the system, boot.img and recovery.img.
Not sure if any of these are correct. The system file is HUGE (434mb zipped) but looks like every thing is there. Both boot and recovery are 5.00mb each.
If this looks right and is what you are after I will upload it to mediafire.
Let me know.
go go up it!, i wanna see if we can get a nice gingerbread with lg drivers from this.
tcaudill01 said:
Okay, I used ADB and was able to pull the system, boot.img and recovery.img.
Not sure if any of these are correct. The system file is HUGE (434mb zipped) but looks like every thing is there. Both boot and recovery are 5.00mb each.
If this looks right and is what you are after I will upload it to mediafire.
Let me know.
Click to expand...
Click to collapse
Yes... that's exactly what we need... just zip it and upload it...
tcaudill01 said:
Okay, I used ADB and was able to pull the system, boot.img and recovery.img.
Not sure if any of these are correct. The system file is HUGE (434mb zipped) but looks like every thing is there. Both boot and recovery are 5.00mb each.
If this looks right and is what you are after I will upload it to mediafire.
Let me know.
Click to expand...
Click to collapse
nicely done
now let our chef master to cook it

(guide) how to deodex your stock lg g flex rom

GUIDE ON HOW TO "DEODEX"
YOUR STOCK ROM ON PC
THIS IS FOR LG G FLEX ON JELLY BEAN 4.2.2
HAS NOT BEEN TESTED ON KITKAT 4.4
THIS IS NOT FOR ANYONE WHO IS NOT
COMFORTABLE WITH "ADB" AND ITS COMMANDS!!!
IM NOT RESPONSIBLE FOR YOUR CHOICE TO FOLLOW THIS GUIDE OR IF YOU STRAY FROM THE GUIDE AND SCREW UP YOUR DEVICE BY JAMMING FORKS IN THE USB PORT OR USING IT AS A FLOATATION DEVICE (doesnt work, i tried, sinks right to the bottom)
So with that said lets begin.
​There are a few things youll need to do to get set up if you havent already implemented these. Things youll need : adb set up, android sdk, xUltimate v2.4.2, fresh stock phone (backed up), fairly descent understanding of adb and its commands, and one toothpick.
1.Download android-sdk & extract it. http://developer.android.com/sdk/index.html
2. Download xUltimate v2.4.2 & extract it. http://www.xeudoxus.com/android/xUltimate-v2.4.2.zip
3.Copy the extracted android-sdk contents to a new folder youre going to create in C:/Program Files/Android
4.Change name in this folder there is a folder named SDK change it to Android.sdk.
So that you end up with a folder inside C:/Program Files/Android named "Android.sdk" C:/Program Files/Android/Android.sdk
In that folder you should have :
build-tools
extras
platform-tools
system-images
tools
FOR THOSE OF YOU, IF YOURE LIKE ME AND HAVE HAD SDK/ADB INSTALLED FOR A WHILE ON YOUR PC YOU MAY NEED TO UPDATE TO VERSION 1.0.31 OR NEWER. I HAD TO AND THAT MADE ALL THE DIFFERENCE. JUST PULL THESE FILES OUT OF THE NEW VERSION AND PASTE WHERE YOU HAVE YOUR SDK/ADB SET UP
FILES TO COPY AND PASTE
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
THAT SHOULD HAVE YOU UP TO DATE
5. You need to flash back to stock and reroot. For this you can follow this thread to do so :
http://forum.xda-developers.com/showthread.php?t=2644083
6. I hope it goes with out saying, MAKE A BACKUP AND SAVE IT SOMEWHERE BESIDES YOU PHONE AS WELL AS ON YOUR PHONE !!!!!
7. Make sure usb debugging in enabled. If you dont no how to do this then you shouldnt be doing this and you best bet would be to go to the PLAY STORE and download GO LAUNCHER and some GO themes to make your phone "prettier" This is for themers out there to be able to have a deodexed rom (system/app folder & system/framework folder) to be able to theme and mod.
8. Connect your phone to your computer.
9. Launch Main.exe In the xultimate folder. (run as administrator)
10. Select option 1 (pull /system/app) wait till its done it will take 20+ mins
11. Select option 2 (pull /system/framework) wait till its done it will take about half as long
12. Select option 3 (Deodex /system/app) wait till its done
[If encounter any error. Find out which .odex file it is . Then remove .odex file from the origi_app in xUltimate folder]
13. Select option 4 (Deodex /system/framework) wait till its done
14. Now select EXIT.
15. Rename the folder "done_app" to "app" and the "done_frame" to "framework"
16. Copy the 2 files you just renamed to the root of your sdcard on you your LG G Flex.
17. Now youre done with the hard part and the time consuming part.
TIME TO GET THOSE FRESHLY DEODEXED FILES
PUT BACK WHERE THE BELONG
THIS IS WHERE YOULL NEED TO USE adb.
​1. Again make sure you have usb debugging eneabled, connect your phone to PC and make sure its in "MTP" mode.
2. Navigate to where you put your sdk files you extracted earlier.
C:/Program Files/Android/Android.sdk
3. Now in the Android.sdk folder hold "shift" and right click inside folder then select from the drop down menu "open command prompt here"
If this is the first time youve used adb on this phone then make sure you get the supersu prompt asking for permission to use adb from this PC.
4. Enter these commands one line at a time and hit enter after each line. Some lines may take several minutes to do their thing but be patient it will give you another cursor and cmd prmt line to type on. (VERY IMPORTANT TO DO THIS EXACTLY PER INSTRUCTIONS !!!!!) !!!!!! DONT ENTER ANYTHING IN RED ITS JUST EXPLANATION !!!
adb devices should see your device
adb shell
su
mount -o rw,remount /system/ /system/
cp /sdcard/app/* /system/app/
rm /system/app/*.odex
cp /sdcard/framework/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
NOW IF EVERYTHING WENT WELL YOU REBOOTED AND HAVE A DEODEXED ROM!!
6. Congradulations you have now deodexed your LG G Flex stock rom and can now begin theming. I suggest before you do anything else you reboot into recovery and make a back up so if anything gets fubared you dont have to restore to an odex rom and go thru this again.
UPDATE : THIS DOES WORK ON KITKAT 4.4
Reservered
Sent from my LG-D959 using Tapatalk
works
It works with 4.4
Thanks dude
mattwheat said:
GUIDE ON HOW TO "DEODEX"
YOUR STOCK ROM ON PC
THIS IS FOR LG G FLEX ON JELLY BEAN 4.2.2
HAS NOT BEEN TESTED ON KITKAT 4.4
THIS IS NOT FOR ANYONE WHO IS NOT
COMFORTABLE WITH "ADB" AND ITS COMMANDS!!!
IM NOT RESPONSIBLE FOR YOUR CHOICE TO FOLLOW THIS GUIDE OR IF YOU STRAY FROM THE GUIDE AND SCREW UP YOUR DEVICE BY JAMMING FORKS IN THE USB PORT OR USING IT AS A FLOATATION DEVICE (doesnt work, i tried, sinks right to the bottom)
So with that said lets begin.
​There are a few things youll need to do to get set up if you havent already implemented these. Things youll need : adb set up, android sdk, xUltimate v2.4.2, fresh stock phone (backed up), fairly descent understanding of adb and its commands, and one toothpick.
1.Download android-sdk & extract it. http://developer.android.com/sdk/index.html
2. Download xUltimate v2.4.2 & extract it. http://www.xeudoxus.com/android/xUltimate-v2.4.2.zip
3.Copy the extracted android-sdk contents to a new folder youre going to create in C:/Program Files/Android
4.Change name in this folder there is a folder named SDK change it to Android.sdk.
So that you end up with a folder inside C:/Program Files/Android named "Android.sdk" C:/Program Files/Android/Android.sdk
In that folder you should have :
build-tools
extras
platform-tools
system-images
tools
FOR THOSE OF YOU, IF YOURE LIKE ME AND HAVE HAD SDK/ADB INSTALLED FOR A WHILE ON YOUR PC YOU MAY NEED TO UPDATE TO VERSION 1.0.31 OR NEWER. I HAD TO AND THAT MADE ALL THE DIFFERENCE. JUST PULL THESE FILES OUT OF THE NEW VERSION AND PASTE WHERE YOU HAVE YOUR SDK/ADB SET UP
FILES TO COPY AND PASTE
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
THAT SHOULD HAVE YOU UP TO DATE
5. You need to flash back to stock and reroot. For this you can follow this thread to do so :
http://forum.xda-developers.com/showthread.php?t=2644083
6. I hope it goes with out saying, MAKE A BACKUP AND SAVE IT SOMEWHERE BESIDES YOU PHONE AS WELL AS ON YOUR PHONE !!!!!
7. Make sure usb debugging in enabled. If you dont no how to do this then you shouldnt be doing this and you best bet would be to go to the PLAY STORE and download GO LAUNCHER and some GO themes to make your phone "prettier" This is for themers out there to be able to have a deodexed rom (system/app folder & system/framework folder) to be able to theme and mod.
8. Connect your phone to your computer.
9. Launch Main.exe In the xultimate folder. (run as administrator)
10. Select option 1 (pull /system/app) wait till its done it will take 20+ mins
11. Select option 2 (pull /system/framework) wait till its done it will take about half as long
12. Select option 3 (Deodex /system/app) wait till its done
[If encounter any error. Find out which .odex file it is . Then remove .odex file from the origi_app in xUltimate folder]
13. Select option 4 (Deodex /system/framework) wait till its done
14. Now select EXIT.
15. Rename the folder "done_app" to "app" and the "done_frame" to "framework"
16. Copy the 2 files you just renamed to the root of your sdcard on you your LG G Flex.
17. Now youre done with the hard part and the time consuming part.
TIME TO GET THOSE FRESHLY DEODEXED FILES
PUT BACK WHERE THE BELONG
THIS IS WHERE YOULL NEED TO USE adb.
​1. Again make sure you have usb debugging eneabled, connect your phone to PC and make sure its in "MTP" mode.
2. Navigate to where you put your sdk files you extracted earlier.
C:/Program Files/Android/Android.sdk
3. Now in the Android.sdk folder hold "shift" and right click inside folder then select from the drop down menu "open command prompt here"
If this is the first time youve used adb on this phone then make sure you get the supersu prompt asking for permission to use adb from this PC.
4. Enter these commands one line at a time and hit enter after each line. Some lines may take several minutes to do their thing but be patient it will give you another cursor and cmd prmt line to type on. (VERY IMPORTANT TO DO THIS EXACTLY PER INSTRUCTIONS !!!!!) !!!!!! DONT ENTER ANYTHING IN RED ITS JUST EXPLANATION !!!
adb devices should see your device
adb shell
su
mount -o rw,remount /system/ /system/
cp /sdcard/app/* /system/app/
rm /system/app/*.odex
cp /sdcard/framework/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
NOW IF EVERYTHING WENT WELL YOU REBOOTED AND HAVE A DEODEXED ROM!!
6. Congradulations you have now deodexed your LG G Flex stock rom and can now begin theming. I suggest before you do anything else you reboot into recovery and make a back up so if anything gets fubared you dont have to restore to an odex rom and go thru this again.
Click to expand...
Click to collapse
Dang dude I just posted this and you've already done it. Wow maybe you should have written this thread. Lmao. It took me several hours to figure out my adb being older version was why it wasn't working.
Sent from my LG-D959 using Tapatalk
mattwheat said:
GUIDE ON HOW TO "DEODEX"
YOUR STOCK ROM ON PC
THIS IS FOR LG G FLEX ON JELLY BEAN 4.2.2
HAS NOT BEEN TESTED ON KITKAT 4.4
THIS IS NOT FOR ANYONE WHO IS NOT
COMFORTABLE WITH "ADB" AND ITS COMMANDS!!!
IM NOT RESPONSIBLE FOR YOUR CHOICE TO FOLLOW THIS GUIDE OR IF YOU STRAY FROM THE GUIDE AND SCREW UP YOUR DEVICE BY JAMMING FORKS IN THE USB PORT OR USING IT AS A FLOATATION DEVICE (doesnt work, i tried, sinks right to the bottom)
So with that said lets begin.
​There are a few things youll need to do to get set up if you havent already implemented these. Things youll need : adb set up, android sdk, xUltimate v2.4.2, fresh stock phone (backed up), fairly descent understanding of adb and its commands, and one toothpick.
1.Download android-sdk & extract it. http://developer.android.com/sdk/index.html
2. Download xUltimate v2.4.2 & extract it. http://www.xeudoxus.com/android/xUltimate-v2.4.2.zip
3.Copy the extracted android-sdk contents to a new folder youre going to create in C:/Program Files/Android
4.Change name in this folder there is a folder named SDK change it to Android.sdk.
So that you end up with a folder inside C:/Program Files/Android named "Android.sdk" C:/Program Files/Android/Android.sdk
In that folder you should have :
build-tools
extras
platform-tools
system-images
tools
FOR THOSE OF YOU, IF YOURE LIKE ME AND HAVE HAD SDK/ADB INSTALLED FOR A WHILE ON YOUR PC YOU MAY NEED TO UPDATE TO VERSION 1.0.31 OR NEWER. I HAD TO AND THAT MADE ALL THE DIFFERENCE. JUST PULL THESE FILES OUT OF THE NEW VERSION AND PASTE WHERE YOU HAVE YOUR SDK/ADB SET UP
FILES TO COPY AND PASTE
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
THAT SHOULD HAVE YOU UP TO DATE
5. You need to flash back to stock and reroot. For this you can follow this thread to do so :
http://forum.xda-developers.com/showthread.php?t=2644083
6. I hope it goes with out saying, MAKE A BACKUP AND SAVE IT SOMEWHERE BESIDES YOU PHONE AS WELL AS ON YOUR PHONE !!!!!
7. Make sure usb debugging in enabled. If you dont no how to do this then you shouldnt be doing this and you best bet would be to go to the PLAY STORE and download GO LAUNCHER and some GO themes to make your phone "prettier" This is for themers out there to be able to have a deodexed rom (system/app folder & system/framework folder) to be able to theme and mod.
8. Connect your phone to your computer.
9. Launch Main.exe In the xultimate folder. (run as administrator)
10. Select option 1 (pull /system/app) wait till its done it will take 20+ mins
11. Select option 2 (pull /system/framework) wait till its done it will take about half as long
12. Select option 3 (Deodex /system/app) wait till its done
[If encounter any error. Find out which .odex file it is . Then remove .odex file from the origi_app in xUltimate folder]
13. Select option 4 (Deodex /system/framework) wait till its done
14. Now select EXIT.
15. Rename the folder "done_app" to "app" and the "done_frame" to "framework"
16. Copy the 2 files you just renamed to the root of your sdcard on you your LG G Flex.
17. Now youre done with the hard part and the time consuming part.
TIME TO GET THOSE FRESHLY DEODEXED FILES
PUT BACK WHERE THE BELONG
THIS IS WHERE YOULL NEED TO USE adb.
​1. Again make sure you have usb debugging eneabled, connect your phone to PC and make sure its in "MTP" mode.
2. Navigate to where you put your sdk files you extracted earlier.
C:/Program Files/Android/Android.sdk
3. Now in the Android.sdk folder hold "shift" and right click inside folder then select from the drop down menu "open command prompt here"
If this is the first time youve used adb on this phone then make sure you get the supersu prompt asking for permission to use adb from this PC.
4. Enter these commands one line at a time and hit enter after each line. Some lines may take several minutes to do their thing but be patient it will give you another cursor and cmd prmt line to type on. (VERY IMPORTANT TO DO THIS EXACTLY PER INSTRUCTIONS !!!!!) !!!!!! DONT ENTER ANYTHING IN RED ITS JUST EXPLANATION !!!
adb devices should see your device
adb shell
su
mount -o rw,remount /system/ /system/
cp /sdcard/app/* /system/app/
rm /system/app/*.odex
cp /sdcard/framework/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
NOW IF EVERYTHING WENT WELL YOU REBOOTED AND HAVE A DEODEXED ROM!!
6. Congradulations you have now deodexed your LG G Flex stock rom and can now begin theming. I suggest before you do anything else you reboot into recovery and make a back up so if anything gets fubared you dont have to restore to an odex rom and go thru this again.
Click to expand...
Click to collapse
UPDATE : THIS DOES WORK ON KITKAT 4.4
Sent from my LG-D959 using Tapatalk
Wow that must be a good sign of a well explained tutorial when 80+ people read it and no questions or issues.
Sent from my LG-D959 using Tapatalk
mattwheat said:
Wow that must be a good sign of a well explained tutorial when 80+ people read it and no questions or issues.
Sent from my LG-D959 using Tapatalk
Click to expand...
Click to collapse
Is true guy, in my 6 years of xda is the device more boring i had, anybody react to our treads, neither with a simple thanks, i will try, or worked well, thanks
At least dont have people saying, how i open cmd?this will explode my device? Hehe
Enviado de meu LG-D958 usando Tapatalk
Maikeu Locatelli said:
Is true guy, in my 6 years of xda is the device more boring i had, anybody react to our treads, neither with a simple thanks, i will try, or worked well, thanks
At least dont have people saying, how i open cmd?this will explode my device? Hehe
Enviado de meu LG-D958 usando Tapatalk
Click to expand...
Click to collapse
right right I guess it could be bad and be getting bombarded with how to and dumb questions. I figured more people would want to have a deodexed ROM so that xtheme beta5 and hkthemer themed more of their system.
Sent from my LG-D959 using Tapatalk
removed odex
Ok, get ready for it here comes the dumb nOOb question: When i remove odex file in orig_app and rerun xultimate, app associated with odex is no longer in done app folder, is that how it goes down or should i be doing something differently when i run into errors?, thank you
Yes when you remove odex in orig folder then rerun some apps not necessary to have and any apps that error out that are you will have to Google them and find the deodex version. But if you used the lgflash back to stock then rerooted you shouldn't get any errors on any necessary apps. I didn't. There where 3 maybe five that I got errors on but they weren't necessary to have so I deleted them.
Sent from my LG-D959 using Tapatalk
mattwheat said:
Yes when you remove odex in orig folder then rerun some apps not necessary to have and any apps that error out that are you will have to Google them and find the deodex version. But if you used the lgflash back to stock then rerooted you shouldn't get any errors on any necessary apps. I didn't. There where 3 maybe five that I got errors on but they weren't necessary to have so I deleted them.
Sent from my LG-D959 using Tapatalk
Click to expand...
Click to collapse
I'm not trying to hijack your thread but if anybody is interested I found another similar method specifically for KK. I have used it and it works perfectly. The only apk that it wouldn't deodex was the stock LG keyboard. If anybody would like a link I could share. It does not work real well with 4.2 so this one here is the best option for 4.2.
No problem. If there's an easier method by all means. I didn't even know when I wrote this one if it worked on kk or not. I'm still on 4.2.2 for the recovery.
http://forum.xda-developers.com/showthread.php?t=2725930
I used this as instructed and it takes a while but worked perfectly. I will save you some time and tell you to remove lg stock keyboard. Tool does deodex but for some reason will not work. Just adb push using same method as stated in op except you will have to add a step for the priv app. I take no credit or responsibility but I've used it myself and it does work.
Sent from my LG-D950 using XDA Premium 4 mobile app
Matt check your pm plz
mattwheat said:
Wow that must be a good sign of a well explained tutorial when 80+ people read it and no questions or issues.
Sent from my LG-D959 using Tapatalk
Click to expand...
Click to collapse
This is the best explained way to deodex a ROM I've ever seen. Definitely going to try. Will be the first time I've read a how to on deodexing and feel confident enough to try it myself instead of installing someone elses deodexed ROM. But I may revisit with a question lol

Automated system/boot.img unpack/repack script

Hello everyone,
I've been playing around with adding root to my stock ROM these past few days, and have found it very slow and tedious trying to remember all the commands to unpack and repack the images.
To make things simpler I've created a script that automates almost the whole process.
I've named it worker as it does all the work for you, and it is just simply a bash script. But it makes things a lot quicker and easier.
I have only been able to test with my S3 Mini, but should work with any ROM that has boot.img and system.img
Simply extract the .img files from the tar.md5 or .zip ROM file, and place them in the original folder.
Once you have those in the original folder just simply run the worker.txt file from the terminal, making sure you are in the worker folder directory.
When the script is run you will be given the options to unpack/repack system.img, mount system.img (This is after you extract it do not try and mount the original file it wont work), unpack/repack boot.img, unpack/repack ramdisk, create ROM (This will create an odin flashable tar.md5 from the repacked files) and finally clean up (This will clear all unpacked and repacked files only leaving the files in the original folder)
To select an option simply type y then enter to execute that command or just hit enter to skip.
When the system.img is mounted it will be mounted in the mount folder.
When repacking the system.img you will be prompted to enter the file size, if you have and S3 Mini I8190N simply type s3mini for the size (This may work for other S3 models but I have no way of testing so let me know). If you have a different device use the file size of the original UNMODIFIED system.img, enter the size in bytes or MB (If entering in MB use this format, xxx being a number. xxxM).
Please give me feedback for improvements or problems,
Thanks for reading.
P.S. Sorry if in wrong place please move if necessary
EDIT: If you can't run the script with the ./ command, chmod +x the file
Antonyb1995 said:
Hello everyone,
I've been playing around with adding root to my stock ROM these past few days, and have found it very slow and tedious trying to remember all the commands to unpack and repack the images.
To make things simpler I've created a script that automates almost the whole process.
I've named it worker as it does all the work for you, and it is just simply a bash script. But it makes things a lot quicker and easier.
I have only been able to test with my S3 Mini, but should work with any ROM that has boot.img and system.img
Simply extract the .img files from the tar.md5 or .zip ROM file, and place them in the original folder.
Once you have those in the original folder just simply run the worker.txt file from the terminal, making sure you are in the worker folder directory.
When the script is run you will be given the options to unpack/repack system.img, mount system.img (This is after you extract it do not try and mount the original file it wont work), unpack/repack boot.img, unpack/repack ramdisk, create ROM (This will create an odin flashable tar.md5 from the repacked files) and finally clean up (This will clear all unpacked and repacked files only leaving the files in the original folder)
To select an option simply type y then enter to execute that command or just hit enter to skip.
When the system.img is mounted it will be mounted in the mount folder.
When repacking the system.img you will be prompted to enter the file size, if you have and S3 Mini I8190N simply type s3mini for the size (This may work for other S3 models but I have no way of testing so let me know). If you have a different device use the file size of the original UNMODIFIED system.img, enter the size in bytes or MB (If entering in MB use this format, xxx being a number. xxxM).
Please give me feedback for improvements or problems,
Thanks for reading.
P.S. Sorry if in wrong place please move if necessary
Click to expand...
Click to collapse
work on gt-i8200n to?
linklusitano said:
work on gt-i8200n to?
Click to expand...
Click to collapse
No reason why not, I'm just not able to test others
Antonyb1995 said:
No reason why not, I'm just not able to test others
Click to expand...
Click to collapse
testing
linklusitano said:
testing
Click to expand...
Click to collapse
Great let me know if it works!
EDIT: Make sure you enter the right size for the system.img file, the pre entered size using s3mini may work fine as they are very similar devices.
Antonyb1995 said:
Great let me know if it works!
EDIT: Make sure you enter the right size for the system.img file, the pre entered size using s3mini may work fine as they are very similar devices.
Click to expand...
Click to collapse
how do i run worker.txt?
linklusitano said:
how do i run worker.txt?
Click to expand...
Click to collapse
Your using Linux right?
Open a terminal and change directory to the worker folder, once there type ./worker.txt and it should run. If it doesn't issue this command chmod +x worker.txt that should fix it.
Antonyb1995 said:
Your using Linux right?
Open a terminal and change directory to the worker folder, once there type ./worker.txt and it should run. If it doesn't issue this command chmod +x worker.txt that should fix it.
Click to expand...
Click to collapse
windows 8.1
linklusitano said:
windows 8.1
Click to expand...
Click to collapse
Ah okay, If you install Cygwin you can run bash scripts in Windows.
LINK: https://www.cygwin.com/

Categories

Resources