[TOOL] Running repo on Android! - Android Q&A, Help & Troubleshooting

repo for Android!
Just go to the point.
Why did i make this?
Well, i don't have any laptop, so i try to find a way, to do repo sync without any laptop, and then i move the files to my PC, and then build it!
Requirements
1. Termux App
2. Internet Connection
How to Install
Manual way
- Install some binaries
Code:
apt update
apt install python2
apt install curl
apt install git
- Setup git
Please refer to here
- Install repo
Code:
mkdir ~/bin
curl [url]http://github.com/Rendyindo/repo-installer/raw/master/repo[/url] > ~/bin
curl [url]http://github.com/Rendyindo/repo-installer/raw/master/shrepo[/url] > /data/data/com.termux/files/usr/bin/repo
chmod +x ~/bin/repo
chmod +x /data/data/com.termux/files/usr/bin/repo
- Done!
Automatic way
- Download this
- Run that script on Termux via:
Code:
./installer-android.sh
The script will automatically download all binaries needed and install it.
And you are ready to go! have fun with repo!
Here are some screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Note:
This is NOT for compiling! Through some binaries doesn't support at Termux, lol, and our phone will explode if it can
Credits:
- Fredrick Fornwall
- Google

RendyAK said:
repo for Android!
Click to expand...
Click to collapse
If we can't compile , there is no use of downloading GB's of data. [emoji14]

gopinaidu77 said:
If we can't compile , there is no use of downloading GB's if data. [emoji14]
Click to expand...
Click to collapse
You didn't get the main thing, huh?
This thing only for syncing! and you can move the files to your PC easily, this helps you when you have limited bandwith, and you find a free WiFi, but you didn't bring your PC
So, this help me much.
PS: Do not quote whole post plz.

RendyAK said:
You didn't get the main thing, huh?
This thing only for syncing! and you can move the files to your PC easily, this helps you when you have limited bandwith, and you find a free WiFi, but you didn't bring your PC
So, this help me much.
PS: Do not quote whole post plz.
Click to expand...
Click to collapse
Thanks,Edited my first post. :highfive:

Hi. My install seems correct and files seem present but repo command will not execute. I've tried from storage, storage/, and su. Any help?

Wow,, great work brother,, this fully helped me because i have problem to turn on my pc like a day for syncing,, but mobile not worry, love you sir

All links are dead. Could you re-share the project, please?

Related

Netcat through Terminal

Installing NMAP to run via Terminal
Let me start now by saying, if you dont know what Netcat is, you shouldn't bother going any further. If you do, then I hold no liability on how you use the following information.
Netcat has been said to be the "Swiss Army Knife" of networking tools. Ergo, as a network/tech, I have used this Program for a long time.
You can read up on Netcat and research this tool before use at its home page @
http://netcat.sourceforge.net/
If you need to root your device, please visit http://nookdevs.com/NookColor_Rooting for the walk through process.
Following that you will want to install Superuser and su by following the steps found at http://nookdevs.com/NookColor_Instal..._Superuser_app
You can download the file as well on your own from
http://sourceforge.net/projects/netcat/files/netcat/0.7.1/netcat-0.7.1.tar.gz/download
However, I have taken the time to unpackage the Tarbal and GZ to make it easier for this process.
Netcat files: http://www.megaupload.com/?d=S4K9QC60
First thing is of course unzip the folder. This install, compared to my last post regarding NMAP, will be slightly different. Once unzipped, there will be the primary folder holding all the files. Open your CMD/term, and run the ADB push command. For example, if the file is on my desktop, i will run
Code:
adb shell
mount -o remount,rw /dev/block/mmcblk0p5 /system
exit
adb push C:\Users\User\Desktop\netcat\netcat /system/bin
This will copy all the files within the netcat folder.
Old netcat users who used it when the syntax started with the command "netcat" will notice a difference in this revision. Now to run the commands, you simply use "nc".
To access the man page, type in nc -h and hit enter. If you installed the files correctly, you will get the following results.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
~Exile~
"When All Else Fails, Try Linux"
Hi, can you please specify the steps you followed to compile it?
Thanks
Venator85 said:
Hi, can you please specify the steps you followed to compile it?
Thanks
Click to expand...
Click to collapse
I still don't see the point of netcat on a tablet... I guess people use netcat for random weird things.
question
Hey I have been missing with around with terminal and all that on my ipod. I installed netcat and I looked around and saw that it could be used like a chat, but whenever I tried the code that they used it did not work for me. Can you help me? What am i suppose to use for the code?
NetCat for app invertor
Hello
I just saw this tread and was thinking that the app inventor community ( including me ) has been looking for a TCP/UDP API ti send and receive data via tcp and udp is there a way to interface Netcat via appinventor so we can communicate with Ethernet enabled devices using this tool.
Thanks in advance
Hello...the download link is not working ..I love your project and I need that urgent....please upload the file or send it to my email: [email protected] if u have ndk stand alone tool plz can u give me...I don't have much money and data in my area to download ndk...plz

