Updated version to enable Unknown Sources - Flipside Android Development

This is the latest release of my fix (June 14, 2011). This version addresses the Market ID and Moto Blur issue.
This version does not require the use of scripts on the phone. It uses ADB and sqlite3 (both are included in the zip file).
I created a new thread here because the older version was so full of bugs and comments about said bugs I figured it was time to start fresh, seeing how I am using a different method (the method I should have used to begin with) for this hack. Also, this should have been in development to begin with.
I have not had a chance to test the latest version, aside from verifying the awk command works as exptected. The rest is a strong educated guess, mixed with a re-tooling of it to just use Android Debug Bridge to do what I was having scripts do in the past. Should be much more reliable.
IF YOU DECIDE TO USE THESE INSTRUCTIONS: PLEASE, read through this page entirely from top to bottom at least once prior to doing anything. This way, if you are unsure on anything, you can ask the questions you need answers to. I am not liable for anybody messing up their phone because they didn't think to read the F'n manual prior to following these steps.
If you don't read this through completely before starting, and you brick your system, Don't come crying to me. I warned you.
This version makes it close to impossible to brick the system, but I left that bit in to cover my arse.
If you do not have the phone rooted, download the second zip file, and install the drivers found below:
Motorola Driver(install before you run the batch file)
You will need to enable USB Debugging:
On your phone,go to Settings->Applications->Development->Check "USB Debugging"
Latest version installs busybox for you, but if it doesn't, the script will pause for you to check, and tell you how to quit out of my script before proceding. If you have issues with that, let me know. I haven't tested this version, but by all accounts, it should be more reliable than my previous iterations, with the plus side of not having to purchase an app.
I have not tested it, so you may still need to tell it to install, but it should install the apk.
1. Download the attachment located in this post.
Unzip to a folder on your desktop.
PLUG IN YOUR PHONE NOW!!!
Double click on the batch file ("enable_unknown_sources.bat"). You may have to run as administrator, but I don't think so. Built on Windows XP (I'm a linux guy who wrote this at work in a couple minutes)
When it prompts for you to OK the super user for "unknown", look at your phone. It should have a prompt. If not, it may be ok. We will see....
once your phone has rebooted, you phone will have "unknown sources" enabled already. Don't worry about rebooting. The batch file did that for you.
Quite a bit less work than before. Good news: it's done! never to worry about it again...unless you upgrade....
DISCLAIMER:
DO NOT FOLLOW ANY OF MY STEPS IF YOU ARE UNSURE OF WHAT YOU ARE DOING! I have done my best to ensure that the instructions are accurate, but I made mistakes in the first revision, so who's to say that I didn't miss something this go 'round as well? If you decide to follow this walk-through, your actions are an agreement to not hold me liable if your phone becomes a pretty brick. I am not responsible for what you do with this information. If you have no idea how to do any portion of these instructions, you can either walk away (best idea), or ask for help here.
I am also not the 2nd shooter on the grassy knoll, nor am I the cause of all your woes throughout life. I always wanted to say that in a disclaimer.
Thanks to Vahnyyz for reminding me that I forgot to have you enable USB Debugging.
IF YOU HAVE PROBLEMS:
Have you installed the Motorola Drivers?
Do you have Debugging enabled?
If the answer to the 2 questions above are "yes, damnit! Give me a good answer, and stop wasting my time with these stupid questions", then you will need to tell me at what point the scripts fail. I will look into the problem as fast as I can.

so I tried the program you put on and everything because I haven't been able to root my phone as of yet, but the file I downloaded that included rooting did not work, everytime I ran the application it stated that "Device Not Found" and my phone is connected through USB at the moment.

Forgot a part
Thanks for letting me know about your issue. You need to do the following:
Ensure you have installed the drivers on you computer
Ensure USB Debugging is turned on
To enable USB Debugging, (on your phone...duh) go to Settings->Applications->Development->Check "USB Debugging"

as soon as I run the. bat file, command screen tells me to make sure that busybox is installed, which it is, to unplug phone, go to, busybox and install. Wife's phone is already rooted, once I hit next, "unknown" will pop up on the screen for a second and then....nothing.

Need to fix that to state "....after you ensure busybox is installed, plug phone back in"
Just plug the phone back up prior to proceding
Sent from my GT-I9000 using XDA App

How is the no blur version coming along....anxiously waiting for that!

JBallin4life27 said:
How is the no blur version coming along....anxiously waiting for that!
Click to expand...
Click to collapse
I am running into a problem I believe is caused by an older version of clockworkmod. I am trying to see if I can get a newer version running.
The issue:
It appears that the update file I generate is incompatable with the updater built into the version of ClockWorkMod I am running. Anybody have a newer build of the CWM I can use for testing?

jonsjava said:
I am running into a problem I believe is caused by an older version of clockworkmod. I am trying to see if I can get a newer version running.
The issue:
It appears that the update file I generate is incompatable with the updater built into the version of ClockWorkMod I am running. Anybody have a newer build of the CWM I can use for testing?
Click to expand...
Click to collapse
I had CM6 running on my motorola backflip and still have all the files saved on my computer...would it be in there somewhere and would that be useful to you?

