SoupKit (again)...When you're fed up with trying to get ADB to connect in Windows

Search This thread

soupmagnet

Retired Forum Moderator
Jan 7, 2012
3,990
2,587
Austin, TX
Google Pixel 6
In rootplus, options 1 and 5 worked for me. However, on option 6, I stay at <waiting for device>. Done it twice and also held the power button to no avail.
This seems to be an ongoing problem with the KF2. I was told by those that tested this for me on the KF2 that everything was sound and worked as it should, but now I'm starting to wonder....

The script relies on the fact, that by entering a fastboot command (getvar product) and rebooting the device, it will boot into fastboot as it does with the KFHD. I was told this was the case with the KF2, but now I'm starting to think otherwise.

I'll post an updated version that will install the recovery and boot images through the shell (2nd bootloader should already be installed). That will avoid the problem of not being able to access fastboot through the command line...in this particular case only. The problem will be when you need to restore your saved partitions, as this is dependent on access to fastboot mode. (I might be able to work around this...)

I may have to add a warning that a fastboot cable is required for use on the KF2, unless I can get a definitive answer as to whether or not fastboot mode can actually be accessed via the command line on the KF2.
 
Last edited:

empoy78th

Member
Dec 17, 2008
43
7
This seems to be an ongoing problem with the KF2. I was told by those that tested this for me on the KF2 that everything was sound and worked as it should, but now I'm starting to wonder....

The script relies on the fact, that by entering a fastboot command (getvar product) and rebooting the device, it will boot into fastboot as it does with the KFHD. I was told this was the case with the KF2, but now I'm starting to think otherwise.

I'll post an updated version that will install the recovery and boot images through the shell (2nd bootloader should already be installed). That will avoid the problem of not being able to access fastboot through the command line...in this particular case only. The problem will be when you need to restore your saved partitions, as this is dependent on access to fastboot mode. (I might be able to work around this...)

I may have to add a warning that a fastboot cable is required for use on the KF2, unless I can get a definitive answer as to whether or not fastboot mode can actually be accessed via the command line on the KF2.

Understood. Thank you for all your efforts!

Just to let you know, the KF2 I have is not really mine. I have a 1st gen KF. This KF2 that I am experimenting with is really owned by friend who wanted to get away with stock OS. I will test your updates as long as I still have the KF2 on hand. Cheers!
 

soupmagnet

Retired Forum Moderator
Jan 7, 2012
3,990
2,587
Austin, TX
Google Pixel 6
03-18-2013 - Update: (RootPlus)
* Changed how 2nd bootloader is installed for compatibility with the KF2
* Added ability to update custom recovery. No need to update the script every time a new recovery is released.
* Added ability to choose partition images to be installed if more than one set exist in the BACKUP folder
* More intuitive restore of saved partition images - will hopefully prevent any chance of user error
 
Last edited:

soupmagnet

Retired Forum Moderator
Jan 7, 2012
3,990
2,587
Austin, TX
Google Pixel 6
03-19-2013 - Update + bugfix (RootPlus)
* Fixed issue with 2nd bootloader install - everything works as it should now
* Added timestamp to saved partitions. Gives users the ability to save more than one set of partition images

If you downloaded yesterday's update, please install this one. There was a bug preventing the 2nd bootloader install. It is fixed now.
Sorry for the inconvenience.
 

empoy78th

Member
Dec 17, 2008
43
7
Hi soup,

I didn't have the chance to try your last update. Sorry I couldn't give you any feedback. I didn't have much time to wait as I only have a few days to return the KF2. So I tried the other methods to have the bootloader running. If the KF2 comes back to me for anything, I will test this. Just not sure if will come back to me for anything. Cheers!
 

soupmagnet

Retired Forum Moderator
Jan 7, 2012
3,990
2,587
Austin, TX
Google Pixel 6
04-23-2013 - Update (RootPlus)
* Removed option to install Hashcode's 2nd bootloader, for safety reasons.

By the way, there is absolutely nothing wrong with Hashcode's 2nd bootloader. The risk lies in recent updates from Amazon and the requirement to downgrade the stock bootloader before continuing with the 2nd bootloader install process.
 

chronicfathead

Senior Member
Mar 23, 2008
741
225
Sleaford, Lincs
I've been fighting to get this working on Ubuntu 13.04 for an hour or so, and I've just found out why.