[Tool][Linux] bptool v 2.0 - build prop updater for ROM Chefs

One thing that I have found to be very annoying is adjusting the build.prop file after making edits to the my ROM projects. Because of this I wrote a simple little script to update the build.prop to reflect changes before I build a new flashable.zip
This tool allows you to:
* rename your ROM
* change the product model /device
* update build date, build date UTC, and build incremental version
Place the file bptool in your ~/bin directory or a directory that is in your path and make sure it is executable.
Navigate to your ROM working directory system folder (ex: ~/working_directory/system) and from the terminal execute "bptool"
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
you can get the latest version here: https://github.com/OldSoldier/bptool
For your convenience I've attached the latest version of the script
I realize that this is not a "high volume" tool, but if anyone that has tried it has any feedback or suggestions please feel free to post and I'll see about making it better and more useful.
oldsoldier2003 said:
I realize that this is not a "high volume" tool, but if anyone that has tried it has any feedback or suggestions please feel free to post and I'll see about making it better and more useful.
Click to expand...
Click to collapse
If you could make it for OS X too that'd be awesome. I cannot test on Debian but only in Ubuntu but I really prefer OSX instead. Thanks
cascio97 said:
If you could make it for OS X too that'd be awesome. I cannot test on Debian but only in Ubuntu but I really prefer OSX instead. Thanks
Click to expand...
Click to collapse
It is a BASH script not a binary so I'm pretty sure it will run perfectly fine on OS X. It will run on Debian, RHEL, Fedora Ubuntu, or any other version of Linux that allows you to run the Bourne Again Shell (BASH).
I don't use OS X but from what I understand OS X has the Bourne Again Shell and sed so it *should* run fine (it may require minor tweaks for syntax)
oldsoldier2003 said:
It is a BASH script not a binary so I'm pretty sure it will run perfectly fine on OS X. It will run on Debian, RHEL, Fedora Ubuntu, or any other version of Linux that allows you to run the Bourne Again Shell (BASH).
I don't use OS X but from what I understand OS X has the Bourne Again Shell and sed so it *should* run fine (it may require minor tweaks for syntax)
Click to expand...
Click to collapse
It works. Sorry for not trying before leaving a comment. :crying: Thank you for your work.
updated to include the option to change productmodel / device name and fixed bug where the file was not properly updated if you run the same option more than once in a session.
v2.0 released
Cleaned up and commented code
added view prop settings option
added error handling

[Beta] AWToolkit - All in one tool for Android Wear (support Mac/Windows/...)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So, this is my new project so far. I'm trying to build a tool to help all Android Wear devices with simple tasks. At the moment, this is the initial release and I'll keep it updated.
What's inside the package?
Java Application: you can run it from any platform, Windows, Mac, Linux,...
A folder called "lib" including adb,fastboot for Windows & Mac. If using Linux, you need to find your own adb and put it under "Other" folder
I'm looking forward for your feedback and suggestion. Thanks!
K thanks for this tool we want simple tool for control android touch if the touchpad is broken or damaged...
sureshsoori1 said:
K thanks for this tool we want simple tool for control android touch if the touchpad is broken or damaged...
Click to expand...
Click to collapse
Any features suggestion will be welcome I'll take more times for the next release:
Threading: not blocking main UI anymore
More fastboot & recovery functions
How about a one click unlock bootloader/root watch!? :good:
So, this is my new project so far. I'm trying to build a tool to help all Android Wear devices with simple tasks. At the moment, this is the initial release and I'll keep it updated.
What's inside the package?
Java Application: you can run it from any platform, Windows, Mac, Linux,...
A folder called "lib" including adb,fastboot for Windows & Mac. If using Linux, you need to find your own adb and put it under "Other" folder
I'm looking forward for your feedback and suggestion. Thanks![/QUOTE]
very good thank you
thank u
thank u pro......................
Hi tdiddy.2, i'm trying to enable adb over wifi on android wear. I have managed to make it work, but theres a lot of steps because you need to connect over bluetooth first. I know thats probably a way to enable adb over wifi direct over adb shell, but i dont know how to use adb shell well. Maybe you want to contribute? Thanks in advance.
Heres the link

Firmware extractor (Samsung)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
  
  
  