JBallin4life27 said:
I had CM6 running on my motorola backflip and still have all the files saved on my computer...would it be in there somewhere and would that be useful to you?
Click to expand...
Click to collapse
I'm needing the second stage recovery file to make ClockWorkMod something newer than 2.x.x Needing to have it somewhere in the neighborhood of 3.x

jonsjava said:
I'm needing the second stage recovery file to make ClockWorkMod something newer than 2.x.x Needing to have it somewhere in the neighborhood of 3.x
Click to expand...
Click to collapse
Yea lol...no idea what that all means...sorry i'm not any help

Related

Help, Please

So, I have tried all methods posted here. I have not gotten a new sdcard, so that could be it, but if you sift through all these threads, many people have gotten root with the card that came from verizon. Also, would it help to wipe out my phone? Not exactly sure how to do it, but would it help? Also, I hear my phone connect with the usb sounds, but it seems like sometimes I get a quick 3 tones and it doesn't connect. Not sure what that means either.
If anyone can please help, I would appreciate it!
if your not sure if it connected right, open the device manager and see if it is appearing on there.
As far as i know wiping your phone probly won't really help much either.
rstandi said:
So, I have tried all methods posted here. I have not gotten a new sdcard, so that could be it, but if you sift through all these threads, many people have gotten root with the card that came from verizon. Also, would it help to wipe out my phone? Not exactly sure how to do it, but would it help? Also, I hear my phone connect with the usb sounds, but it seems like sometimes I get a quick 3 tones and it doesn't connect. Not sure what that means either.
If anyone can please help, I would appreciate it!
Click to expand...
Click to collapse
There are about 10 threads on adb shell/rooting difficulties already. Why didn't you just bump an older one?
When you connect the usb to the phone what mounting setting did you select? It needs to be on charge only.
So, I have tried all methods posted here.
Click to expand...
Click to collapse
I have rooted two phones using various methods. The Easiest method? Who knows, but this is what I did, I in NO way take credit for this method. This is a culmination of various methods I found on various forums. Thank you to everyone here and on androidforums. Give it a shot.
1. Uninstall HTC sync and PDAnet (If installed)
2. Install drivers as specified for re-flash recovery from revoked team (HTML file has instruction in recovery zip - unrevoked.com/recovery/android-usb-driver.zip
3. Restart PC
4. Install PDANet - junefabrics.com/android/
5. Make sure to complete all steps for PDANet
6. Make default connection on phone, "Disk Drive" AND Turn on "USB Debugging"
7. Shut down the phone
8. Unclick the card
9. Volume down + Power into bootloader
10. Run adb shell in cmd prompt as loop(loop.bat)
11. Start recovery and wait .5 - 1 second after you hear the disconnect sound to click in your card.
12. You should see error device not found change to the other message IF LUCKY.
13. IF NOT,
- Let loop.bat continue to run
- Pull battery, unclick SD card
- Vol down + Power
- Recovery
- Listen for 2 tones (Count aloud..it helps)..
Quick - Insert card right after/during second (Change timing up slightly between tries)
Keep trying, my second root didn't take as long as my first but was easier. I think the unrevoked bootloader drivers with the PDANet usb drivers really make this easier. The other great thing is after you get root, you are set up to do the flash immediately using this method. Its just one more method that worked for me, hope this method helps you succeed. Good luck.
can anyone definitively explain to me which type of usb connection (e.g. "charge only", "disk drive") is necessary to get into shell and why? I have looked at what the various threads have to say about this. In fact that's the problem--I have found contradicting opinions posted on this matter. In my admittedly inexperienced mind, it seems like I should be fine either way, as long as adb recognizes my device.
davisbs999 said:
can anyone definitively explain to me which type of usb connection (e.g. "charge only", "disk drive") is necessary to get into shell and why? I have looked at what the various threads have to say about this. In fact that's the problem--I have found contradicting opinions posted on this matter. In my admittedly inexperienced mind, it seems like I should be fine either way, as long as adb recognizes my device.
Click to expand...
Click to collapse
I used disk drive the first time, and can not recall what I used on my second device. I see that it is contradicting throughout. I really do not think it even makes a difference because you are doing a battery pull and it never reaches that step on the phone. The important thing in my opinion are the drivers and timing.
Studmf said:
I used disk drive the first time, and can not recall what I used on my second device. I see that it is contradicting throughout. I really do not think it even makes a difference because you are doing a battery pull and it never reaches that step on the phone. The important thing in my opinion are the drivers and timing.
Click to expand...
Click to collapse
I rooted my cousin's Droid Incredible and I had Disk Drive enabled. I just want to say THANK YOU Studmf!!!!! I was stuck because I had HTC Sync installed and was stuck forever trying to root the Incredible. The instructions that I WAS following left that detail out.

PSFreedom ANSWERS TO YOUR QUESTIONS.

You can hack your PS3 with your evo. Please refer to http://forum.xda-developers.com/showthread.php?t=778202 for the files and informations....
Some points of interest.
1) If you run any rom but fresh, your evo will freeze during the white loading screen, its normal, it will still do the hack. (have not verified myself, I run cyanogen and it freezes on white loading screen, still hacked my ps3)
2) You must have Amon Ra 1.8 or higher or the latest Clockwork Recovery or else you cannot flash the hack to your phone. It will give a digest error.
3) You must have firmware 3.41 installed on your PS3, not 3.15 not 3.42. If you have any other firmware, your ps3 just will not show anything on the screen. If the hack is installed correctly, it will take about 10 seconds, no more.
In order to install firmware 3.41 you can download it from PS3 - Hacks - firmware 3.41 and then visit Playstations Website for installation directions. In order to learn how to update your ps3 WITHOUT doing an auto update which WILL MAKE SURE YOU CANNOT INSTALL THE HACK.
4) Whatever device you load the backup manager package on, will be the only device you can do add backups to. IE: if you load backup manager on your evo in USB storage mode, you will only be able to back up to your evo. I suggest, swallowing 100 bucks and getting an external drive, install device manager to that, then do all your backups to the drive. ORRRRRRRR Buy a 2.5 terabyte drive and install it internally to your ps3.
5) Now instead of a nandrestore there is a disable file you can flash. Check out http://wiki.psfreedom.com/wiki/HTC_EVO
--------------------- Instructions for installing PSfreedom hack with your EVO ---------------------------
1) Bakckup your nandroid then Flash the zip to your evo
2) Reboot your evo (most likely will freeze on reboot, its normal)
3) Make sure you have Firmware 3.41 on your PS3, if not, use an SD card, DVD, or Flash Drive to install the proper firmware.
4) Unplug your power cable to the ps3
5) Plug your EVO into the PS3 via USB cable
6) Plug in your ps3 power cable
7) Press the power buttom immediately followed by the eject button on your ps3 (will beep twice)
8) Wait no longer than 60 seconds for your ps3 to boot, if it does not, refer to the above information about firmwares and files.
9) Once the PS3 boots go to the game menu, and look for install packages.
10) Flash the disable zip file or do a nand restore to your evo.
If you have the option to install packages, its official! You are hacked.
kamitsuna said:
5) Once you have installed Backup Manager to your permanent storage solution, you WILL NOT NEED TO USE YOUR EVO to boot your ps3 anymore. You only need this hack in order to install unsigned code. Once the code is installed, its there permanently. (Have not verified myself).
Definitely NOT true, you will need to have the device plugged in every time.
Click to expand...
Click to collapse
kamitsuna said:
You can hack your PS3 with your evo. Please refer to http://forum.xda-developers.com/showthread.php?t=778202 for the files and informations....
Some points of interest.
1) If you run any rom but fresh, your evo will freeze during the white loading screen, its normal, it will still do the hack. (have not verified myself, I run cyanogen and it freezes on white loading screen, still hacked my ps3)
2) You must have Amon Ra 1.8 or higher or the latest Clockwork Recovery or else you cannot flash the hack to your phone. It will give a digest error.
3) You must have firmware 3.41 installed on your PS3, not 3.15 not 3.42. If you have any other firmware, your ps3 just will not show anything on the screen. If the hack is installed correctly, it will take about 10 seconds, no more.
In order to install firmware 3.41 you can download it from PS3 - Hacks - firmware 3.41 and then visit Playstations Website for installation directions. In order to learn how to update your ps3 WITHOUT doing an auto update which WILL MAKE SURE YOU CANNOT INSTALL THE HACK.
4) Whatever device you load the backup manager package on, will be the only device you can do add backups to. IE: if you load backup manager on your evo in USB storage mode, you will only be able to back up to your evo. I suggest, swallowing 100 bucks and getting an external drive, install device manager to that, then do all your backups to the drive. ORRRRRRRR Buy a 2.5 terabyte drive and install it internally to your ps3.
5) Once you have installed Backup Manager to your permanent storage solution, you WILL NOT NEED TO USE YOUR EVO to boot your ps3 anymore. You only need this hack in order to install unsigned code. Once the code is installed, its there permanently. (Have not verified myself).
6) Now instead of a nandrestore there is a disable file you can flash. Check out http://wiki.psfreedom.com/wiki/HTC_EVO
--------------------- Instructions for installing PSfreedom hack with your EVO ---------------------------
1) Bakckup your nandroid then Flash the zip to your evo
2) Reboot your evo (most likely will freeze on reboot, its normal)
3) Make sure you have Firmware 3.41 on your PS3, if not, use an SD card, DVD, or Flash Drive to install the proper firmware.
4) Unplug your power cable to the ps3
5) Plug your EVO into the PS3 via USB cable
6) Plug in your ps3 power cable
7) Press the power buttom immediately followed by the eject button on your ps3 (will beep twice)
8) Wait no longer than 60 seconds for your ps3 to boot, if it does not, refer to the above information about firmwares and files.
9) Once the PS3 boots go to the game menu, and look for install packages.
10) Flash the disable zip file or do a nand restore to your evo.
If you have the option to install packages, its official! You are hacked.
Click to expand...
Click to collapse
i appreciate your help to the community and i have implemented some of it into my thread but some of the info you posted is wrong such as device manager, i believe you mean back up manager and that is not true that you need to install it on there. Anyway, thanks for the help, i have added it to my post, but i dont think this thread belongs here, more like answers part of forum.
#5 sounds wrong. I doubt the PS3 will ever run your unsigned code without the PSFreedom hack enabled by the Evo at every bootup, even if successfully installed on a previous boot.
WIIWONWON said:
kamitsuna said:
5) Once you have installed Backup Manager to your permanent storage solution, you WILL NOT NEED TO USE YOUR EVO to boot your ps3 anymore. You only need this hack in order to install unsigned code. Once the code is installed, its there permanently. (Have not verified myself).
Definitely NOT true, you will need to have the device plugged in every time.
Click to expand...
Click to collapse
beat me to it as i was typing lol, i added a little bit of his post.
Click to expand...
Click to collapse
That is possible, Backup Manager will remain installed i guess but will no longer function.
Post has been edited to reflect this.
It also makes the evo a fairly useless way to hack your ps3. 15 minutes to turn on your ps3...bleh
In any case, thanx for correcting me guys. Im no developer, i just know all the questions i ran into, and they happen to be the same questions people keep asking. Figured id try to keep it simple.
Good info (seems to be copied and pasted from the PSFREEDOM thread).. I'm sure we will see this skip to QnA tho. Question is even in the title
iitreatedii said:
i appreciate your help to the community and i have implemented some of it into my thread but some of the info you posted is wrong such as device manager, i believe you mean back up manager and that is not true that you need to install it on there. Anyway, thanks for the help, i have added it to my post, but i dont think this thread belongs here, more like answers part of forum.
Click to expand...
Click to collapse
Is it necessary to quote the entire first post?
Sent from my badass, superfast evo; over the fastest, cheapest, best coverage-having network.
So i got the ps3 to come up with the "install package files", so i know i'm hacked, but now what do I do? Do I have to hit install packages or what? Thanks in advance
Edit: Also where can I get backup manager?
barnacles10 said:
Good info (seems to be copied and pasted from the PSFREEDOM thread).. I'm sure we will see this skip to QnA tho. Question is even in the title
Click to expand...
Click to collapse
To clarify, the info in the psfreedom thread, is copy and pasted from here, as stated above.
So i got the ps3 to come up with the "install package files", so i know i'm hacked, but now what do I do? Do I have to hit install packages or what? Thanks in advance
Edit: Also where can I get backup manager?
Click to expand...
Click to collapse
You can now install package files. Google for backup manager.
I see no point on using my phone to play games on the PS3... why not to make it work with old phones (the ones that you just use as a paper weight). I have two PS3's at home and believe me I still see no point on using my evo to play games on the ps3 hehe. Don't get me wrong, I like the idea but, what about if somebody calls you and you are playing.
This will be much more streamlined when a psfreedom AMON_RA is released for our phones. Then you can just open Rom manager, click boot into Recovery, and hack the ps3, then reboot and you phone is normal again.
At that time, Bart will be my hero. (even more)
technically you rent using it to play games youa re using yor phone to put your ps3 in dev mode. while in dev mode you can play games (if you install back up mamager) or use homebrew apps with out the aid of your phone once in dev mode.. Personally i still think it is a hassle and i think Sony will crack down on those they can catch. It is kind of a pain to have to flash your phone start your ps3 and either flash or annd restore your phone back each time you want to power on your ps3 and use it in dev mode (which is needed to play the back ups).
just me. I am sure the kiddies that have nothing better to do and no jobs will love this and wont mind though.
gatorran said:
I see no point on using my phone to play games on the PS3... why not to make it work with old phones (the ones that you just use as a paper weight). I have two PS3's at home and believe me I still see no point on using my evo to play games on the ps3 hehe. Don't get me wrong, I like the idea but, what about if somebody calls you and you are playing.
Click to expand...
Click to collapse
You dont have to leave your phone plugged in. Once the ps3 has booted up you can remove it. takes 10 seconds.
Guys this literally takes 5 minutes.
-flash the enabler
-plug phone into ps3
-unplug ps3
-plug in ps3
-power on then hit eject
-unplug phone and restore from nandroid
Piece of cake.
then you wait 10 minutes while your phone finishes restoring. thats also assuming you are ok with the nand back up you have and havent changed anything since you made it if you have you either have to manually make the changes or make a nand back up first. 5 minutes is now 15-25. and that is EVERY time you turn on the ps3. is it cool that you can do it sure, is it hard to do no it isnt, but if you find this as an optimal solution or even a sustainable one then i don't know what to tell you.
omegasun18 said:
then you wait 10 minutes while your phone finishes restoring. thats also assuming you are ok with the nand back up you have and havent changed anything since you made it if you have you either have to manually make the changes or make a nand back up first. 5 minutes is now 15-25. and that is EVERY time you turn on the ps3. is it cool that you can do it sure, is it hard to do no it isnt, but if you find this as an optimal solution or even a sustainable one then i don't know what to tell you.
Click to expand...
Click to collapse
Im playing tiger woods while my phone restores so I dont pay attention to how long it takes. Im sure there will be a much simpler solution in the future but this one works perfectly fine for me.
how do you install psfreed recovery .img??
I know that it says by fastboot, but are there any step by step instruction? thanks for the help

