[Direct links] All Fire TV screensaver images - Fire TV General

I spent a while unpacking the Fire TV APK, yesterday, looking for the .JSON file which contains the data from which Fire TV sources all its screensaver images.
Here are links to ALL the images from the Fire TV screensaver, as of 29/11/2018. I put all these links into a text file named "ftv_ss_imgs.txt" and pulled them all down using wget, in Linux, thus:
Open terminal, navigate to the directory you want to download them to, and do:
Code:
wget -c -i ftv_ss_imgs.txt
Or use whatever method you prefer to bulk download.
Here's the image links:
Code:
https://d21m0ezw6fosyw.cloudfront.net/1C3857AD-6E29-4E77-980D-F386270F7245.jpg
https://d21m0ezw6fosyw.cloudfront.net/518DD22A-E60E-41AA-AD71-0432C57FF1CF.jpg
https://d21m0ezw6fosyw.cloudfront.net/D62D38AB-65BE-409C-AF66-36B603DCA905.jpg
https://d21m0ezw6fosyw.cloudfront.net/9A0A8A26-50AD-4285-AFF5-6239B8228145.jpg
https://d21m0ezw6fosyw.cloudfront.net/B3B79DAF-394A-438B-8C68-C239524E5833.jpg
https://d21m0ezw6fosyw.cloudfront.net/EA336CA1-25CD-4045-8EC1-34491A00F24F.jpg
https://d21m0ezw6fosyw.cloudfront.net/EAEF5552-CBED-442B-855D-DD61F69BDFF8.jpg
https://d21m0ezw6fosyw.cloudfront.net/7FC1207C-A50A-4421-B4A4-9E7C00F2F25A.jpg
https://d21m0ezw6fosyw.cloudfront.net/88F87730-95C3-4F75-AAE4-97A58F0E220C.jpg
https://d21m0ezw6fosyw.cloudfront.net/BFE3C73E-9394-4783-B244-B24E785DD42A.jpg
https://d21m0ezw6fosyw.cloudfront.net/AE7B6A9A-C151-447F-A29D-E080A6316AB0.jpg
https://d21m0ezw6fosyw.cloudfront.net/C1496B23-C68F-4D85-8F21-A4697A04FBC8.jpg
https://d21m0ezw6fosyw.cloudfront.net/13E16EE3-AAFD-475B-9DBC-CFFB3829797C.jpg
https://d21m0ezw6fosyw.cloudfront.net/752A31A9-5815-4B54-9D1B-B3A2E0A290C0.jpg
https://d21m0ezw6fosyw.cloudfront.net/3392121A-8C81-4684-82E0-DF81DBB35705.jpg
https://d21m0ezw6fosyw.cloudfront.net/CC32D58B-74FF-4699-A025-5744F1F126BD.jpg
https://d21m0ezw6fosyw.cloudfront.net/B11FEAC5-4527-48C0-94F9-C33C26A2C293.jpg
https://d21m0ezw6fosyw.cloudfront.net/35E1CBE7-E09F-4498-BD01-A81A8A64802B.jpg
https://d21m0ezw6fosyw.cloudfront.net/B46FEDB2-967E-4E0B-99FC-44B0B61E18B2.jpg
https://d21m0ezw6fosyw.cloudfront.net/C2052800-EECA-4898-8F63-5C8E63D44F51.jpg
https://d21m0ezw6fosyw.cloudfront.net/CC558BDC-F623-4192-8EAD-897FB94E3DD4.jpg
https://d21m0ezw6fosyw.cloudfront.net/D072C0D5-5F66-42E4-9E25-549B9C31EF8E.jpg
https://d21m0ezw6fosyw.cloudfront.net/D3000A53-8D9C-431E-A8EC-20C81B16D0C9.jpg
https://d21m0ezw6fosyw.cloudfront.net/271954B7-795A-4658-9213-CD3EE846ABE5.jpg
https://d21m0ezw6fosyw.cloudfront.net/195F986D-2213-4457-88B6-A3E4D5F33BE4.jpg
https://d21m0ezw6fosyw.cloudfront.net/803C40C7-DBD6-4753-AED3-94F3F37C01F8.jpg
https://d21m0ezw6fosyw.cloudfront.net/9B99D944-0822-447E-B853-710785E5C2C0.jpg
https://d21m0ezw6fosyw.cloudfront.net/D6FECB78-9C85-4223-B7C8-E196709C011B.jpg
https://d21m0ezw6fosyw.cloudfront.net/7271A74B-F872-4A2A-9E00-D4B37CAEBE7C.jpg
https://d21m0ezw6fosyw.cloudfront.net/E440B130-4512-477D-8BD6-C83F1F80717D.jpg
https://d21m0ezw6fosyw.cloudfront.net/3DFE7788-72A1-4EC9-B511-283D779C52E8.jpg
https://d21m0ezw6fosyw.cloudfront.net/4FC58F24-28FE-49F7-AD08-CEC2D18295D8.jpg
https://d21m0ezw6fosyw.cloudfront.net/C9B77EFE-347E-4571-9941-FE0370192644.jpg
https://d21m0ezw6fosyw.cloudfront.net/BBFE0D60-197F-4E05-9CA9-8175832998AF.jpg
https://d21m0ezw6fosyw.cloudfront.net/00F60FD4-4E0A-4597-9C78-F30910CFE8FE.jpg
https://d21m0ezw6fosyw.cloudfront.net/E06A6122-4DE3-48A6-8800-3BE82DEE4D7C.jpg
https://d21m0ezw6fosyw.cloudfront.net/EE166804-0631-44D1-A350-5AC2247C76AB.jpg
https://d21m0ezw6fosyw.cloudfront.net/653B4435-95D2-47BC-96C3-3E4D2B942233.jpg
https://d21m0ezw6fosyw.cloudfront.net/0C312D99-B93E-4D65-BB9D-52DF8D43665C.jpg
https://d21m0ezw6fosyw.cloudfront.net/5FB2CB07-A89C-4B31-931C-EE8FAF8CE778.jpg
https://d21m0ezw6fosyw.cloudfront.net/1390C325-D15E-4EC3-BA29-CEF7D6671E78.jpg
https://d21m0ezw6fosyw.cloudfront.net/5ED77EED-BD1D-4953-B9BF-A36AF6CE6F2E.jpg
https://d21m0ezw6fosyw.cloudfront.net/18F0E2F7-910F-407C-802D-4F5390AEEB8F.jpg
https://d21m0ezw6fosyw.cloudfront.net/60783815-0DE7-41CD-87B1-C6439975E5CB.jpg
https://d21m0ezw6fosyw.cloudfront.net/49775F17-03D8-4044-AC05-25B5FF853341.jpg
https://d21m0ezw6fosyw.cloudfront.net/AE77E8B7-85F2-4003-903A-BD60F86FBC67.jpg
https://d21m0ezw6fosyw.cloudfront.net/D7003DD6-214F-4379-BA08-A694BA1EEA00.jpg
https://d21m0ezw6fosyw.cloudfront.net/12E5C6C2-765A-4D33-9582-7521D319433D.jpg
https://d21m0ezw6fosyw.cloudfront.net/9A48A8F9-34F7-426E-85AE-9EF1D78D47F5.jpg
https://d21m0ezw6fosyw.cloudfront.net/ECC1C903-438E-4AFC-8489-B0C615440B65.jpg
https://d21m0ezw6fosyw.cloudfront.net/A0F9ED32-04CB-4812-B9DB-89C184B7A5B3.jpg
https://d21m0ezw6fosyw.cloudfront.net/FE3A1AA5-A8F0-4C6A-9B1F-3768A1DD3991.jpg
https://d21m0ezw6fosyw.cloudfront.net/c5d23d9b-1c7d-4ff1-8fa4-5f00df65b301.jpg
https://d21m0ezw6fosyw.cloudfront.net/2B26A9DE-6FA5-4B54-9BC4-86D3D375E054.jpg
https://d21m0ezw6fosyw.cloudfront.net/6FE2C603-D8C8-454B-966F-D31FD4BD8BBB.jpg
https://d21m0ezw6fosyw.cloudfront.net/939B3AD7-BB19-4404-8FEF-EE16E646A693.jpg
https://d21m0ezw6fosyw.cloudfront.net/74E40CBD-8A8F-43A5-A8A3-8324410A2594.jpg
https://d21m0ezw6fosyw.cloudfront.net/1602643C-11EE-4525-BB16-B332CB032A53.jpg
https://d21m0ezw6fosyw.cloudfront.net/A51EB919-7501-4A61-9ED1-77B3D59FC8B4.jpg
https://d21m0ezw6fosyw.cloudfront.net/0c3fce08-cf05-4964-96b8-aabab0e61282.jpg
https://d21m0ezw6fosyw.cloudfront.net/92624324-D83D-4148-ABA4-D7195691FD24.jpg
https://d21m0ezw6fosyw.cloudfront.net/A6C34804-5373-45D5-A0C8-8105E5712478.jpg
https://d21m0ezw6fosyw.cloudfront.net/BF17DB48-D4EA-4FD8-B235-39357B72789E.jpg
https://d21m0ezw6fosyw.cloudfront.net/B7004BB1-CCF0-41B8-8102-7F5242A08657.jpg
https://d21m0ezw6fosyw.cloudfront.net/7A93BC94-D4D6-4C85-A698-45969313DB0A.jpg
https://d21m0ezw6fosyw.cloudfront.net/159D150E-0620-4096-BC5B-D09725FDC043.jpg
https://d21m0ezw6fosyw.cloudfront.net/64026AA8-63B8-4EC0-A2BC-EFB2D86A19C6.jpg
https://d21m0ezw6fosyw.cloudfront.net/C347D5A9-C6FF-41A1-9FB1-1057AAAEB80F.jpg
https://d21m0ezw6fosyw.cloudfront.net/5EBB2743-6240-4DD0-9602-F1B3765740F3.jpg
https://d21m0ezw6fosyw.cloudfront.net/FDC095A3-6342-4CE3-83AD-382679B2A790.jpg
https://d21m0ezw6fosyw.cloudfront.net/B2745288-FBFA-4C71-976F-CCC1EE5A4A31.jpg
https://d21m0ezw6fosyw.cloudfront.net/9CB75060-A410-4A68-8581-1D8FD01108FA.jpg
https://d21m0ezw6fosyw.cloudfront.net/027A0A7F-066A-4554-85BE-05A3AC71AC9B.jpg
https://d21m0ezw6fosyw.cloudfront.net/7351F4D2-9B25-4DC3-BDE4-B6D302288059.jpg
https://d21m0ezw6fosyw.cloudfront.net/7F48CBCD-3F1E-4BD4-AC4A-0541D5936F42.jpg
https://d21m0ezw6fosyw.cloudfront.net/24A47F1E-1AC2-4C68-9311-AEFCAFAC32CD.jpg
https://d21m0ezw6fosyw.cloudfront.net/FCBA8034-6ADE-4D21-B3F2-A97D6FF74C87.jpg
https://d21m0ezw6fosyw.cloudfront.net/5738B453-3CC1-4EF6-A2A1-B60FFC3898C1.jpg
https://d21m0ezw6fosyw.cloudfront.net/0b4a7732-507b-4806-b588-0b7fe8a3c788.jpg
https://d21m0ezw6fosyw.cloudfront.net/E0E9A5A1-CE22-4B12-B7B7-0D6CFC958B8A.jpg
https://d21m0ezw6fosyw.cloudfront.net/7B0E31E6-FC8B-4BA2-8034-E253F2775D70.jpg
https://d21m0ezw6fosyw.cloudfront.net/C2620643-5BE1-4EF7-A910-E394A758C866.jpg
https://d21m0ezw6fosyw.cloudfront.net/C3341CAD-337F-4A25-93DD-AC21D144ACC4.jpg
https://d21m0ezw6fosyw.cloudfront.net/6691EF0C-AD47-4048-84E8-EB4F4BBAF57A.jpg
https://d21m0ezw6fosyw.cloudfront.net/692ED01F-1AEB-43D5-A8A4-067A63995845.jpg
https://d21m0ezw6fosyw.cloudfront.net/15CC742B-F0AF-482A-BB7A-CC472DF4A28D.jpg
https://d21m0ezw6fosyw.cloudfront.net/7A85011D-910B-43B5-B57D-3672C73E0A05.jpg
https://d21m0ezw6fosyw.cloudfront.net/E96F1D99-BD60-4C33-9EB5-FC16011C753C.jpg
https://d21m0ezw6fosyw.cloudfront.net/3AE4B3A3-B64A-4C4F-9ACF-50950F6EBBF0.jpg
https://d21m0ezw6fosyw.cloudfront.net/A51187A4-2B7F-4726-8638-D93D4B326274.jpg
https://d21m0ezw6fosyw.cloudfront.net/3A718F77-3680-49D9-BA81-5D96F6256B54.jpg
https://d21m0ezw6fosyw.cloudfront.net/6DADC43C-3091-45EE-98CB-65DE5C69CAB4.jpg
https://d21m0ezw6fosyw.cloudfront.net/55F5E181-C1A0-4CCA-997F-271A70A96DAC.jpg
https://d21m0ezw6fosyw.cloudfront.net/83ae2fd1-2c6e-42a3-9174-00ebcc89c6c6.jpg
https://d21m0ezw6fosyw.cloudfront.net/7338AE17-0F32-4545-823E-2B91E8D46EEA.jpg
https://d21m0ezw6fosyw.cloudfront.net/1E7B2DE7-FA27-4984-B4BC-56C5020FAB1E.jpg
https://d21m0ezw6fosyw.cloudfront.net/6E474D3F-5773-43D5-965C-80637C9E7052.jpg
https://d21m0ezw6fosyw.cloudfront.net/6D4E5AC7-EB68-402C-B40B-3EDB53717FD2.jpg
https://d21m0ezw6fosyw.cloudfront.net/69331FE8-272D-4437-8924-DFF7F5749872.jpg
https://d21m0ezw6fosyw.cloudfront.net/E551BE30-FC63-4E48-B46E-58AA47EAFDFC.jpg
https://d21m0ezw6fosyw.cloudfront.net/4EEAC903-FC1C-4E41-8C55-345163945FA7.jpg
https://d21m0ezw6fosyw.cloudfront.net/7BBF9363-EE79-4943-935A-5FA19F36A134.jpg
https://d21m0ezw6fosyw.cloudfront.net/648EA1CF-A24C-4534-A18F-7EC3A83E986A.jpg
https://d21m0ezw6fosyw.cloudfront.net/2A274E8B-F855-4F6C-8BFF-8C1794C4BFD0.jpg
https://d21m0ezw6fosyw.cloudfront.net/B77DFF34-BD61-4D0D-B7E3-CF20CB3B4149.jpg
https://d21m0ezw6fosyw.cloudfront.net/3DF034C5-EB4E-4D32-B65A-BC1C8AB259AA.jpg
https://d21m0ezw6fosyw.cloudfront.net/652852DC-120F-4B29-B686-B7E451B4A5F4.jpg
https://d21m0ezw6fosyw.cloudfront.net/030291b6-50ed-4a8b-8f9a-0eccee2705e0.jpg
https://d21m0ezw6fosyw.cloudfront.net/8814DEB5-42BE-405B-88B0-A8FB414BD38F.jpg
https://d21m0ezw6fosyw.cloudfront.net/e8f361f3-87a7-4f2a-9b3d-22199b717407.jpg
https://d21m0ezw6fosyw.cloudfront.net/FCA26DFC-C3B7-4747-B76C-104A46A01CBB.jpg
https://d21m0ezw6fosyw.cloudfront.net/3A9BE3CD-61ED-4464-A271-C12762B03A76.jpg
https://d21m0ezw6fosyw.cloudfront.net/674415F3-89A1-46D6-88E6-6C5986B0A7DD.jpg
https://d21m0ezw6fosyw.cloudfront.net/24D8D57A-2B65-42EF-8444-EBBB31A703A0.jpg
https://d21m0ezw6fosyw.cloudfront.net/8BF91AB3-A555-45DF-A583-BF88A14CBAE5.jpg
https://d21m0ezw6fosyw.cloudfront.net/FB248680-488E-40DF-AE50-39D2A9928F8A.jpg
https://d21m0ezw6fosyw.cloudfront.net/4D6B91FF-1E1B-4E74-BA80-C4E89A551F9E.jpg
https://d21m0ezw6fosyw.cloudfront.net/44457260-3028-42E0-80EB-82BB4FDAC947.jpg
https://d21m0ezw6fosyw.cloudfront.net/0DD05AB0-68A0-48C1-A4E3-D8A5782781DF.jpg
https://d21m0ezw6fosyw.cloudfront.net/831b157e-195b-4de2-bf97-ec3e47c9e405.jpg
https://d21m0ezw6fosyw.cloudfront.net/16AD97C0-2A0F-4370-8C5B-1141E9F728C1.jpg
https://d21m0ezw6fosyw.cloudfront.net/62D5D390-679D-483B-AC64-8C2BC7308748.jpg
https://d21m0ezw6fosyw.cloudfront.net/DBBC5260-657A-475B-AD78-CA2D8FE25634.jpg
https://d21m0ezw6fosyw.cloudfront.net/13837E2F-9E08-4786-8DD2-32EDD97FACC4.jpg
https://d21m0ezw6fosyw.cloudfront.net/08DAFDF2-89CA-4E61-BDC8-93A2C1AAA882.jpg
https://d21m0ezw6fosyw.cloudfront.net/6FEDEE85-FD2A-4892-8BDD-95F5025B90FF.jpg
https://d21m0ezw6fosyw.cloudfront.net/4C9A4427-9828-4EAF-9325-8754DCB21DD3.jpg
https://d21m0ezw6fosyw.cloudfront.net/F487542D-C16A-4518-B03A-3003371E8A6B.jpg
https://d21m0ezw6fosyw.cloudfront.net/DB7BC95A-C66C-452C-A8AC-3C281AB65D92.jpg
https://d21m0ezw6fosyw.cloudfront.net/14427353-EBF5-486C-A570-3411F0771E76.jpg
https://d21m0ezw6fosyw.cloudfront.net/B9942C38-924D-4C60-A229-A0B8E1E17615.jpg
https://d21m0ezw6fosyw.cloudfront.net/7F4E5C12-1029-4ECB-9110-909E62A867B9.jpg
https://d21m0ezw6fosyw.cloudfront.net/6C0FA8E7-78C7-41B5-9499-D432CB134ED9.jpg
https://d21m0ezw6fosyw.cloudfront.net/48D23F45-83AB-400D-84B1-4B112CAB2513.jpg
https://d21m0ezw6fosyw.cloudfront.net/902A45AC-AA23-4F59-817E-7FF8AA9CEFCB.jpg
https://d21m0ezw6fosyw.cloudfront.net/C34A127F-F9C4-469C-A1E1-6A91DFF91138.jpg
https://d21m0ezw6fosyw.cloudfront.net/AD6AE1B4-CAD0-4956-A278-65B9AEC0456F.jpg
https://d21m0ezw6fosyw.cloudfront.net/706FDF5A-F7EC-48A7-AB70-1180D38FBB0C.jpg
https://d21m0ezw6fosyw.cloudfront.net/AA351282-94B4-4D2C-A200-FD99B7F0261E.jpg
https://d21m0ezw6fosyw.cloudfront.net/BA92FABC-526D-4AD2-AD32-2706A05DED28.jpg
https://d21m0ezw6fosyw.cloudfront.net/79C7A032-1F9B-41A6-8CD5-DD4ADF006783.jpg
https://d21m0ezw6fosyw.cloudfront.net/CFFD3AC8-DF29-426D-ADBC-A93C292B7F64.jpg