I'm running the CM10.1 nightlies, which are based on 4.2.2. The adb version in the SoupKit isn't compatible with 4.2.2. You need to replace the adb file (version 1.0.29) with the latest version 1.0.31.

Once the updated adb file is used, you will see a popup on the screen asking for permission to accept adb connections from your PC.

I've attached the latest adb file for anyone that wants it. It needs to replace the SoupKit one in /home/yourusername/bin/SoupKit/files
 

Attachments

  • adb.tar.gz
    514 KB · Views: 44

soupmagnet

Retired Forum Moderator
Jan 7, 2012
3,990
2,587
Austin, TX
Google Pixel 6
I've been fighting to get this working on Ubuntu 13.04 for an hour or so, and I've just found out why.

I'm running the CM10.1 nightlies, which are based on 4.2.2. The adb version in the SoupKit isn't compatible with 4.2.2. You need to replace the adb file (version 1.0.29) with the latest version 1.0.31.

Once the updated adb file is used, you will see a popup on the screen asking for permission to accept adb connections from your PC.

I've attached the latest adb file for anyone that wants it. It needs to replace the SoupKit one in /home/yourusername/bin/SoupKit/files
I'm pretty sure I already added the new version...I could be wrong though. Thanks for the heads up. I'll take a loook at it when I get a chance.
 

lannister80

Senior Member
Jul 20, 2010
276
32
Chicagoland
missing ia-32.libs on a 64 bit system?

Downloaded the lastest version of Ubuntu Desktop (amd 64) to a flash drive and booted it on a laptop in Live mode (as per your instructions).

Navigated to extracted soupkit folder in terminal, did a "./install.sh". (as there was no option to "open in terminal")

Step 1 worked fine. On selecting step 2, I get this output and then am dumped back to the shell:

Code:
Checking to see if option 1 was selected...
Confirmed
Ign cdrom://Ubuntu 13.10 _Saucy Salamander_ - Alpha amd64 (20130612) saucy/main Translation-en_US
Ign cdrom://Ubuntu 13.10 _Saucy Salamander_ - Alpha amd64 (20130612) saucy/main Translation-en
Ign cdrom://Ubuntu 13.10 _Saucy Salamander_ - Alpha amd64 (20130612) saucy/restricted Translation-en_US
Ign cdrom://Ubuntu 13.10 _Saucy Salamander_ - Alpha amd64 (20130612) saucy/restricted Translation-en
Get:1 http://archive.ubuntu.com saucy Release.gpg [933 B]                      
Get:2 http://archive.ubuntu.com saucy-updates Release.gpg [933 B]              
Get:3 http://archive.ubuntu.com saucy Release [40.8 kB]                        
Get:4 http://archive.canonical.com saucy Release.gpg [933 B]                 
Get:5 http://security.ubuntu.com saucy-security Release.gpg [933 B]            
Get:6 http://archive.canonical.com saucy Release [5,916 B]                     
Get:7 http://security.ubuntu.com saucy-security Release [40.8 kB]              
Get:8 http://archive.ubuntu.com saucy-updates Release [40.8 kB]                
Get:9 http://archive.ubuntu.com saucy/main amd64 Packages [1,206 kB]           
Get:10 http://archive.canonical.com saucy/partner amd64 Packages [646 B]       
Get:11 http://security.ubuntu.com saucy-security/main amd64 Packages [14 B]    
Get:12 http://security.ubuntu.com saucy-security/restricted amd64 Packages [14 B]
Get:13 http://security.ubuntu.com saucy-security/main Translation-en [14 B]    
Get:14 http://archive.ubuntu.com saucy/restricted amd64 Packages [9,957 B]     
Get:15 http://archive.ubuntu.com saucy/main Translation-en [694 kB]            
Get:16 http://security.ubuntu.com saucy-security/restricted Translation-en [14 B]
Hit http://archive.ubuntu.com saucy/restricted Translation-en                  
Ign http://archive.canonical.com saucy/partner Translation-en_US               
Get:17 http://archive.ubuntu.com saucy-updates/main amd64 Packages [14 B]      
Get:18 http://archive.ubuntu.com saucy-updates/restricted amd64 Packages [14 B]
Ign http://archive.canonical.com saucy/partner Translation-en                  
Get:19 http://archive.ubuntu.com saucy-updates/main Translation-en [14 B]      
Get:20 http://archive.ubuntu.com saucy-updates/restricted Translation-en [14 B]
Ign http://security.ubuntu.com saucy-security/main Translation-en_US           
Ign http://security.ubuntu.com saucy-security/restricted Translation-en_US    
Ign http://archive.ubuntu.com saucy/main Translation-en_US
Ign http://archive.ubuntu.com saucy/restricted Translation-en_US
Ign http://archive.ubuntu.com saucy-updates/main Translation-en_US
Ign http://archive.ubuntu.com saucy-updates/restricted Translation-en_US
Fetched 2,043 kB in 3s (651 kB/s)
Reading package lists... Done
64-bit operating system detected.  Checking to see if ia32-libs is installed.
Installing now...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  lib32z1 lib32ncurses5 lib32bz2-1.0 lib32asound2