[Q] Where's the error of my ways?

[THIS QUESTION/ISSUE HAS BEEN RESOLVED]
I spent the best part of yesterday upgrading my phone software, initially completely successfully. I rooted, unlocked boot, installed Dooms kernel all without any problems. Then came the Rom upload...
I wish I had stopped while I was ahead, I felt confident that If I took proper care and attention all would be well. However, I completed the installation only to be greeted by that infuriating exclamation mark (perhaps "completed" isn't the right word.)
My device is a UK R800i, which did have the latest firmware on. It now has nothing on, so using Flashtool doesn't seem to be an option as I can enter the device to enable USB Debugging, and searches for a way to enable this externally have been in vein.
I've tried updating the ROM using the following, with very slight variations sometimes - largely exactly how listed.
​Format
-> Enter Command Prompt, launched ClockWorkMod (CWM)
-> Formatted all, including the SD card although the SD wasn't required.
-> Rebooted [sometime just continued with Kernel install without reboot]
​Kernel
-> Reboot, and go back to CMD prompt.
-> Add Doomlords, Kernel. (various version, most recent usually but one ROM stated an older version was required so I tried that)
-> Wait to complete, then reboot device.
​Rom
-> CMD prompt. CWM.
-> "Install ZIP from SDCard"
-> Wait for completion, then reboot or shutdown through CWM menu.
Then once complete, with the two or three ROMs' I've tried, I'm stuck in a power on power off loop. With the exclamation and phone logo being breathly shown. Before I threw the handset out of the window at the closest person I dislike, I looked around to see if it's truly bricked - most seem to suggest it isn't and the term bricked is over used. Apparently the fact that I can enter CWM means I should continue to try.
The singularity in my head, I think it's called a brain cell says "no you don't want that working" and does its best to screw me over. I'm sure it's just a little moronic mistake somewhere along the way. Anybody game for making me feel more of an idiot than I already do?
Thanks in advance if you do take time to help. Oh and I apologise too, I realise the answer must be out there, just after nearly a day of searching I've decided to just bite the bullet and ask for help from somebody with one iota of intelligence remaining.
Now I'm off to chain smoke and pray...
You can use flastool, usb debugging is not needed. Infact i usually format all the partitions on my device before using flashtool.
Sent from my R800i using Tapatalk
OH okay thanks, I'll give that a try again but during my previous attempts at using it I received a message stating it must be enabled. Do you know what version you are using please?
0.5.0.0 Beta Downloading now, not sure if the version I used was outdated.
AndroHero said:
You can use flastool, usb debugging is not needed. Infact i usually format all the partitions on my device before using flashtool.
Sent from my R800i using Tapatalk
Click to expand...
Click to collapse
Thank you so much!! It worked this time around, I'm sure I would have got there eventually but you have just saved me a whole shipload of messing about. Thank you for reading the essay and responding.
My hero!
*blood pressure decreases*
KoqHed said:
Thank you so much!! It worked this time around, I'm sure I would have got there eventually but you have just saved me a whole shipload of messing about. Thank you for reading the essay and responding.
My hero!
*blood pressure decreases*
Click to expand...
Click to collapse
I'm glad you got it sorted for the record the message that says."turn on unknown sources and usb debugging" is a generic one, flastool ends with the same message no matter if the flash finished sucessfully or not
Sent from my R800i using Tapatalk

[HOWTO] Easy installation of drivers needed for adb/fastboot/...

Tested on Windows 7:
- start installing HTC Sync, the software which comes with your phone (and can also be downloaded from HTC web site).
- it begins with telling you it needs to install Adobe AIR, something else, and the drivers... let it continue at that stage.
- once the previous step is done and installer asks if you want to start installation of HTC Sync software -- select [Cancel]
This way the drivers needed for adb and fastboot get installed while the rest of the (not so useful) HTC software is not installed at all.
You realize that everyone on this forum knows that, don't you?
qktb said:
Tested on Windows 7:
- start installing HTC Sync, the software which comes with your phone (and can also be downloaded from HTC web site).
- it begins with telling you it needs to install Adobe AIR, something else, and the drivers... let it continue at that stage.
- once the previous step is done and installer asks if you want to start installation of HTC Sync software -- select [Cancel]
This way the drivers needed for adb and fastboot get installed while the rest of the (not so useful) HTC software is not installed at all.
Click to expand...
Click to collapse
actually ur wrong, u need different drivers for fastboot
ADB & Fastboot Guide
abaaaabbbb63 said:
You realize that everyone on this forum knows that, don't you?
Click to expand...
Click to collapse
1. There is a lot of info distributed among lots of guides, signatures, stickies, etc. Probably everything has been discussed and described somewhere some time ago. Maybe I'm slow, but it took me a while to find and figure out what is needed for what. I find short posts with quick and specific answers to specific problems/challenges quite useful.
2. Keep in mind that there are people using Google search who view xda forums in the middle of some long thread with lots of comments, trouble reports, etc. Not registered users. Maybe a short brief description will help someone?
3. I knew about stand-alone driver sets or "install/uninstall HTC Sync" way of installing the drivers, but someone may save some time knowing that it is enough just to cancel the installation after pre-requisites are installed.
Still if you think this thread is useless I will not cry and have no hard feelings if it is deleted.
jmcclue said:
actually ur wrong, u need different drivers for fastboot
Click to expand...
Click to collapse
For me both adb and fastboot work fine with the method described. There was nothing HTC-related installed earlier on the PC, it is a new laptop.
Edit: actually you are right and I am right (I guess): different drivers are needed and used for fastboot operation, but all of them are installed with the process described, no further action is needed when using fastboot later on. Windows just says "Installing drivers..." on the first use.

[Q] Really nervous about accidentally bricking, so just some cautionary questions...

So I have an Optimus G LS970, added a couple apps, but other than that it's pretty basic. I'm wanting to root this device and eventually add a custom rom on it perhaps, but I've very new to this and don't want to accidentally brick my device.
1) I've been looking for stable linux rooting methods, the only one I've found that looks promising is here, but it's 2 years old. Does anyone know anything about it's stability for android 4.1.2, kernel 3.4.0?
2) In order to transfer files (music, pictures, pdfs/ebooks) to/from my device it needs to be mounted, but I haven't been able to mount it for this (or any other) purpose at all. It shows up as connected (command "lsusb" shows "Bus 002 Device 028: ID 1004:631d LG Electronics, Inc.") but it won't mount. Will this be possible once rooted, or is there some other cause to this?
3) Once rooted, I want to get rid of some of the Preinstalled apps but I'm not sure which will lead to instability and which would be fine to remove, does anyone know where I can check this, or would I just need to list all the apps I don't want on my phone and have you all tell me on an app-by-app basis which is safe to remove?
4) Lastly, when it comes to using alternative app markets, I haven't had much luck. I was trying to test using alt stores with f-droid and nothing showed in the lists, so I don't know if that's a thing with f-droid or my device. Is there anything you need to do to use alt app stores aside from enabling it in the system settings, and installing the app store's .. app?
Thanks in advance!
JustAk said:
So I have an Optimus G LS970, added a couple apps, but other than that it's pretty basic. I'm wanting to root this device and eventually add a custom rom on it perhaps, but I've very new to this and don't want to accidentally brick my device.
1) I've been looking for stable linux rooting methods, the only one I've found that looks promising is here, but it's 2 years old. Does anyone know anything about it's stability for android 4.1.2, kernel 3.4.0?
2) In order to transfer files (music, pictures, pdfs/ebooks) to/from my device it needs to be mounted, but I haven't been able to mount it for this (or any other) purpose at all. It shows up as connected (command "lsusb" shows "Bus 002 Device 028: ID 1004:631d LG Electronics, Inc.") but it won't mount. Will this be possible once rooted, or is there some other cause to this?
3) Once rooted, I want to get rid of some of the Preinstalled apps but I'm not sure which will lead to instability and which would be fine to remove, does anyone know where I can check this, or would I just need to list all the apps I don't want on my phone and have you all tell me on an app-by-app basis which is safe to remove?
4) Lastly, when it comes to using alternative app markets, I haven't had much luck. I was trying to test using alt stores with f-droid and nothing showed in the lists, so I don't know if that's a thing with f-droid or my device. Is there anything you need to do to use alt app stores aside from enabling it in the system settings, and installing the app store's .. app?
Thanks in advance!
Click to expand...
Click to collapse
All of your questions are answered here. http://forum.xda-developers.com/showthread.php?t=2050582
And the FAQ.
1. See above
2. Install the LG drivers, link is in that OP, then tick MPT. That should transfer your files. If not, you may need to uninstall, then reinstall them.
3. DO NOT remove any apps unless you unlock! Info is in that link also.
4. I have no idea on that one.
Sent from my LG-LS970 using XDA Premium 4 mobile app
engine95 said:
All of your questions are answered here. http://forum.xda-developers.com/showthread.php?t=2050582
And the FAQ.
1. See above
2. Install the LG drivers, link is in that OP, then tick MPT. That should transfer your files. If not, you may need to uninstall, then reinstall them.
3. DO NOT remove any apps unless you unlock! Info is in that link also.
4. I have no idea on that one.
Sent from my LG-LS970 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
1) *EDIT* [Doesn't say anything about linux rooting, how am I supposed to install a windows drive on a linux system?] I overlooked the linux mention. Thanks! Can't find something. How/where do I find adb?
2) Ignore, see 1) [Again, how am I supposed to install the Windows driver in linux?]
3) Thanks for that. I didn't know the importance of unlocking the bootloader.
JustAk said:
1) *EDIT* [Doesn't say anything about linux rooting, how am I supposed to install a windows drive on a linux system?] I overlooked the linux mention. Thanks! Can't find something. How/where do I find adb?
2) Ignore, see 1) [Again, how am I supposed to install the Windows driver in linux?]
3) Thanks for that. I didn't know the importance of unlocking the bootloader.
Click to expand...
Click to collapse
Sorry bout that. Linux drivers are native, so they're anyway installed.
You use either fiddy629 root for Linux, or Framaroot.
Sent from my LG-LS970 using XDA Premium 4 mobile app
---------- Post added at 10:53 PM ---------- Previous post was at 10:51 PM ----------
Edit. You don't have to have ADB, but there's alot of info if you google it.
Sent from my LG-LS970 using XDA Premium 4 mobile app
engine95 said:
Sorry bout that. Linux drivers are native, so they're anyway installed.
You use either fiddy629 root for Linux, or Framaroot.
Sent from my LG-LS970 using XDA Premium 4 mobile app
---------- Post added at 10:53 PM ---------- Previous post was at 10:51 PM ----------
Edit. You don't have to have ADB, but there's alot of info if you google it.
Sent from my LG-LS970 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I tried fiddy619's thing here using the universal linux one. It asked me for ADB. Found that debian has "android-tools-adb" so I installed that, now there's this:
Code:
Using: /usr/bin/adb
Waiting for device... Connect your LGOG via USB in Charge Only Mode
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
Device found
Beginning Root Process
Disconnect your phone from USB
Disable USB Debugging
Enable USB Debugging
Press enter to Continue
I can't tell if this is telling me to do these things, or if it's saying it already did them. Any idea?
JustAk said:
I tried fiddy619's thing here using the universal linux one. It asked me for ADB. Found that debian has "android-tools-adb" so I installed that, now there's this:
Code:
Using: /usr/bin/adb
Waiting for device... Connect your LGOG via USB in Charge Only Mode
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
Device found
Beginning Root Process
Disconnect your phone from USB
Disable USB Debugging
Enable USB Debugging
Press enter to Continue
I can't tell if this is telling me to do these things, or if it's saying it already did them. Any idea?
Click to expand...
Click to collapse
Nevermind that, I got it working just fine. took o nly a couple seconds and it was done. Now I have "SuperSU" in my apps menu, so I'm guessing it worked.
JustAk said:
Nevermind that, I got it working just fine. took o nly a couple seconds and it was done. Now I have "SuperSU" in my apps menu, so I'm guessing it worked.
Click to expand...
Click to collapse
Awesome, glad to hear it worked! Which if you have SuperSU it should have. I too only use linux(Linux Mint specifically) and while most guides are made for Windows, things are usually easier from the linux terminal because we don't need to download drivers, android uses a modified linux kernel, etc. Welcome to the forums, glad to have you here! All the info you need is here and plenty of people will be glad to help(as engine has already demonstrated). As for the alternative app markets, Ive read plenty and tested a few but really, nothing comes close to the play store. On our phone Banks Gapps is the standard google apps package to install if you are flashing a custom rom. Just make sure you get the correct version of gapps for the version of android your rom is based on.
HPTesla said:
Awesome, glad to hear it worked! Which if you have SuperSU it should have. I too only use linux(Linux Mint specifically) and while most guides are made for Windows, things are usually easier from the linux terminal because we don't need to download drivers, android uses a modified linux kernel, etc. Welcome to the forums, glad to have you here! All the info you need is here and plenty of people will be glad to help(as engine has already demonstrated). As for the alternative app markets, Ive read plenty and tested a few but really, nothing comes close to the play store. On our phone Banks Gapps is the standard google apps package to install if you are flashing a custom rom. Just make sure you get the correct version of gapps for the version of android your rom is based on.
Click to expand...
Click to collapse
Ah. brilliant, thanks!
The only problem I'm now having is getting the phone to connect to my computer so I can transfer music or ebooks or whathaveyou to/from my device. I've gone through the arch wiki for android (even though I'm running debian) and this forum postt but I keep getting an error:
Code:
$ android-connect
Listing raw device(s)
Device 0 (VID=1004 and PID=61f9) is a LG Electronics Inc. V909 G-Slate.
Found 1 device(s):
LG Electronics Inc.: V909 G-Slate (1004:61f9) @ bus 2, dev 8
Attempting to connect device
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
Android device detected, assigning default bug flags
Error 1: Get Storage information failed.
Error 2: PTP Layer error 02fe: get_handles_recursively(): could not get object handles.
Error 2: (Look this up in ptp.h for an explanation.)
Listing File Information on Device with name: (NULL)
LIBMTP_Get_Storage() failed:-1
I can start a separate thread regarding this issue, but if you have any insight, figured it couldn't hurt to ask real quick.
JustAk said:
Ah. brilliant, thanks!
The only problem I'm now having is getting the phone to connect to my computer so I can transfer music or ebooks or whathaveyou to/from my device. I've gone through the arch wiki for android (even though I'm running debian) and this forum postt but I keep getting an error:
Code:
$ android-connect
Listing raw device(s)
Device 0 (VID=1004 and PID=61f9) is a LG Electronics Inc. V909 G-Slate.
Found 1 device(s):
LG Electronics Inc.: V909 G-Slate (1004:61f9) @ bus 2, dev 8
Attempting to connect device
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
Android device detected, assigning default bug flags
Error 1: Get Storage information failed.
Error 2: PTP Layer error 02fe: get_handles_recursively(): could not get object handles.
Error 2: (Look this up in ptp.h for an explanation.)
Listing File Information on Device with name: (NULL)
LIBMTP_Get_Storage() failed:-1
I can start a separate thread regarding this issue, but if you have any insight, figured it couldn't hurt to ask real quick.
Click to expand...
Click to collapse
This may or may not help, but when I've had issues with Linux hooking up I've had to format my SD. Something gets stuck in there that Linux just didn't like.
Sent from my LG-LS970 using XDA Premium 4 mobile app
JustAk said:
Ah. brilliant, thanks!
The only problem I'm now having is getting the phone to connect to my computer so I can transfer music or ebooks or whathaveyou to/from my device. I've gone through the arch wiki for android (even though I'm running debian) and this forum postt but I keep getting an error:
Code:
$ android-connect
Listing raw device(s)
Device 0 (VID=1004 and PID=61f9) is a LG Electronics Inc. V909 G-Slate.
Found 1 device(s):
LG Electronics Inc.: V909 G-Slate (1004:61f9) @ bus 2, dev 8
Attempting to connect device
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
Android device detected, assigning default bug flags
Error 1: Get Storage information failed.
Error 2: PTP Layer error 02fe: get_handles_recursively(): could not get object handles.
Error 2: (Look this up in ptp.h for an explanation.)
Listing File Information on Device with name: (NULL)
LIBMTP_Get_Storage() failed:-1
I can start a separate thread regarding this issue, but if you have any insight, figured it couldn't hurt to ask real quick.
Click to expand...
Click to collapse
Are you doing this with the phone turned on and booted into the os? It gives you a PTP error first, make sure the phone is in MTP. At the bottom you also have a LIBMTP error tho. I don't have much experience with debian but from what I understand it is extremely stable but the downside is that it can be a bit out of date at times. Ubuntu and all ubuntu derivatives had a major mtp flaw awhile back but it has since been fixed. Im not sure if it has been fixed in debian. Yes ubuntu is based off of debian, but just like linux mint will add things to the ubuntu base, ubuntu will do the same to the debian base. So LIBMTP MAY be out of date, Im not sure. I know that I have no problem seeing my phone from either the terminal or file browser. Check this out and see if it helps any.
If not you may have to follow engine's advice and format the sd.
EDIT: Also this might work, it is for linux mint but adding the repository and installing it should work on debian(I think) since they all use .deb files. Before ubuntu officially supported mtp by default this was the most popular work around.
HPTesla said:
Are you doing this with the phone turned on and booted into the os? It gives you a PTP error first, make sure the phone is in MTP. At the bottom you also have a LIBMTP error tho. I don't have much experience with debian but from what I understand it is extremely stable but the downside is that it can be a bit out of date at times. Ubuntu and all ubuntu derivatives had a major mtp flaw awhile back but it has since been fixed. Im not sure if it has been fixed in debian. Yes ubuntu is based off of debian, but just like linux mint will add things to the ubuntu base, ubuntu will do the same to the debian base. So LIBMTP MAY be out of date, Im not sure. I know that I have no problem seeing my phone from either the terminal or file browser. Check this out and see if it helps any.
If not you may have to follow engine's advice and format the sd.
EDIT: Also this might work, it is for linux mint but adding the repository and installing it should work on debian(I think) since they all use .deb files. Before ubuntu officially supported mtp by default this was the most popular work around.
Click to expand...
Click to collapse
The first thing you linked to (steneteg.org or somesuch) was another avenue I went down trying to solve this, but alas it resulted with much the same problems. The second link to the linuxmint forums looked very promising, the only problem with it is the ppa has been dropped by webupd8 so it no longer is available (404s).
I have just discovered earlier today that adb push/pull works for getting things onto/off of my device, but I can't use adb to mount the device to allow it to be seen with a filemanager (thunar in this case). So, that's progress I think.
EDIT : I just saw mention somewhere of androidair, have yyou any experience with this app's reliability/security?
JustAk said:
The first thing you linked to (steneteg.org or somesuch) was another avenue I went down trying to solve this, but alas it resulted with much the same problems. The second link to the linuxmint forums looked very promising, the only problem with it is the ppa has been dropped by webupd8 so it no longer is available (404s).
I have just discovered earlier today that adb push/pull works for getting things onto/off of my device, but I can't use adb to mount the device to allow it to be seen with a filemanager (thunar in this case). So, that's progress I think.
EDIT : I just saw mention somewhere of androidair, have yyou any experience with this app's reliability/security?
Click to expand...
Click to collapse
You can try searching for other places where go-mptfs is located, other ppas where it still might be. The ubuntu forums also has this as a possible solution. I haven't used androidair but I have moved files over wifi using the sshdroid app and an ssh server on my pc with great success. If you have any experience with ssh that could be a possible solution although it is obviously slower than usb. But ssh in general is a simple and great tool, also pretty secure since you are simply connected to your home wifi - as long as your wifi is secure you should be fine.
On my pc I believe its openssh that I use - plenty of tutorials out there for that - and here is the link to sshdroid in the play store. Hope this helps!
EDIT: I will also be at work until 2p.m. EST so may not be able to reply back until then - don't worry, I will as soon as I get home if you have any other issues.

Categories

Resources