These Badges describe various aspects of this Project.
[>] The Guide about Tool
[>>] Helping the user to extract Samsung firmware and get you Raw images according to your partiton.
[>>] Preparing the System/vendor or Super.img for building Android ROM.
[>>] To automate the entire process the user has undergone, based on the user responses to complete working with the script written by me (@neel0210 ).
[>>] It is meant to be a useful Guide, not a Spoon-Feeder (I'd say this as many times as I could) by virtue of it's Interactive Nature.
[>] What do I require
[>>] A Linux PC (with Bash shell)
[>>] Working Internet Connection
[>>] A Person of Interest (You)
[>>] Device Sources - The Stock Samsung Firmware
[>] Steps to clone and use
[>>]clone repo by hitting "git clone https://github.com/neel0210/Firmware_extractor.git" in terminal.
[>>] Then cd Firmware_extractor
[>>] Then execute it by doing ". extract" or "bash extract" and follow screen instructions.​[>] Note​[>>] if you're using this for the first time do this inside Firmware_extractor folder "bash bin/utils.sh" and make sure you put your SAMSUNG firmware file in Firmware_extractor folder else it won't detect it.​[>] Source code
Github
[>] Credits - Thanks
StackOverflow - For being my Teacher
@DAvinash97 - for helping me in everything and solving my queries on REAL-TIME.
@Astrako : for helping me in everything and keep me motivating to do new stuff.
@yespap : For getting me latest simg2img binaries
and 7z, simg2img and tree: for tool utilities.
* if I forgot to mention anyone, please do let me know by PMing me on telegram @neel0210.
#HappyExtracting
​
Reserved
This too
naice (づ ̄ ³ ̄)づ❤
PingVN said:
naice (づ ̄ ³ ̄)づ❤
Click to expand...
Click to collapse
Haha, ty ping
Amazing work as always! Cheers senpai!
awesome!
Akhil99 said:
Amazing work as always! Cheers senpai!
Click to expand...
Click to collapse
el0xren said:
awesome!
Click to expand...
Click to collapse
OMG! Can't wait to test it!
pruh af, clang kernel when sir?
Astrako said:
OMG! Can't wait to test it!
Click to expand...
Click to collapse
This is huge sirrrrrrr
xXJhunrey7870Xx said:
pruh af, clang kernel when sir?
Click to expand...
Click to collapse
Already released sir
bro its only unpack possible to repack no matter custom rom or back odin file
it's no longer available. What happened?

Development WINDOWS MOD TOOL - Mod, Tweak your own Windows Image

08-05-2023
Info:
Small fixes.
-------------------------------------------------------------------------------------------------------------
Hi!
I build this batch tool to modify, tweak windows image as i want and i came here to share with you.
Is easy to use.
Note: Can get issues on windows 11 Home version because on Home version DISM tool (native windows tool) doesn´t work properly.
ESD_WINDOWS_MOD_TOOL.zip
For Splited image ( .swm format)
SWM_WINDOWS_MOD_TOOL.zip
Github: WMTool
How to use?
Use Windows Media Creation Tool from Microsoft and create OS Pendrive
After finished copy Pendrive to Desktop
Extract WINDOWS_MOD_TOOL.bat from zip to inside the copy you had made from Pendrive, it will be your work directory.
Execute WINDOWS_MOD_TOOL.bat and start your Work!!
At end you will get your own Windows mod version and you can delete WINDOWS_MOD_TOOL.bat
You can build ISO image if you want like this:
To create a ISO image from Your Windows modded image you need to Install Windows_Kits10ADK.
Download this tool, extract and execute: adksetup.zip
After you execute it, in tools selection window only select Deployment Tools and install it.
Now delete WINDOWS_MOD_TOOL.bat from working directory
Copy this batch bellow to notepad and save on Desktop as Build_ISO.bat and execut it.
Spoiler: Build_ISO.bat
Code:
@echo off
setlocal EnableDelayedExpansion
CD /d "%~dp0"
cls
@echo. & @echo Building ISO image... & @echo.
Set /p dir=" Type here the Work dir name: " & @echo.
echo oscdimg.exe -m -oc -u2 -udfver102 -bootdata:2#p0,e,b"%~dp0%dir%\boot\etfsboot.com"#pEF,e,b"%~dp0%dir%\efi\microsoft\boot\efisys.bin" "%~dp0%dir%" "%~dp0%dir%.iso"|"%systemroot%\system32\cmd.exe" /k "%systemdrive%\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\DandISetEnv.bat"
@echo. & @echo DONE!!!
pause
exit /b
END
I hope this helps you! Enjoy tool!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hi!
Tool is updated!
Enjoy it!
Hi!
Post updated!
Hello @persona78 !
Many thanks for this amazing work. I'm very interested in everything like this. Zero-touch deployment, which I like very much, is my business and my hobby too! In my business, I have to use tools like Broadcom Clarity, CA DSM, Enteo, and so on. Let us get in touch; I have a few questions when it's okay for you.
Greets Martin
knigge111 said:
Hello @persona78 !
Many thanks for this amazing work. I'm very interested in everything like this. Zero-touch deployment, which I like very much, is my business and my hobby too! In my business, I have to use tools like Broadcom Clarity, CA DSM, Enteo, and so on. Let us get in touch; I have a few questions when it's okay for you.
Greets Martin
Click to expand...
Click to collapse
Hi!
OK!
Just send me a private msg if is ok?
.
persona78 said:
Hi!
OK!
Just send me a private msg if is ok?
.
Click to expand...
Click to collapse
Thanks for the response. I will do it so!

Categories

Resources