yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] webgurru:
Hi All,

I am new to write to this forum but I am using this forum for about an year to get many useful information. Thanks to everyone. I am having a very bad week. First I could not identify the Chinese replica of Note 3 and bought it at full price. It is on 4.4 After using this for one week. I try to boot this into download mode but no luck. Boot into recovery mode but shows only option shown bellow. With no option to select anything.

Select Boot Mode:
[VOLUME_UP to select. VOLUME_DOWN is OK.]

[Recovery Mode] <<===
[Fastboot Mode]
[Normal Mode]

I want to get CW recovery installed so got a recovery image and using Rom Manager application I flashed recovery image. It ask me to restart phone and since than it's in loop of rebooting. Now it start normally and when desktop loaded within few seconds it again rebooted. I have made a youtube video to show this but I am not allowed to post external links. I don't know how can I share it.

I tried to flash different rom using SP and MTK tools. None of these work. I think if I could manage to do a factory reset it may sort the problem but could not do it as I can't boot into recovery or download mode. Can anyone help me to get out of this situation I want this back to work please please someone help. I already tried with removing sim card adding extra memory card leave battery out of device for long etc.

Best regards,

Abdul Razaq
[General Questions and Answers] ianxiv:
I think you need to wipe data or factory reset for boot looping.. or you may use Odin for flash the stock ROM. The problem is you have missed some step when flashing..
[General Questions and Answers] webgurru:
Hi,

Thanks. I know I need to do but I can't get phone in download or recovery mode. Odin won't find it during above menu. I have Note 2 and flashed it many times with different roms and bricked and got back. With this one there is something special to put into download or recovery mode which I am not able to do.
[General Questions and Answers] k3ksik:
Hi,

I have the same problem with my s4 clone, it start normaly working but shutdown after load menu... and again, again. I cant do anything because phone shutdown in 3 seconds after load start menu.. I can run phone and see wallpaper but after this system shutdown. I can open "Factory mode" and "Select boot mode" but I dont know what else. In factory mode smartphone didn't restart!!! I think that's fault of android - not phone.

I tried upload fresh soft SP Flash tool (I found - i think - suit to rom for my phone) but after click download and connect phone nothing happend - I dont know why?

Maybe you find some solution for this problem?
[General Questions and Answers] kelvinvalencio:
Thats right
[Sprint LG G2] rombreaker:
This ROM will unlock your LS980 for GSM networks.

Original Thread

- The great dev [MENTION=3036336]bigfau[/MENTION]

• This is for Sprint's variant of the LG G2 aka LS980

• Make backup of your current rom. This is very important point

• Must have Custom recovery installed! I suggest TWRP.

• Copy ROM to storage

• Reboot to Recovery

• Wipe Data/factory Reset

• Clean to install a New Rom

• Flash ROM

• Reboot to System

• Set your correct APN

• Enjoy!

The great dev [MENTION=3036336]bigfau[/MENTION] I am thoroughly enjoying his ROM

I would prefer if you donated to the creators of this ROM but if you want to donate to me, I would request you send it via google wallet @ rombreaker@gmail.com. Paypal doesn't like me. :(

• AEONFLEX Wallpapers folder will not delete from /sdcard. Not with any file manager I've used. I did get it to delete via TWRP.

• LG Home cannot access the "baked system settings" in AEONFlex. I've used Kcin Launcher. It works.

• I do not propose you fiddle too much with MyHub. I shouldn't have to say this but I'm certain someone will think "How come?".

PS: If you like this ROM and would appreciate others for your pleasure, hit that thanks button. :D
[Sprint LG G2] rombreaker:
*mine
[Sprint LG G2] phatmanxxl:
I like my ROMs like my steaks, well done.
[Sprint LG G2] uToTMeH8:
Did you get nfc working on this? I ported this and it's not working on mine
[Sprint LG G2] lowpro3210:
I like my ROMs like I do my women, full of energy and ready to go ;)
[Sprint LG G2] Bl00dRunzC0ld:
I got a weird boot error after trying to install this. I tried twice but it gave me the error both times. Went back to Rayglobe flex
[Sprint LG G2] uToTMeH8:
PM me if you want a link to my port of Aeon flex.
[Sprint LG G2] rombreaker:
What error did you receive?

And can anyone else confirm this for me please. I'd like to know so I can shut it down if need be. It has flashed fine for the people I've had test.
[Sprint LG G2] Bl00dRunzC0ld:
I don't remember. I'm going back to stock, then trying to install it.