E: Package 'ia32-libs' has no installation candidate

So....uh, now what?

EDIT: I'll try it with the 32-bit version of Ubuntu and see what happens.
 
Last edited:

galearned

Senior Member
Apr 6, 2012
452
138
Gainesville
fastboot KF2

This seems to be an ongoing problem with the KF2. I was told by those that tested this for me on the KF2 that everything was sound and worked as it should, but now I'm starting to wonder....

The script relies on the fact, that by entering a fastboot command (getvar product) and rebooting the device, it will boot into fastboot as it does with the KFHD. I was told this was the case with the KF2, but now I'm starting to think otherwise.

I'll post an updated version that will install the recovery and boot images through the shell (2nd bootloader should already be installed). That will avoid the problem of not being able to access fastboot through the command line...in this particular case only. The problem will be when you need to restore your saved partitions, as this is dependent on access to fastboot mode. (I might be able to work around this...)

I may have to add a warning that a fastboot cable is required for use on the KF2, unless I can get a definitive answer as to whether or not fastboot mode can actually be accessed via the command line on the KF2.

I have tried to use this method to get into fastboot on the KF2 and I can tell you it does not work on LINUX for sure. I believe the same is true on Windows. A fastboot cable is required. Once in fastboot, the regular cable can be put back and finish fastboot commands. Obviously, a fastboot reboot will not work unless the regular USB cable is put back.
 

bjoswald