Related

Getting Android source in Eclipse on Windows 7 [solved]

Hi all, I'm just starting getting into App development and I want to attach the Android source code into Eclipse so that I can reference it locally. Is there anyone here who has experience doing this on Windows who is willing to walk me through it?
Alternatively, I'll go it on my own if someone could help me get past this one roadblock. Thus far I've installed Python and msysGit (and updated my PATH variable accordingly) so that I can use git and repo. Something isn't working however and repo runs into an error that I can't seem to figure out. I'm contemplating uninstalling all that and starting from scratch with Cygwin.
Here's a tutorial on setting up Eclipse on windows (albeit over a year old so no guarantees) link
personally I would dual boot linux... it was a breeze setting it up and there's plenty of tutorials for that.
You could install ubuntu (i think) side by side with win7 using wubi, as if it were a program or something. That way you're not messing with partitions.
I already have Eclipse set up. This is not the problem. I'm having trouble downloading the Android source code - NOT the SDK - on my Windows PC. Specifically, I always run into errors when I try to use "repo init -u blah blah" as instructed on the android source page. If someone has successfully done this on Windows, I'd like someone to give me some guidance, because either I'm doing something wrong or my setup is not correct.
Right now I'm trying to use Cygwin (basically creates a linux environment inside Windows). The last time I tried using repo, I got this:
EDIT: Code removed. I found a solution, outlined below, for anyone else who wants to get the Android source into Eclipse.
Okay, I got the source code, it was actually pretty easy to do, and I didn't even need repo to do it . For those who may find this useful, here's how.
0. It is assumed you have already installed both Eclipse and the Android SDK. If you don't have those yet, download them and set those up. If you aren't on Windows but still want to know how to get the source and import it into Eclipse, you can skip step 1.
1. Install Cygwin on your computer. During the installation, you will be presented with a package explorer and you can choose specific packages to install. Choose whatever you like, but make sure to include automake, bison, curl, flex, gcc, git, gnupg, python, zip, and an editor of your choice, like nano or vim (you can use the search field at the top to find these quickly).
This will basically give you a Linux shell on Windows whose root directory is something you've designated, like C:\cygwin.
2. A few more things to set up. Fire up Cygwin and make a bin folder in your home directory. Add this directory to your PATH variable, then cd into it.
Code:
mkdir ~/bin
PATH=~/bin:$PATH
cd bin
This blog post has code for a python script that will be used later. Make a new file using an editor of your choice. Copy the code and save the file as anything you want (I named it "pack.py"). When you're done, cd back to your home directory.
3. Downloading source. From your home directory (or a subdirectory if you wish), use git to clone the platform frameworks base into a new directory (here I've called it "android").
Code:
git clone http://android.git.kernel.org/platform/frameworks/base.git android
cd into that directory and examine the git tags.
Code:
cd android
git tag
You'll get a list of tags. Choose the one that matches the API level you want to build your project(s) in. I'm using API level 10, so I chose android-2.3.3_r1. That's what you're going to check out.
Code:
git checkout android-2.3.3_r1
4. Reorganizing the source code. You need to locate all the java source files and restructure everything into a directory structure that matches the package naming. Fortunately, that script from earlier does exactly this and then zips it up into a nice little package for you called "sources.zip".
Code:
python ~/bin/pack.py
5. Move this zip file to the proper SDK platform folder. Since I downloaded sources for API level 10, I want to move this zip file to
Code:
C:\android-sdk-windows\platforms\android-[B]10[/B]
You can do this with your regular old file explorer on Windows. Extract the contents into a subfolder named "sources".
6. Get Eclipse to recognize them. Open up a project (or start a new one) whose target is the API level you just did all that stuff for. In the package explorer, right-click the project root and click "Refresh". Now when you browse the class files under project-root/android 2.3.3/android.jar/whatever, you'll see actual source code instead of that nasty "Source not found" page.
Enjoy ^_^

[TOOL][LINUX] Apktool binary replacement

This is a binary replacement for apktool
This replacement will make editing ICS apk's much easier without having to switch between tool versions ect...
To use simply place all the files within stools folder in /bin/ and set permissions 775 (Do not put folder in /bin/ only content)
Usage:
Decode apk:
1) Open terminal and enter "apktool -d apk"
2) It will then ask "Enter <apkfile/dir>:"
3) If you are already in the corrent folder just type the name of the apk e.g "framework-res.apk"
Done!
Encode apk:
1) Open terminal and enter "apktool -e apk"
2) It will then ask "Enter <apkfile/dir>:"
3) Type the name of the folder created when decoding the apk e.g "framework-res.apk" will be "framework-res" no .apk extension
Done!
Download
Hope this improves someone's work flow in one way or another
Hi Slethen,
This looks just what I need, but when I tried to download it, got the message:
404.
You Fail At Internet!
Click to expand...
Click to collapse
Meanwhile, I've downloaded AndroidSuite, but that looks like it's for Windoze.
Do you still have the linux version?
Thanks.
Thailandian said:
Hi Slethen,
This looks just what I need, but when I tried to download it, got the message:
Meanwhile, I've downloaded AndroidSuite, but that looks like it's for Windoze.
Do you still have the linux version?
Thanks.
Click to expand...
Click to collapse
Linux AndroidSuite - http://forum.xda-developers.com/showthread.php?t=1973066
Sorry about 404 my site took a lot of DDoS attacks and data loose was painful.
Site is back up as of 31 DEC 2012