Edit: Did it again, secure booting error: cause boot certification verify
[Sprint LG G2] rombreaker:
I've shut it down til I fix it. Sorry guys. Give me a few days.
[Sprint LG G2] bigfau:
PM Sent
[Sprint LG G2] Clark Joseph Kent:
OP PM sent and Thread Closed till compliance is done....

Thanks and Closed.
[Android Software/Hacking General [Developers Only]] alireza7991:
.........................
[Android Software/Hacking General [Developers Only]] alireza7991:
reserved
[Android Software/Hacking General [Developers Only]] RayySP:
Awesome Job alireza7991! Hope this project is successful in the future. :)
[Android Software/Hacking General [Developers Only]] aLNG:
Great will try this

Edit : because of busyboy installed in system/xbin, so I have to put the binaries in system/bin. and what can I say, ITS WORKING GREAT!
[Android Software/Hacking General [Developers Only]] alireza7991:
Most GNU softwares has no similar ones in busybox software set. so you should not worry about conflicting issues.
[Android Software/Hacking General [Developers Only]] eimoc:
I've tried to push this file to xbin grep, patch, sed, tar and wget, but I got this : destination file exists. Enter new name. (These files from busybox)

So, what I have to do? Should I overwrite the file?
[Android Software/Hacking General [Developers Only]] alireza7991:
1- rename files to another thing , e.g. patch -> gnu.patch

or