Senior Member
Aug 10, 2011
171
44
Ocala
This is a godsend for me. It has worked flawlessly on two machines with two devices! Excellent work. But suppose I get a new device in the future or want to remove the Kit for whatever reason... Is it safe to delete the 'bin' folder in Home or is there more work to do?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    Due to recent updates, I've decided to remove the option to install Hashcode's 2nd bootloader. There are too many areas where things can go wrong so I think it would be best to let the user follow the small handful of instructions in the 2nd bootloader thread to get it done. IMO, it is not worth the risk to rely on the user to make sure a downgraded stock bootloader is installed before running the script. Plus I think using a script toinstall the downgraded bootloader gives users a false sense of safety in what is potentially very dangerous to do.


    ROOT PLUS for 2nd Generation Kindle Fires


    2013_04_23.jpg


    That's right. This works for ALL 2nd generation Kindle Fires.


    What does it do?

    The screenshot above should answer that question pretty quickly.


    What do you need to know?

    Since Hashcode's bootloader hack is device specific, you must download the version for your device. Each one has the exact same script but the stack, boot and recovery images are different for each particular device. You must have the SoupKit installed for this to work properly. It installs in the same way as the SoupKit; unzip, double click, run in terminal, blah blah.


    Make sure you have ADB enabled under “Security” in the settings.


    Anything else?

    At any point after installation, if you need to run the utility again, just type "rootplus" in the terminal.




    What's next?


    I have a few more things in store for you guys and they will all be made for the SoupKit. As packages are installed, just type the name of the package in any terminal to launch them at any point (hence "modular"). Everything will be easy to install, easy to launch, and new user friendly.



    Don't be skerrd. Move out of your comfort zone a little and give Linux and SoupKit a try. I'm sure you won't be disappointed.


    Credits:

    * Bin4ry - of course, for providing the root exploit
    * Dees_Troy - for Team Win Recovery
    * prokennexusa and his team - for testing this out on all of the second generation devices
    * Thepooch - for extensive testing and always being there to lend a hand

    Downloads:

    SoupKit - http://d-h.st/PbX

    RootPlus for all Kindle Fires - http://d-h.st/jOe
    4
    The SoupKit

    soupkit.jpg


    What is SoupKit? At it's heart, SoupKit is for those who are tired of messing around with Windows and are ready to do try something that works. It was created to be "sort of" modular in that after the ADB installer has been installed, other Linux scripts can be installed and run from the command line by just typing the name of the script and without worrying about changing directories or dealing with permissions. It's intended to make the transition from Windows to Linux for Android a little bit easier.


    How does it work?


    The SoupKit ADB Installer --- FOR ALL KINDLE FIRES

    This puts everything where it needs to be, installs any necessary dependencies, installs drivers, configures Linux to run adb and fastboot commands, puts the SoupKit in your $PATH and cleans up after itself, all while taking a fraction of the space needed for the Android SDK. What this means for you is, you will be able open any terminal window and start entering adb or fastboot commands immediately. There's no need to change directories, add sudo commands or certain operators that are confusing to command line newbies ( ./ ). You can enter commands just as you see them in tutorials. No more worrying about “ADB Offline”, “Status Unknown” or “List of devices attached ????????????????”. This alone can make a huge difference for anyone having Kindle Fire problems that can't be fixed in Windows or those who are overwhelmed by the technicalities of configuring Linux for Android.



    What you need:

    First, you need Linux. Don't worry, it's not as bad as you may think.

    Luckily, all Linux distros are free to download and install on your computer. It can also be booted from a USB flash drive so you don't have to wipe out your current OS (although you probably should anyway). You can use a VM, but the only VM that I've found that can detect the Kindle Fire in fastboot mode is Parallels. Vmware won't cut it, and VirtualBox sure as hell won't cut it so don't waste your time with them if you ever need to do anything in fastboot (if you're bricked, you need fastboot).

    Probably the best method to get Linux running for a new user is by setting up a Linux LiveUSB.

    I'm not going to teach you how to set up a Linux LiveUSB, but there are plenty of FREE programs out there that will not only create a Linux LiveUSB for you, but will download your choice of distro as well, and all you need is a USB flash drive (preferably 8GB or larger). A Google search of “Linux LiveUSB” will offer plenty of choices, although, PendriveLinux seems to be a favorite among most. Just be sure to add plenty of “persistence” (1 or more gigabytes) or you will lose everything every time you reboot. And the better quality of flash drive you can use, the better it will be in the long run. Some flash drives just don't do well and can cause some file system corruption over time (not something you want to be dealing with while you're having Kindle Fire problems).

    You'll also have to figure out how to boot your computer from a USB. Check your computer's BIOS manufacturer website for instructions on how to do this.


    If you're using a LiveUSB, there is no root/sudo password, just hit enter.


    Do not use a USB 3.0 port


    Once you have Linux installed and booted, you need to make sure your Internet is working. It may take some configuration on your part but it is necessary for the SoupKit to install properly. Luckily, once you have an Internet connection in Linux, the hard part is over.

    Don't put the SoupKit.zip on the USB drive before creating the LiveUSB. Instead, use the web browser to navigate to this page and download it once you have Linux running and your Internet connected. Once it's downloaded, you'll likely find it in your Downloads folder.

    SoupKit has been tested extensively on all the latest versions of Ubuntu and Mint, but it hasn't really been tested on anything outside of that. Try other distros if you will, but be warned.



    To install:

    Right-click the “SoupKit.zip”, select “Extract here” open the SoupKit folder and follow the instructions in the README.




    Credits:

    Don't worry. I didn't forget about you guys. I'll finish this when I have time. In the meantime, you know who you are, and thank you.




    Is that all?

    NOPE. What SoupKit would be complete without a little something to go with it?
    SEE POST #2

    3
    03-19-2013 - Update + bugfix (RootPlus)
    * Fixed issue with 2nd bootloader install - everything works as it should now
    * Added timestamp to saved partitions. Gives users the ability to save more than one set of partition images

    If you downloaded yesterday's update, please install this one. There was a bug preventing the 2nd bootloader install. It is fixed now.
    Sorry for the inconvenience.
    3
    03-18-2013 - Update: (RootPlus)
    * Changed how 2nd bootloader is installed for compatibility with the KF2
    * Added ability to update custom recovery. No need to update the script every time a new recovery is released.
    * Added ability to choose partition images to be installed if more than one set exist in the BACKUP folder
    * More intuitive restore of saved partition images - will hopefully prevent any chance of user error
    2
    Update 3-10-2013: Added extra safety measures, including MD5 check on 2nd bootloader install