[Toolkit][Windows&Linux(Wine)] Already Setup Adb/Fastboot Environment and Installer

[Toolkit][Windows&Linux(Wine)] Already Setup Adb/Fastboot Environment and Installer
First, I take donations.
Second, see the 2nd post about Windows XP compatibilty.(XP requires that the tool be used on a usb drive or a partition that does not contain the current running operating system)
(For the other OSs it works fine on the drive with the running OS) (For Linux see the last post)
Third, XP users that don't have a removable drive available can use the XP-ONLY version on the local drive.
Fourth, read EVERYTHING here on the first and last post.
Fifth, adbClient is a download, unzip, connect to phone package that requires nearly no setup at all allowing you to use the android debugging bridge.
If you want to install adb and fastboot use the "instadb" command.(If you get an access denied error, you must have the administrator password and check your typing)
ANSWERS TO YOUR PROBLEMS:
If you want to update but continue to keep automagically using your work folder: you must copy the Work folder into the folder above the updated bin folder.
Like so: extract the new package. copy the old work folder into the new extracted folder. your work folder should sit right beside the launchadbclient script and the updated bin folder.
This tool can be moved anywhere alongside the work folder
HOW TO USE:
To launch the script extract the zip and run LaunchadbClient by double clicking on it.
Type "xt" without quotes to see a menu for commands.
Check out some package management by typing apk.
To install adb and fastboot to the system without fiddling with environment variables use the instadb command.
DRIVERS:
Visit this link first to enable usb debugging:
To utilize the Google usb driver extract its zip and right click the android_winusb.inf file and hit the install option.
If Google's drivers dont work or you have no drivers or adb doesn't mention any connected devices at the top of the window then you need to visit your manufacturers website for your phone's driver.
Here is the pdanet all purpose adb driver that is pretty much fail proof. if you have any issues with it uninstall it and try another one from below.
If all three of those driver suggestions are not applicable then read the "OTHER DRIVERS" category:
OTHER DRIVERS: The Universal Naked Driver is a good one. Or you can follow this exceptional tutorial for all purpose adb driver installation (I am not responsible for any issues with the tutorial, I just found it.)
I recommend Adb Konnect from the play store if drivers are a problem.
Sometimes your usb cable is keeping you from using adb, so try changing cables.(this actually just happened to me with my samsung usb cable and i ended up using my nexus 7 one instead)
DESCRIBE THE TOOL:
This tool is here to make my life(and your life) with adb easier.
It's the windows command line on steroids.
It is made for being put on a flash drive and being used on different computers.
Especially if you are using someone else's computer but want to keep an environment with your tools and files in it where you could just load it up from a flash drive.
It uses shortcuts for tools including and can autoroot etcetera among other features. This tool is free to use and distribute\modify with my name attached. It contains a presetup adb and fastboot environemnt and has extra binaries\scripts for working with the windows command line and android easier.
Overall it makes interfacing with android over adb much more interesting.
GETTING THE TOOL AND INFO:
1.9.5-XP_ONLY is for the Windows XP desktop only.
Version 3.2.9 is the latest stable release, Use this version please. Thanks for your interest.
If you want to take a snapshot of the latest development go here.
ANNOUNCEMENTS: I now have a donate button if you want to see more development.
I don't support 2.2 or 1.9.5 anymore. Only 3.x.
KNOWN ISSUES: tar might not work.
apklist won't auto exit because of the more pipe. just use control-c for now to unfreeze it
Some of the scripted adb commands stall.
EXTRA INFO:
The only thing that I own in the zip is the scripts. The copyright notice and license for android sdk and included files is included as Notice.txt and Noticeforadb.txt in the LicenseForAdbEtc.zip
With this tool their is no need to install adb or fastboot on your computer just run the script.
If you get an antivirus warning its because of the Zergrush, Psneuter, Framaroot, and ExynosAbuse root exploits.(And the Hstart binary sometimes)
I am not malicious anyway.(You can read my code easily)
You can copy the folder wherever you want. (I made sure it works)
Just don't have anything named bin in the same directory as the launch script.
EXTRA EXTRA INFO:
This tool is meant to be an extension to the command prompt and will pass anything that it doesn't understand over to the command interpreter.
It works in Wine. Extra launching needed. (See last post)
This is a tool for beginners and advanced users however beginners need to learn adb's commands before using this tool.
It will root 2.x and up(Support added for newer android versions). I suggest installing Supersu also.
Tool works on all windows versions: Wndows XP and above.
You are no longer encouraged to use the XP only zips for Windows XP.
For XP: If you use the tool on the local drive it throws errors however if you use it on a usb drive then it works fine
If you need to use it on a local drive then you can use the old win xp only version.
Windows 8 and 8.1 run the tool perfect.
Use the exit command to exit the tool.(It auto kills the adb server)
Links to third party tools used or included:
Recommended download: ApkMultiTool. Another recommended download: Mediatek flashtool
Framaroot
Exynosabuse
strace
Android Sdk
Stahlworks Binaries : Open source
Win32 Busybox Binary(pclouds) REPLACED WITH Tigress busybox
Freac Not in Slim builds.
Stericson Busybox Android Binary
Sqlite3 android
Supersu
Hstart for use with startup sound
This info applies to testing, finals, and anything else.
FUTURE CHANGES:
Code:
add start settings app and browser app command using am start
add intent disabler (Disable an app's MAIN so that it can be hidden from drawer and be unstartable "locked" )
add the ability to make img of a specified size and store it in /data and even loop mount it to sdcard
add the ability to live image the system and data partitions.
remember to make the user specify the filesystem for sdcard image
I need to backport all bug fixes and improvements to 1.9.5_XP-ONLY
use vbscripts to automate key sends (control-c) Not done due to batch sucking.
add su -c sh to start up root shell on device for use with things like strace. Not done due to batch sucking.
add if blank adb devices say you must connect with either cnt or plugging your device in. (But still show the output)
add variable for work folder
Migrate all custom data text files(hist,clr) to config folder in Work\ but keep defaults in regular bin folder.
add adbkiller script to the desktop by question on first startup.(Store info text file in userbin) (User variable then desktop)
clean output on adbp and adbps plus
change all du -smc to du -sm for single push/pull
add ability to do several pushes and pulls with du -smc in one operation
add parameters to adbp and adbps
add if not defined to destination and source file in adb and adbps to allow for hitting enter to quit in the middle of setting up a push or pull
cleanup and organize xt
include some sort of nano for windows binary for command line editing
include a compact notepad++
Remove extra binaries such as zip and unzip to point to busybox linkers (Skim through code to change "zip" to "busybox zip" or "sfk zip")
Pass all inputted commands to a script that can parse arguments before they are sent to they're respesctive scripts or binaries. (Mostly to catch /? and run it without call)
Remember to update adbClient Launcher to point to new folder.
Add first time greeting, explaining commonplace commands and the various folders using java.
add batch snake from [URL="http://www.dostips.com/forum/viewtopic.php?t=4741&mobile=on"]here[/URL] [URL="http://www.dostips.com/forum/viewtopic.php?t=4741&mobile=on"]and here[/URL] for fun
learn some design tips from batch snake.
add adb closer background script for when someone closes adbclient with the windows close button.
add ability to root adbps and adbp or just enable insecure adb debugging
setpass not using admin privileges, add call capability to use instadb privilege elevation code as an elevation module for the rest of my code)
search for commands
CHANGELOG:
This changlog is deprecated for the commits page on my github: https://github.com/lgrootnoob/adbClient_EnvironmentandTool/commits/master
Code:
With 1.3.1 adb/fastboot has been updated from platform-tools to rev. 19(Previously rev. 18.0.1)
Split 1.3.1 into xp only and vista up packages
Add a work command that will send you back to the work folder no matter where you are.
See third post.
Removed a couple of the zips in the post to make the download list easier.
Made license a separate download.
Add unroot function.
Implement extracter with a windows tar exe for extracting images from a tgz.
Make adb/fastboot installer for system. (%WINDIR%\system32) (To install the binaries just type instadb and follow the prompts)
(Installing adb and fastboot to the system makes adb or fastboot dependent applications operate without the need to setup complicated environment variables.)
(Before you would have had to make the environment variable point to the folder conanaining the binaries then you would have to check to make sure its setup properly. this will eliminate that issue)
Add the launch script into the package and update instructions. (JUST added launcher to make starting it easier.)
Issues with my implementations of certain processes inside the script.
Fixed updater typo.
Added sfk binary from stahlworks.(VERY useful tool [URL="http://stahlworks.com/products.html"]http://stahlworks.com/products.html[/URL])
Added zip and unzip binary from stahlworks
Added latest usb driver from google.
Add the launch script into the package and update instructions.
add win32 busybox and remove gnuwin32 tar command.
Apk install from file. And apk uninstall and apk installed lister. pm argument sender. apk command for menu
Version change in updater code. but server on mandatory downtime for a week.
Fixed problem with missing dlls in system32 install for adb and fastboot
^Fixed bugfix in 1.8 Whackamole:)
use nul to detect dirs
everything that is passed to cmd is called.(In 1.8.2+)
Added ls links to busybox and can use params like ls -l
Made links to busybox with batch files and parameters.
Added md5sum binary.
Make attempt at auto pushd popd implementation. To use this feature just cd to wherever then type back to go back.
New XP local drive version. (Remember that XP can run any version from a removable drive or drive that isnt the partition with the running OS on it.)
FIXED - Output cleanup and implementation of code rendering inner shortcuts unuseful)
add extra bin for user binaries in Work\userbin
added addpath command to append the current folder to the temporary path
Fix another bugfix.
testing version released so the version number on my server will not be updated until I have personally evaluated these builds for a couple of days.
implement pushd popd into my code
add windows tools from knife into adbclient.
made repo command.
added bin2hex binary
added deveject binary
move %clrsnd% %clrval% above the doneloop subroutine so busybox's ls command can properly highlight file names.
only use %clrsnd% %clrval% when needed (pretty much the same as I have done with adb devices and fastboot devices)
added zipalign binary
update updating system to live (ON)
add repo style p2p apt-get system called Gridlock(Thought of the name myself) (not p2p yet :( )
moved extended menu out of code and into a file to help clean up stuff.
add bash link for busybox
fixed up repo script address(dynamic)
added mkfloppy
fixed bug in apk installer code.
removed cmdmenusel and trashed the idea of using it for the preffered java dependency setup.
fixed small bug
changed exit for future dynamic handling of shutdown disk operations.
cat command takes over the beginning of the next echo so it has an echo. in its code.
Deprecated every addpath script and moving to modular addpath userspace script.
Also fixed varname bug in addpath script that made it worthless
Commented my info in.
fixed unrooting issue.
piped apklist to more.
Comment code/subroutines etc. and use whitespace to make it easier to read.(Half done, it needs more work)
everything below is for unreleased 2.3 version.
Strace helper
added goo.im opener
added audio converter freac (Freac has source code available freely on their webpage)
Remove just a couple lines from the inital output to make it fit the command prompt screen.
strace installer (chmod 777 adb push and su -c sh) for work with strace.
add data /T to top of script
added frontend for deveject binary because it is too complicated
make cnt a command that will take params so you can type cnt 192.168.1.81
^if no params are given it will ask for ip address
added send command to strace in testing
merged strace bug fixes into testing
fixed another path bug in testing
code now becoming very modular with me using scripted functions as commands in other scripts.
lgctnp always out to work dir now
fixed 'regression' in hist (Accidental reference to deprecated function broke it) (ALSO: fixed in clr)
project no subroutine/if statements: instead of using if statements on the users input on the main loop I will use batch files in my path that have the name of the user's command.
^This eliminates "" crashing.
add hash check for transmitted file. (Needs md5sum binary for android.) (Make it a question)
add busybox installer
add quick fixes menu for things like accidentally deleted launcher, etc.
fixed issue with busybox android binary got deleted.
added: 'mode con:cols=100 lines=50' for big console
fixed up lgctnp and dmsgnp code
add dmesg
quick patch for scroll height (It will be tweaked more in the future.)
[B]3.1.5 will be a temporary bug fix and binary addition in preparation for.......[/B]
make cd freac* point to full path instead
add startup Splash screen for christmas holiday
added Framaroot to rooter
added exynosabuse to rooter
adbsl is accidentally pointing to old doneloop subroutine and needs to be pointed to EOF
move from old pclouds busybox binary to [URL="http://intgat.tigress.co.uk/rmy/busybox/index.html"]tigress win32 busybox[/URL]
update android sdk dependent stuff (platform tools have been updated to 19.0.1)
update su and supersu
change call adbclient to call start adbclient so the intital launcher is exitable
java detector added
[B]3.2 Released![/B]
fix old subroutine pointers in devej
add startup sound
[B]3.2.1 Released![/B]
added screenshots to OP
patch instadb with set "installmaybe="
add size check for pulling/pulled or pushing/pushed files on adbp and adbps like the md5sum checker.'
update busybox/adb/fastboot/freac/anything else/check and update apk versions.
add question to adbp and adbps for redoing the push/pull operation if the user notices the hashes don't match
[B]3.2.4 Slim Released![/B]
change release naming scheme from final to only use final name for final release in 3.2.x, 3.3.x etc.
fix adbp to do you to "Redo pull operation?" instead of "Redo push operation?"
cleanup root.bat output organizing exploits by android version.
change subroutine pointer in ex from doneloop to :EOF
[B]3.2.5 Slim_ Maintenance Released![/B]
Google's usb driver updated to revision 9.
link every busybox applet
store busybox whoami value in variable and then put it into $~: set /p command
pointed launcher directly to bin folder name
updated binary and application dependencies
[I]Made some progress in porting a new xp desktop version: the path names need to have quotes around them.[/I]
[B]3.2.6 Slim Released![/B]
[I]INFO: adbClient is somewhat usable in Wine.[/I]
Framaroot and sfk updated.
Tigress busybox updated.
Fixed qfx mounting issue.
android busybox binary updated
updated supersu apk and su, [B]NOTE:[/B] It is ton of work to support 4.3 rooting but I will do it soon in 3.2.8 I will have to bundle cydiaimpactor somehow.
[B]3.2.7 Slim Released![/B]
2.2 removed(cached locally, so it will be unavailable. leaving the remnants of 1.9.5 even though xp is not supported by microsoft anymore)
[B]3.2.8 Released![/B]
GITHUB REPO: [url]https://github.com/lgrootnoob/adbClient_EnvironmentandTool[/url]
updated to usb driver v10
[B]3.2.9 Released![/B]
Bump:
Bump, any dev can use this tool to have their rom users debug the roms that they make easily if they like.
I have done enough testing to know that this works in Wine on Linux pretty good now.
However, special launch instructions are needed.
cd to the adbclient bin folder(Currently bin-3.2.6-Slim) and use the command:
Code:
WINEDEBUG=-all wine cmd /c adbclient.bat
- all on one line.
Adbclient should be started and you can connect to your phone wirelessly with cnt *.*.*.* (Insert ip address to the left).
Happy Linuxing.
EDIT: Bash port coming soon to a Linux computer near you.
Latest use of this tool as a library/environment for making a rooting package for phones.
http://forum.xda-developers.com/showthread.php?t=2738977
The changelog here will now go unmaintained in deprecation for a github repo: https://github.com/lgrootnoob/adbClient_EnvironmentandTool
3.2.9 released.
Lgrootnoob said:
I have done enough testing to know that this works in Wine on Linux pretty good now.
However, special launch instructions are needed.
cd to the adbclient bin folder(Currently bin-3.2.6-Slim) and use the command:
Code:
WINEDEBUG=-all wine cmd /c adbclient.bat
- all on one line.
Adbclient should be started and you can connect to your phone wirelessly with cnt *.*.*.* (Insert ip address to the left).
Happy Linuxing.
EDIT: Bash port coming soon to a Linux computer near you.
Click to expand...
Click to collapse
I don't like bash. :/
pcwizzy37 said:
I don't like bash. :/
Click to expand...
Click to collapse
bash is necessary for using some build systems to compile android source code. If the OP wishes to donate his time and efforts , I'm sure that an easy installer will be useful to someone. I believe that this tool deserves more response than it has received.
Sent from my LGL15G using Tapatalk
ibub said:
bash is necessary for using some build systems to compile android source code. If the OP wishes to donate his time and efforts , I'm sure that an easy installer will be useful to someone. I believe that this tool deserves more response than it has received.
Sent from my LGL15G using Tapatalk
Click to expand...
Click to collapse
I have no idea why I said that back then. I have been dailying Linux for years now and BASH is what I primarily use, also it's wierd because at that time was when I was migrating to Linux.

[HOW-TO / VIDEO / WIN-LIN-OSX] Extract System/Data files directly from a FTF

Good morning family!
It's my very first time posting in this subforum, but I think this tutorial was actually something needed, since all threads everyone can found while Googling are quite old (like, from the Xperia S times ), and also I'm quite tired of infinite threads like this and this, so...
Today I bring you an extensive and unified guide on how to extract ANY SYSTEM FILE from a FlashTool's Firmware (FTF), whether it's from the userdata.sin or from the system.sin.
Since this is going to be a guide for all OSes, there are some programs you'll need in general,
Latest version available of FlashTools (for SIN dumping purposes).
A reader tool for the extracted image, which can be:
An EXT4 reader / mounter.
An Unyaffs2, if you're using this guide for an old device (like the already mentioned Xperia S, and older).
Some cups of coffee, and lots of patience [IMPORTANT].
But, some of them will be platform specific, so the thread will split in:
2nd post: WINDOWS
3rd post: LINUX
4th post: OSX
Here you've a video tutorial showing the whole process for the 3 OSes:
If you're enjoying it, don't forget to press Thanks button and rate this thread!​
WINDOWS GUIDE
Step 1 - Extract the SIN we need
Using your favourite archive manager (WinRAR, 7-Zip, etc), open the FTF you want to extract the files from. (FYI: an FTF is just a Zip file with renamed extension)
Now copy/extract the SIN you want to unpack to a folder of your preference.
Step 2 - Dump the SIN
I'll take into account you already had installed Flashtools and Java JRE, in which case I highly encourage you to update both to the latest version available.
Now, open Flashtools. Click on Tools, Sin Editor. Hit the [...] and locate the SIN you previously extracted. Now, hit the [Extract Data] button. After a couple of minutes the bar should start running.
Once finished, you can have 2 kind of files: a .yaffs2 or a .ext4/.ext3/.ext2 file, which require different procedures on how to see it's contents.
Step 3.a - Convert the file to a readable format - UnYaffs2
If the file you get is a .yaffs2 format file, you're going to need to extract it. For doing so, you need this tool, which contains a executable and a cygwin dll.
Extract this .rar contents to the very same folder where you placed the SIN, and thus, where the .yaffs2 is located.
Now, while you're in that folder press the shift key in your keyboard, and while you keep pressing it, right click on a blank space in that folder. In the menu choose Open a Command Prompt here.
To end the proccess, type
Code:
unyaffs2.exe [COLOR="DarkOrchid"]<the-name-of-the-yaffs2>[/COLOR]
Where <the-name-of-the-yaffs2> you must type the file name of the yaffs2 (e.g. system.yaffs2)
The files will get extracted and you'll be able to pick the ones you need.
Step 3.b - Mount the image - Linux Reader
There're many many tools to mount a EXT format image in Windows, but in this case, I'll use the Diskinternals Linux Reader, since it's free and it's compatible with all 3 possible formats you can encounter: .ext4/.ext3/.ext2.
Download it from here and install it. (It must be this version, since newer ones are broken.)
Once done, you should be perfectly able to double-click-to-mount the EXT file Flashtools generated without any trouble.
LINUX GUIDE
Step 1 - Extract the SIN we need
Using your favourite archive manager (Ark, Peazip, etc), open the FTF you want to extract the files from. (FYI: an FTF is just a Zip file with renamed extension)
Now copy/extract the SIN you want to unpack to a folder of your preference.
Step 2 - Dump the SIN
I'll take into account you already had installed Flashtools and Java JRE, in which case I highly encourage you to update both to the latest version available.
Now, open Flashtools. Click on Tools, Sin Editor. Hit the [...] and locate the SIN you previously extracted. Now, hit the [Extract Data] button. After a couple of minutes the bar should start running.
Once finished, you can have 2 kind of files: a .yaffs2 or a .ext4/.ext3/.ext2 file, which require different procedures on how to see it's contents.
Step 3.a - Convert the file to a readable format - UnYaffs2
If the file you get is a .yaffs2 format file, you're going to need an extra tool to extract it. For doing so, you are going to need the unyaffs2 tool.
You can download a pre-compiled binary from here, or you can compile your own using GCC with the source code, the header and the code below inside a Terminal (Ctrl+Alt+T to open it).
Code:
gcc -o unyaffs unyaffs.c
Once you've a working UnYaffs2 binary, just copy it to the very same folder where you placed the SIN, and thus, where the .yaffs2 is located, and type in a Terminal (Ctrl+Alt+T to open it).
Code:
cd [COLOR="DarkOrchid"]<file-route-of-the-sin>[/COLOR]
./unyaffs2 [COLOR="Blue"]<the-name-of-the-yaffs2>[/COLOR]
Where <file-route-of-the-sin> is where the SIN was located, and where <the-name-of-the-yaffs2> you must type the file name of the yaffs2 (e.g. system.yaffs2)
The files will get extracted and you'll be able to pick the ones you need.
Step 3.b - Mount the image
Since we're already in Linux, mounting a EXT image is not that hard. Just mount it using this commands in a Terminal (Ctrl+Alt+T to open it).
Code:
cd [COLOR="DarkOrchid"]<file-route-of-the-sin>[/COLOR]
mkdir android
sudo mount -t ext[color="RED"]*[/color] -o loop <name-of-the-image> android/
Where <file-route-of-the-sin> is where the SIN was located, where <the-name-of-the-image> you must type the file name of the ext image (e.g. system.ext4), and finally, where ext*, replace * with the version number of the EXT image you're mounting, usually, ext4
Now, once finished, to unmount it, type in a Terminal.
Code:
sudo umount android
rm -fr android
OSX GUIDE
Step 1 - Extract the SIN we need
Using your favourite archive manager (UnRarX, ZipEg, etc), open the FTF you want to extract the files from. (FYI: an FTF is just a Zip file with renamed extension)
Now copy/extract the SIN you want to unpack to a folder of your preference.
Step 2 - Dump the SIN
I'll take into account you already had installed Flashtools and Java JRE, in which case I highly encourage you to update both to the latest version available.
Now, open Flashtools. Click on Tools, Sin Editor. Hit the [...] and locate the SIN you previously extracted. Now, hit the [Extract Data] button. After a couple of minutes the bar should start running.
Once finished, you can have 2 kind of files: a .yaffs2 or a .ext4/.ext3/.ext2 file, which require different procedures on how to see it's contents.
Step 3.a - Convert the file to a readable format - UnYaffs2
If the file you get is a .yaffs2 format file, you're going to need an extra tool to extract it. For doing so, you are going to need the unyaffs2 tool.
You can download a pre-compiled binary from here, or you can install your own using Brew. From a Terminal (Command+Space, then type in Terminal) type the following commands.
Code:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null #This is just to Install Brew for the first time. If you already have it, it's not needed.
brew install unyaffs
If you chose using the UnYaffs2 binary, copy it to the very same folder where you placed the SIN, and thus, where the .yaffs2 is located.
If you chose the Brew installation, just continue.
Now, type in a Terminal (Command+Space, then type in Terminal).
Code:
cd [COLOR="DarkOrchid"]<file-route-of-the-sin>[/COLOR]
unyaffs2 [COLOR="Blue"]<the-name-of-the-yaffs2>[/COLOR]
Where <file-route-of-the-sin> is where the SIN was located, and thus, where the yaffs2 file is located; and where <the-name-of-the-yaffs2> you must type the file name of the yaffs2 (e.g. system.yaffs2)
The files will get extracted and you'll be able to pick the ones you need.
Step 3.b - Mount the image - Ext4FUSE
There're many many tools to mount a EXT format image in OSX, but in this case, since we don't need RW access, but just RO, I'll use ext4fuse, since it's free and it's more than compatible with our needs.
To install it you'll need Brew. To get things ready, type the following commands in a Terminal (Command+Space, then type in Terminal).
Code:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null #This is just to Install Brew for the first time. If you already have it, it's not needed.
brew tap homebrew/fuse
brew install Caskroom/cask/osxfuse
brew install ext4fuse
If you're on OSX Yosemite, El Capitan, or Leopard, you may need an extra command to add yourself to the Operator group, so that you can have readonly permissions to the disks.
Use it only if you get an error while trying to access the mounted EXT image later.
Code:
sudo dscl . append /Groups/operator GroupMembership [COLOR="red"]<your-user>[/COLOR]
Where your user <your-user> is your username.
Now, to mount the ext4 image, type in a Terminal (Command+Space, then type in Terminal).
Code:
mkdir android
ext4fuse [COLOR="DarkOrchid"]<path-to-the-ext4-image>[/COLOR] android
Where <path-to-the-ext4-image> you must type in the full path where the SIN was located, and thus, where the EXT4 image is located.
Use this as reference.
Reserved
In case I need it
Great job! Keep up the good work!!
Well. great guide.
Just a note, Microsoft officially released Bash on Ubuntu on Windows yesterday. Try it. It's a full fledged Linux subsystem but unfortunately only available to Windows Insiders. It would be the best alternate to cygwin.
Boot.img
How can i extract the boot.img
or is this applicable to every single .sin file present in the .ftf file
serajr said:
Great job! Keep up the good work!!
Click to expand...
Click to collapse
Thank you, I appreciate your words
mfbcool said:
Well. great guide.
Just a note, Microsoft officially released Bash on Ubuntu on Windows yesterday. Try it. It's a full fledged Linux subsystem but unfortunately only available to Windows Insiders. It would be the best alternate to cygwin.
Click to expand...
Click to collapse
I know, I saw the demonstration in the //build/, but since it hasn't been released for all yet (I guess it'll be for Redstone 2?), I didn't saw it necessary to be included.
sandeep.sethi said:
How can i extract the boot.img
or is this applicable to every single .sin file present in the .ftf file
Click to expand...
Click to collapse
No, this is only applicable for system.sin, userdata.sin, cache.sin and probably modem.sin.
However, if many of you request it, I could try making another for the kernel (boot.img)... But remember, every device doesn't have the same way/method to unpack the kernel, so making a generic tutorial for all wouldn't be possible
No, this is only applicable for system.sin, userdata.sin, cache.sin and probably modem.sin.
However, if many of you request it, I could try making another for the kernel (boot.img)... But remember, every device doesn't have the same way/method to unpack the kernel, so making a generic tutorial for all wouldn't be possible
Click to expand...
Click to collapse
if u can provide the guide it would be very helpful :fingers-crossed: :fingers-crossed:
This thread got featured in XDA Portal, thank you guys!
I tried extracting Xperia Pro's system SIN (can't remember the exact name but the one with the largest file size) using the latest version of Flashtool but wasn't successful. Like it's not supported yet.