2- remove busybox ones(/system/xbin/*) and replace GNU ones . It's completely safe .

don't forget to push resolv.conf to /etc/ for wget.
[Android Software/Hacking General [Developers Only]] alireza7991:
Project status update.

2 new softwares added (inetutils + dash).

OP updated for more information.
[Android Software/Hacking General [Developers Only]] eimoc:
When I pushed resolving.conf to system/etc, I'm also getting the msg that the same file name exist.

Is there any suggestions? Tq
[Android Software/Hacking General [Developers Only]] alireza7991:
no , I think you understood my post incorrectly;

do this steps :

1- Copy GNU softwares to /system/xbin/ and replace them with busybox ones.

2- If you are installing a wget or inet-utils then also copy resolv.conf to /system/etc
[Android Software/Hacking General [Developers Only]] alireza7991:
Project updated;

see OP for changelog and check repository for latest binaries and documentations.
[Android Software/Hacking General [Developers Only]] eimoc:
Thanks for the explanations. Now its working great:)
[Android Software/Hacking General [Developers Only]] alireza7991:
Project's files has been moved to a new powerful server with 1 GB RAM which is about 3X faster than pervious server.

please use this url to get files in new server:

http://afn7991.tk/goa
[Android Software/Hacking General [Developers Only]] RayySP:
Hi alireza7991,

I'm new to all this and I'm interested in trying it out. Does this work on Samsung Galaxy Note II LTE? And if it does, do I need to download all the files and use it on my device? :/
[Android Software/Hacking General [Developers Only]] alireza7991:
Hi

1- It works on almost all devices with linux kernel and an ARM processor.

2- no, This is like Google play, you have a set of softwares available and you can install any softwares you want.
[Android Software/Hacking General [Developers Only]] RayySP:
Thanks for the help mate. :)

P.S: I'm not to sure which software to select as I'm not used to all this stuff. :(
[Android Software/Hacking General [Developers Only]] desalesouche:
testing

testing right now on my mokee kk build ...

will feed back.
[Android Software/Hacking General [Developers Only]] alireza7991:
I 've made a small description in OP but you can also search trough google. they are well documented. also I put some documentation in folder of each software.
[Android Software/Hacking General [Developers Only]] RayySP:
Alright sure. Will do that later on. I'm sorry if I bother you too much. :/ And Thanks for the help alireza7991. Cheers! :)
[Android Software/Hacking General [Developers Only]] JOKERz:
kewl its working....

how about nano or vim? is it possible?

btw i already have wget installed, i think it come from busybox
[Android Software/Hacking General [Developers Only]] Nazo:
I really like the idea of this, but is it supposed to only work with apps specifically made for it or something? By default everything is using /system/bin/sh and etc generally running through BusyBox. If you try to run any of the commands from this such as wget, it will say "/system/bin/sh: wget: No such file or directory" if running normally, or if you manually run /system/xbin/bash, it will say "/bash: /system/xbin/wget: /bin/sh: bad interpreter: No such file or directory". Obviously it's trying to run using BusyBox even when actually inside Bash and it really doesn't like these binaries.

I really would like to see more of the standard tools and less minimalism in the CLI stuff. This isn't an embedded device in the vein of a router with 8MiB of internal flash, but a high performance smartphone with many gigabytes of internal storage. A full featured CLI really makes sense IMO. But I'm wondering if it's possible to just seamlessly switch. For instance, if I just replaced BusyBox entirely with this (is that even possible?) would it break apps? Some -- not just the terminal app -- seem to apparently use CLI tools in some way for some tasks (for example, I think some task killers do. I guess maybe they use the kill command or something, I don't know.) So far I can't seem to get anything to use it as a custom shell or anything, but must run it manually and then get the issue above which rather defeats the purpose. I do agree that ultimately this is the right idea though. If we could get more of the more standard utilities it would really help out a lot at times -- especially when diagnosing and working on things in SSH or adb for instance.

BTW, Android hates something about those ZIP files. I ultimately ended up having to extract them on my PC and rezip them. I was about to have to us a file manager to do each one manually (which seemed to work at least) but several of them contain multiple files and there are a bunch of them as it is, so this would have been a real pain to do. It had no trouble with the ZIP file I made on the PC however. IMO it should be possible to unzip directly on the Android device in a plain terminal. These are all very small files anyway, so loss of compression in lesser algorithms should be fine.
[Android Software/Hacking General [Developers Only]] alireza7991:
They are already in CM.

busybox 's wget is 1-2 Kilo line of codes. GNU wget is 400-500 Kilo line of codes. it has a lot more features
[Android Software/Hacking General [Developers Only]] JOKERz:
i see...

ok i'm gonna try your app then

thanks :)
[Android Software/Hacking General [Developers Only]] Marx2:
is it possible to add ssh client/server software?
[Android Software/Hacking General [Developers Only]] eagleeyetom:
Could you please add this link to the OP? Also I noticed that directories are empty and as GPL licensed projects should have the source available :confused:
[Android Software/Hacking General [Developers Only]] alireza7991:
I 'm working on it now :)
[Android Software/Hacking General [Developers Only]] alireza7991:
sure, pervious server seems to be down so I have to change links in OP to newer server.

about sources , since they are so huge in size , I can't update them once and use git to manage. ATM I have +380 MB sources and +16663 files . however every one who needs the sources can p.m me and I will give him/her the requested sources.
[Android Software/Hacking General [Developers Only]] eagleeyetom:
I'm afraid that you have no choice. GPL is GPL and sources should be available for everyone, even without an account on XDA. So please push them in any form you prefer.
[Android Software/Hacking General [Developers Only]] alireza7991:
OK, I will upload sources of each software in it's own directory.
[Android Software/Hacking General [Developers Only]] alireza7991:
Project update ;

1- fixed the issue of no files in download directories (I found that many files where not copied from old server to new one).

2- uploaded source of each software to it's own directory ;

e.g. GREP_SOURCES.gz

use :

gunzip GREP_SOURCES.gz

tar xf GREP_SOURCES

and use them.

thanks to [MENTION=3544509]eagleeyetom[/MENTION] for notice.

sorry for the happened issues.
[Android Software/Hacking General [Developers Only]] DeveDroid:
Wow! I'm seriously impressed with this!

Good work man! Really appreciated it!

Btw I'm a Linux dev too

So if u want a helping hand then ur always welcome to PM me :)

Regards

DeveDroid
[Android Software/Hacking General [Developers Only]] mad_ady:
Since you're still open to suggestions I'd like to add screen to the list - you would have the abillity to start a screen session, start some process, detach and reattach later.

However - one problem might be the we'll be requesting will get bigger and bigger and it will be a pain to manage (and install everything). You should be thinking about using a package manager - for now ipkg (from optware) seems to be the lightest.

Just an idea
[Android Software/Hacking General [Developers Only]] alireza7991:
about package manager, I wil take a look ipkg at but I usually prefer to write my own pkg manager.
[Android Software/Hacking General [Developers Only]] mad_ady:
You are free to implement your own sollution, of course, but I thought it would be best not to reinvent the wheel.

:)
[Android Software/Hacking General [Developers Only]] core7x:
probably implement apt-get /yum/opkg/pacman in the future ? :) hehe
[Android Software/Hacking General [Developers Only]] alireza7991:
Reinventing the wheel is needed when you cannot use the wheel.

apt-get/yum/... are not suitable for Android enviroment so we have to reimplement a package manager.
[Android Software/Hacking General [Developers Only]] manos78:
Hi,

OPKG/IPKG (based on OpenWRT) is a good idea! I suggest this. :good:

Another "stupid" idea: Add a compile toolchain package. Peharps several people think is stupid to compile in the target device. But, if you don't have a cross-compile toolchain available, is good alternative to have the option to compile in the device. Please, consider this!
[Android Software/Hacking General [Developers Only]] alireza7991:
I will take a look at but it should be suitable for android, otherwise I it can not be used.

As I told in the OP I have no PC and I compile every thing here in this project using my device !! so I consider this one(GCC) anytime but the problem which annoys me is low performance of my phone.

Imagine I want to compile a single GCC , on a core i5 PC it would take at least 30 minutes . my device (Galaxy s plus) has about 220 MFLOPS and the core i5 one has +6000 MFLOPS so it will take at least 8-7 hours on my device !!!!!!!! The only way to get rid of this time is using a VPS/Dedicated web server which I have requested in the OP as 'Help The Project'.I would compile a lot more stuff like pascal, gcc, binutils, glibc, ... if I have a build server.

However I 've compiled TCC (Tiny CC) which takes only 10 min to build. but I does not work still. It compiled successfully but fails in linking . I think it's a libgcc problem but I have'nt fix it yet .
[Android Software/Hacking General [Developers Only]] alireza7991:
It seems that nobody uses this project while I spend +12 hours on this project . I've found that people will use smaller and worst project since my last project Coreutils on android which was only one software was used by more users than this one which is 10-20x bigger and has more softwares.If this situation continued I I will end up the development.
[Android Software/Hacking General [Developers Only]] Captain_Throwback:
I'm actually very interested in this. What I'm hoping is that when I get my next device, I'll be able to use it to build android from source directly. But since that purchase is a month or two away, I'm just not ready for these tools yet. But soon.
[Android Software/Hacking General [Developers Only]] alireza7991:
Android build system needs 64bit cpu target, It is also almost made for x86_64.
[Android Software/Hacking General [Developers Only]] Captain_Throwback:
Hm....that's the real challenge to figure out, then! How to create build tools that will work on ARM.
[Android Software/Hacking General [Developers Only]] Nazo:
I'm still trying to, but I still can't figure out how to properly integrate it as just simply putting the files in /system/xbin alone is insufficient for the reasons stated above. I do believe that, in the long term, this project has quite a lot of potential and it fills a real need.
[Android Software/Hacking General [Developers Only]] alireza7991:
Getting AOSP compiled on an ARM32 is not possible (?) . you have to port Java JDK, Mesa GL, NDK, SDK, .... .

However I have compiled linux kernel seaveral times on my phone , it's a much easier job.I will write a tutorial on this later(maybe).

It's not insufficient ; you have two ways :

1- Replace GNU softwares with busybox ones : no problem , it won't break anything since busybox is written to be replaced with GNU ones so there is a compatibility between them . however you can backup /system before it.

2- Rename GNU softwares to keep them away of busybox ones : no problem.
[Android Software/Hacking General [Developers Only]] manos78:
Hi,

I have some experience in OpenWRT. I suggest two different alternatives:

* Option A) Install all files in "/opt" (you can mount one individual partition, if you like), and link all binaries to this pre-path=/opt. This is a common approach in OpenWRT derivates (mostly NAS hardware) to add functionalities without breaks the native Linux system. In the "/opt/ path you can found typical "/opt/etc/ "/opt/sbin/" "/opt/usr/" "/opt/var/" etc.

* Option B) Add support for "chroot" and use this tools inside the chrooted directory. This isolates the tools from the native Linux.

I prefer to use the approach "A", because is already used in several devices. If you select to use this road, it's easy to adapt the OPKG package to work in this enviroment.

Regards.
[Android Software/Hacking General [Developers Only]] hedifezai:
Seems good
[Android Software/Hacking General [Developers Only]] alireza7991:
The reason I made this project was getting away from chroot . There are similar project but they use chroot . I want to let Apps and other processes use this softwares .

about package management all binaries must be kept under /system/xbin . If I could modify opkg to fit in this situation then I will add it otherwise I will implement a new one.
[Android Software/Hacking General [Developers Only]] mad_ady:
I'm not sure how easy it would be for opkg/ipkg to adapt to the android filesystem, since the directory layout doesn't resemble traditional linux, but one approach could be installing under /system/opt and having symlinks in /system/xbin. Although one could add /system/opt/bin in their path to avoid the symlinks (e.g. by running an environment script).
[Android Software/Hacking General [Developers Only]] manos78:
Yes, I agree to use "/system/opt/"!

To understand how to configure it for special directory see: http://wiki.openwrt.org/doc/techref/opkg#extroot

You only need to compile all packages with "--prefix=/system/opt/" and after, link with symbolics from "/system/xbin/" to "/system/opt/bin/"

Regards!
[Android Software/Hacking General [Developers Only]] Nazo:
Sadly, it seems this doesn't quite work. For example, when I open the terminal app, it just sits there on a black screen with a blinking cursor. No prompt or anything. I tried typing in a command (ls) anyway, just to make sure and no response.
[Android Software/Hacking General [Developers Only]] alireza7991:
What this has to do with GoA ? What did you do exactly ?
[Android Software/Hacking General [Developers Only]] Nazo:
I'm trying to use it. Neither Bash, nor the other CLI tools are working for me so far. The others because they need to run through this Bash, but Bash isn't working as just a drop in replacement for BusyBox it seems as things like the terminal client just get stuck if I simply extract the files into /system/bin (oh, and yes, I double checked that read and execute permissions were set for all.)
[Android Software/Hacking General [Developers Only]] spocky12:
Hi, thanks for your work.

Forgive my ignorance, but I can't seem to find how to use it. In the op, you wrote :

But I can't find any binary on the page your linked (except for grep), the only archives available are for source code (except for dash and pexec that seem to be empty : no bin and no source code).
[Android Software/Hacking General [Developers Only]] alireza7991:
Hi

I've checked and found you are right . It's really strange , it seems I got hacked or sth similar . I 'm gonna fix this as soon as possible.

again sorry .

EDIT : fixed ; check out repo again.
[Android Software/Hacking General [Developers Only]] alireza7991:
Push files into /system/xbin and do not install bash , It seems to be broken. It should work
[Android Software/Hacking General [Developers Only]] spocky12:
Thanks for your prompt action. Would you mind sharing your build process ? (I might need some binaries for armv6, you are currently building for v7).
[Android Software/Hacking General [Developers Only]] alireza7991:
Sure , but since I am using a special build system my tutorial are able to be used only in my system . so I think I have to publish my build system first then tutorial .

however I will p.m you more information if you want to know more about the build system.

I will add support of arm6 to many popular softwares in next release.

EDIT : I can not build for arm6 since I am using a hardfp gcc which has no support for armv6 hardfp , If I change my floating point abi to armv6 softfp then I get failed too because my musl libc build is not able to be used for armv6 softfp and armv7 hardfp at the same time . sorry.
[Android Software/Hacking General [Developers Only]] Nazo:
I assumed it needed your Bash, but without it everything just acts like the binaries aren't found when I try to run them -- even if I manually type in the full path. I quoted the exact text in my first post earlier if you need it, but basically it just says file not found. Again, this is with ugo+rx, so it really shouldn't report that error. My assumption was that the built-in BusyBox was incompatible due to perhaps not being as standard as it should be, however, you mean to say that this is not the case? If it's not something like that then I have no clue why it won't accept the binaries and, in fact, acts like they aren't there.
[Android Software/Hacking General [Developers Only]] alireza7991:
This confusing error usually happens when kernel cannot execute the executable. In this case it seems that you are using these binaries on an ARMv6 or tegra 2 platform which are not supported . Am I right ?
[Android Software/Hacking General [Developers Only]] Nazo:
That error message is mainly from the Google Nexus 7, 2013 version. It has the Qualcomm Snapdragon S4 Pro which supports ARM7 among many other things (it also has a ton of extensions supported like NEON and etc, but I presume these aren't used.) I'm also using a Samsung Galaxy SIII (US variant) which has the Snapdragon S4, so also able to run ARM7 among other things.
[Android Software/Hacking General [Developers Only]] alireza7991:
I've built a special gzip for ARM cortex-a15 with vfpv4.

check out this binary :

http://afn7991.tk/Folder/gzip