[GUIDE] Porting Kernel Source to Snapdragon Device

Some OEMs violating GPL licenses and won't publish linux kernel sources for their Android devices.
On this post I’ll explain how to port kernel source to any android device.
Maybe you can port kernel sources to other SoCs with similiar ways but I've explained qcom way.
What do we need ?
A Computer which has Linux or Mac installation.
Device to test.
Let’s Start, Shall we ?
First of all we need to take dmesg of stock kernel using adb shell dmesg > dmesg.txt command. (I recommend you to take it while device is booting)
You got dmesg ? Nice. Open it with any text editor and search for “hardware” or “machine” and note the result to somewhere. By doing this we’ll get the name of device-tree-blobs.
Download android image kitchen and extract it to somewhere.
Now hold and move your device’s stock boot.img to unpackimg.(bat/sh)
Now your stock kernel got extracted to split_img/boot.img-zImage. After this line I will referance this file as “stock kernel”
Fetch split-appended-dtb using git clone https://github.com/MacTavishAO/split-appended-dtb-mac command. We’ll use this tool to extract dtb from stock kernel.
Copy stock kernel to split-appended-dtb-mac folder.
Now we will extract dtb(device-tree-blobs) from stock kernel. If you are on Linux use ./split-appended-dtb boot.img-zImage command for Mac use ./split-appended-dtb-mac boot.img-zImage command.
Now we have bunch of files named dtbdump_xx.dtb. We have to find out which one our device uses. Use grep -r <machine name that we found at step 2> . to find out which dtb our device using. (Write different parts of machine name to find out)
Install dtc using apt install device-tree-compiler command.
Let’s say it turns out dtbdump_21.dtb is the right one. We have to decompile dtb file to dts using dtc -I dtb -O dts -o extracted.dts dtbdump_21.dtb command.
Now we have to extract defconfig from stock kernel.
Use wget https://github.com/torvalds/linux/raw/master/scripts/extract-ikconfig && chmod a+x extract-ikconfig command to download necessary tool.
Use ./extract-ikconfig boot.img-zImage > extracted_defconfig to get defconfig from stock kernel.
Now we got what we need, we need to download kernel source to start porting to our device.
After this point I’ll start to explain as porting to Qualcomm device but almost same on other system-on-chips.
Go to Settings -> About Phone -> and note “Kernel version”
We need to download soc manufacturer’s sources. From here find msm-X.X that matching with your phone and copy link of it.
And from here find tag matching your chipset and write it down somewhere.
Use git clone <sources from 2 steps up> -b <tag>
Now enter to msm-X.X folder.
Copy extracted_defconfig to arch/<your device's architecture>/configs/ folder.
If your device is arm64 copy extracted.dts to arch/arm64/boot/dts/qcom/ if this directory doesn’t exist copy to arch/arm/boot/dts/qcom/ folder. (If you have 3.x qcom device skip the arm64 part and copy it directly into arm)
Open “Makefile” file in arch/arm(64)/boot/dts/qcom/ and add extracted.dts to the line matching with your chipset.
It’s time to import drivers. After this step I cannot help you because every devices’ hardware isn’t same but I can give some tactics.
To get driver names you can read dts file or install any device info app from Google Play Store etc.
Search these names and GitHub you can find files and commits which will help you to add drivers.
You did all of these without my help ? Excellent! Now it’s time to build kernel. I suggest you to use @natchanchance 's kernel compilation guide.
After compiling kernel. Copy compiled kernel to split_img folder which mentioned at early of this tutorial. rename it to boot.img-zImage and double click repackimg.(bat.sh) and you have new file named image-new.img.
Boot it using fastboot boot image-new.img command and if everything is working you can use fastboot flash boot image-new.img to use it permanently.
Leave a comment here about your questions. I'll try to reply all of them.
Planned to make a guide video about it but I don't have much time. Keep checking this thread may I post soon.
Reserved
Reserved.
Reserved
Thanks Dude!
This is very useful guide especially fir those who want to port the kernel source.
Thanks man. I am following your guide.
Thanks ?
While looking for matching dtbdump file I got a match in all four files for PMI8996, which file should I use?
"We have to decompile dtb file to dts using dtc" stuck at this step.
Any help on which "App" to use to find driver names..
Thanks
CPUZ / AIDA64
ataberkozen said:
It’s time to import drivers. After this step I cannot help you because every devices’ hardware isn’t same but I can give some tactics.
To get driver names you can read dts file or install any device info app from Google Play Store etc.
Search these names and GitHub you can find files and commits which will help you to add drivers.
Click to expand...
Click to collapse
I've found another way to find hardware info using hwinfo tool inside termux. The trick is to use it with root permissions.
Install hwinfo in termux:
Code:
apt-get install hwinfo
Run it with root permission tee into a text file:
Code:
su -c $(which hwinfo) | tee hwinfo.txt

Categories

Resources