yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Grand Quattro] Arinio:
What Is Busybox?

In short,if you have busybox you can use additional linux commands.

As we have discussed earlier Ubuntu Linux supports more than 1000 commands and Android OS in adb shell supports very few commands if you want to use nearly 200 additional commands in Android OS you need to root the phone and install busybox apk for extensive support of additional powerful Linux commands.

From Chislon Chow's blog:

When a phone is rooted, one of the most common things to do after rooting is the installation of the BusyBox binary, prior to running any applications that require root privileges.

To make sense of this, it is necessary to have a brief understanding of what BusyBox is. BusyBox is a collection of powerful command-line tools in a single binary executable that can be run for UNIX based systems, including Android. The collection of tools available depends on how the BusyBox binary was built, and the source code is GPLv2 open-source, available from http://www.busybox.net/. Many of the tools don’t do anything useful without elevated root privileges as in a rooted Android device.

Many Android applications that require root privileges use BusyBox from the command-line extensively. Some of the utilities are powerful enough to severely alter your device, such as the ability to write data directly any partition on your device. Many third-party firmware packages including Cyanogenmod utilize BusyBox extensively and already come with prebuilt with it, so users should be aware of consequences if making any modifications to the existing installation of BusyBox, by themselves of from one of many pre-packaged Play Store applications.

Keeping it on your device usually isn’t going to be a problem, but keep in mind that this tool can be destructive for your device and can make your device open to vulnerabilities compared to a stock shipping device. If you use the command-line a lot, you probably know what it is already and want to keep it installed
[Samsung Galaxy Grand Quattro] Rohit Shrothrium:
So r u working on cynogenmod
[Samsung Galaxy Grand Quattro] Arinio:
Dear Rohit,

I am currently thinking off to post how to create custom rom. I you login to Github and search by delos3geur you will find 'nolinuxparty' is currently working over CyanogenMod. I am waiting for 4.2.2.

Regards
[Samsung Galaxy Grand Quattro] Rohit Shrothrium:
Sorry to say nolinuxnoparty is not working on cm after unsuccessful booting issues arnav is the leader an we did the testing so he left dev for quattro as he doesn't have any phone. So it would be great if u would fix those bugs is 4.4 by k2wl and also do front porting for blootooth. Tanx sir.:):)
[Samsung Galaxy Grand Quattro] ZANKRUT.DOSHI:
Check github arnav sir is still working on it rahulnair sir private messaged me he's still working on it
[Samsung Galaxy Grand Quattro] Rohit Shrothrium:
Wow cool
[Samsung Galaxy Grand Quattro] mski.L337:
any way doing this in cygwin having SDK parts 4.1?
[Samsung Galaxy Grand Quattro] Rohit Shrothrium:
Guys bad news arnav gosain is not working on any rom I mean nolinuxnoparty so arinio is ur turn we guys at still noobs
[Samsung Galaxy Grand Quattro] Arinio:
CyanogenMod

Dear Rohit,

Who told you that you all are nobs!

Take initiative and prepare a team of 8/10 dedicated members.

Keep contact with me in daily basis.

Meantime follow my instruction in Post #2 & #3. The repo sync will take time if members have slow internet connection.

Also find an application to root the latest firmware as all common applications fail. Search/contact the Chinese market.

Regards
[Samsung Galaxy Grand Quattro] Shaaan:
Don't rely on Arnav. He is the biggest noob you will ever get. He hasn't made a kernel yet. Let alone a rom.

Now, what help do you guys need with the recovery? I just saw the message you left in my thread.

Edit : Please tag me in one response when replying.
[Samsung Galaxy Grand Quattro] Arinio:
Dear Shaaan

Thanks for your reply.

Please go through my CWM Post #57 (Creating CWM : The Last Few Steps)and correct me if I had done some mistake.

Take my regards
[Samsung Galaxy Grand Quattro] Shaaan:
That's too much to read. Just post your problem here and I may be able to help
[Samsung Galaxy Grand Quattro] Arinio:
After flashing the CWM through Odin I pulled out the battery, wait for 30 seconds, then fix it and power-on the phone while pressing the power button + voluume up key + home button.

Phone starts with Samsung logo alongwith the 'yellow triangle' then blank screen (very low background light), stays for 2/3 second and then again Samsung logo. This goes on.

If only power button is pressed then phone boots into Android OS normally.

If in download mode, the counter shows 5, 6 etc for each CWM flasing and status as custom.

Please do help. Maybe the BoardConfig.mk file (same as Shabbypenguins who created the CWM for the first time).

I also 'cpio' both mine and Shabbypenguins CWM and found byte size difference between his init.rc and mine. Also slight difference in uneventgoldfish file. Otherwise other files are of same size.

Regarding 'make' I used both 3.82 and 4.0. However except the compatibility warning (posted) no difference.

Also tried with the recovery.img from latest Firmware (incase the pull command fails to pull byte-by-byte recovery partition from /dev). Again no difference in end result.

Tried Arnavs BoardConfig.mk. However with his configuration (posted) the final 'make' command is not working.

I know that the instruction is lengthy, if possible please go through the 'Red-Bold' lines.

Regards
[Samsung Galaxy Grand Quattro] ZANKRUT.DOSHI:
Arnio sir shouldnt we concentrate on building kitkat cm

the bootllop issue in cwm is minor

I know how to compile from source but my internet speed is very slow around 50 kbps when I sync the repo

I request you to build and download source and build something for quattro if you have good download speed
[Samsung Galaxy Grand Quattro] Shaaan:
Okay. I'll give a new zip. Try that and see if it works.

Edit : The zip is attached to the post. Please flash it from stock recovery.
[Samsung Galaxy Grand Quattro] Shaaan:
And why do you think building CM11 is easy ? That too without prior versions?
[Samsung Galaxy Grand Quattro] ZANKRUT.DOSHI:
When did I say building cm 11 is easy sir???Building is OK fixing the bugs is really difficult
[Samsung Galaxy Grand Quattro] Shaaan:
Someone please test the above given zip.
[Samsung Galaxy Grand Quattro] coolkoushik07:
Bro our stock recovery cant be used to flash anything because it wont mount storage. If u can please provide odin flashable file.
[Samsung Galaxy Grand Quattro] Shaaan:
Samsung stock recoveries can mount and read external memory cards. Use that and flash the zip
[Samsung Galaxy Grand Quattro] Arinio:
Dear Shaaan,

Sorry for delayed reply.

May I cpio my CWM and replace/add the folders inside the update folder provided by you?

If that so then for repacking again what reliable software to use? Is it mkbootimg?

---------------------

arinio@ubuntu:~/quattro$./unmkbootimg recovery.img > recoveryoutput.txt

arinio@ubuntu:~/quattro$ cat recoveryoutput.txt

unmkbootimg version 1.2 - Mikael Q Kuisma <kuisma@ping.se>

Kernel size 4694160

Kernel address 0x208000

Ramdisk size 1082913

Ramdisk address 0x1500000

Secondary size 0

Secondary address 0x1100000

Kernel tags address 0x200100

Flash page size 4096

Board name is ""

Command line "androidboot.hardware=qcom loglevel=1 vmalloc=200M"

*** WARNING ****

This image is built using NON-standard mkbootimg!

OFF_RAMDISK_ADDR is 0x01300000

Please modify mkbootimg.c using the above values to build your image.

****************

Extracting kernel to file zImage ...

Extracting root filesystem to file initramfs.cpio.gz ...

All done.

---------------

To recompile this image, use:

mkbootimg --kernel zImage --ramdisk initramfs.cpio.gz --base 0x200000 --cmdline 'androidboot.hardware=qcom loglevel=1 vmalloc=200M' --pagesize 4096 -o new_boot.img

---------------

Also I noticed that both for you and shabbypenguin inside res/images icon_cid image is present. However in my case it was'nt created automatically.

Regards

@coolkoushik07

I used more than once the stockrecovery. It is OK.

@doshi

If in future we go for CM then we will go for 10.1 as it is time tested and stable.

My internet bandwidth also same as yours. For me it took 7/8 days to repo sync. Do not bother about the speed, it is the 'Self Will' that matters. Do not give up.

Keep in touch with Rohit, Koushik. Slowly we will build the CM. If we fail, we will try again and again, slow by slow we will fix the bugs. Keep in mind that the CM will help millions.

I am also uploading my CWM (not patched with Shaaan's update file) for further investigation.
[Samsung Galaxy Grand Quattro] Shaaan:
The file that I have given is a fakeflash. You cannot just replace the files from my zip into yours. Try using the fakeflash and report..
[Samsung Galaxy Grand Quattro] Arinio:
Dear Shaaan

Copied your update.zip file from Computer to internal and external sdcard.

Now in system recovery (power+volume up+home) selected 'apply update from SDCARD'.

Now in the new terminal I have 'Choose a package to install:

../

What to do?

In below screen I have:

E:unknown volume for path [/sdcard]

P.S: With the latest firmware update I loose root. So for me now it is not possible to put your file in the root of my internal sdcard.

@ All Other Members : Anyone found any exploit for XXAML3? Please report asap.
[Samsung Galaxy Grand Quattro] Shaaan:
Browsing to the root of the sdcard doesn't need root.

Though you can try if my root package works. Just flash the zip file from stock recovery!

d-h.st/ook
[Samsung Galaxy Grand Quattro] Arinio:
Dear Shaaan

Let me try to ADB push your update.zip file.

arinio@ubuntu:~$ adb push ~/update.zip /update.zip

failed to copy '/home/arinio/update.zip' to '/update.zip': Read-only file system

Nope! Permission denied.
[Samsung Galaxy Grand Quattro] ZANKRUT.DOSHI:
Arnio sir can you post a guide how to make a custom kernel I tried but was unsucessful in making from kernel sources
[Samsung Galaxy Grand Quattro] Arinio:
Rooting Galaxy Grand Quattro

Dear All,

Use this mynamar's exploit to gain root access safely.

Several times tested by myself.

Note: This will not work with XXAML3 however future version will as they update frequently.
[Samsung Galaxy Grand Quattro] coolkoushik07:
In quattro it cant. When I choose update from sdcard i stock recovery, I get an error unknown volume or path /sdcard

[MENTION=5335308]Arinio[/MENTION] I have checked stock recovery many times.. its not ok.
[Samsung Galaxy Grand Quattro] Arinio:
Dear Doshi

Post in details with every step done by you.

Also I am planning to post a guide how to properly built a CWM.

If we divert now then we will be unable to built CM.

What is your opinion?
[Samsung Galaxy Grand Quattro] Arinio:
Dear Koushik

It always directs to the root folder.

If you are not updated to 'L3' then you can put the update file in the root folder of the Internal SdCard through ADB Push and after that in Stock Recovery you can see it.

Regards

P.S: Oh, you have updated to 'L3'. Now it is not possible. We have to wait for a new exploit.
[Samsung Galaxy Grand Quattro] Arinio:
XXAML3 Firmware Rooted

Dear All,

The latest Firmware XXAML3 is rooted through Kingo ROOT 1.1.8.
[Samsung Galaxy Grand Quattro] Arinio:
Important Applications For A Rooted Device

Few Must Have Applications For A Rooted Device

BusyBox Pro 10.7.apk

Device Storage Analyzer 1.5.0.apk

FolderMount 2.5.7.apk

Lucky Patcher 3.9.6.apk

RAM Manager Pro 6.0.4.apk

Root Checker Pro 1.3.5.apk

Root Cleaner 3.0.6.apk

Root Explorer 3.1.2.apk [Higher versions are not supported till now]

Root Toolbox Pro 3.0.0 A3.apk

SD-Booster 2.0.5.apk

SuperSU 1.89.apk

Titanium Backup 6.1.5.2.apk

Triangle Away 3.26.apk

These Are Also Very Useful Applications (Root Not Required)

AnTuTu Benchmark 4.1.6.apk

Comodo Mobile Security 2.4.1.apk

Screenshot Ultimate Pro 2.8.6.apk

All these applications are tested in Galaxy Grand Quattro
[Samsung Galaxy Grand Quattro] Arinio:
Dear Shaaan,

While Fake Flashing from Stock Recovery the following error occurs:

E: failed to verify whole-file signature

E: signature verification failed
[Samsung Galaxy Grand Quattro] coolkoushik07:
Well thats great that kingo updated their script.

Can u please tell me how to use adb push and use stock recovery to flash anything?
[Samsung Galaxy Grand Quattro] emeemisri:
+1

Sent from my beloved GT I8552
[Samsung Galaxy Grand Quattro] Arinio:
Dear Koushik

Please go through Post #2 and #14 regarding ADB.

Regarding Flashing from Stock Recovery you can do it through putting the zip file in the /cache partition and flash or put the application in the root folder of the Internal SdCard and flash.

However the above two process requires some Linux command knowledge. If you are not familiar then you can always use Root Explorer to copy/move files.

Hope this will help you and if not please do revert back for further in-depth explanation.

Regards
[Samsung Galaxy Grand Quattro] coolkoushik07:
if i unrooted my phone, can i use stock recovery to flash zip?
[Samsung Galaxy Grand Quattro] Arinio:
No. While unrooted you cannot gain access to root folder of Internal SdCard or /Cache partition.

However not sure about flashing through ADB, hopefully not.
[Samsung Galaxy Grand Quattro] coolkoushik07:
Well bro thanks for ur explanation.. that was my point.. So samsung stock recovery is useless for quattro.. And we cant flash using it in an unrooted phone.. Also the process u told above is only for experts, not for normal users..
[Samsung Galaxy Grand Quattro] Arinio:
When the system unable to boot into GUI Mode stock recovery will help you to do Factory Reset.

Who knows, sometimes Stock Recovery may be the last resort to save you!
[Samsung Galaxy Grand Quattro] coolkoushik07:
The last resort is always an odin n odin flashable firmware. And the stock recovery dont have capability to mount sd card which I have told before. So its pretty useless for maximum as if u root ur phone and mess with system, factory reset cant always save u.
[Samsung Galaxy Grand Quattro] renzorampas:
thanks mate
[Samsung Galaxy Grand Quattro] lols21.10:
hey [MENTION=5335308]Arinio[/MENTION] bro can you help in sorting out my cm11 compiling error as k2wl is not always available and i am a noob
[Samsung Galaxy Grand Quattro] k2wl:
@ Arinio steps to create recovery are good...explained in detail and are very basic....

more automatic and quicker way is

1. go to builder.clockworkmod.com

2. upload your recovery (extract from stock rom or phone)

3. wait for your job to finish

4. download the source folder

5. build your own recovery.

6. make necessary changes to make it bootable.

this is just a suggetion...your way is the way one must know.

One more suggestion:- try to use bbqlinux by codeworkxx for development is faster than ubuntu i feel.

@ lols21.10 any more errors you are getting????
[Samsung Galaxy Grand Quattro] Arinio:
Dear Friend,

Actually I prefer the manual way and that is why please go through my BoardConfig file and suggest me the changes need to be done.

The memory handling in Ubuntu 13.10 is degraded than earlier version. Also the default 'make' is still not supported by Android.

@ lols21.10

Explain us what error you are getting and what is your system configuration and steps you have gone through.
[Samsung Galaxy Grand Quattro] lols21.10:
[MENTION=5335308]Arinio[/MENTION] Here's my problem

i am building using

http://xdaforums.com/showthread.php?t=2635000

Any idea
[Samsung Galaxy Grand Quattro] lols21.10:
META-INF

[MENTION=5335308]Arinio[/MENTION] can you explain what this line do:

mount("ext4", "EMMC", "/dev/block/mmcblk0p13", "/system");

This is for galaxy note 2.

And also which command should i use in Updater-Script to install boot-animation.Cuz this does not work:

package_extract_dir("bin/stock/system/media", "/system/media");
package_extract_dir("bin/mod/system", "/system");
package_extract_dir("BootAni/Brazil-bootanimation/system", "/system");
[Samsung Galaxy Grand Quattro] Arinio:
It looks like the system tries to mount the ext4 file type partition as EMMC file type in /dev/block/mmcblk0p13 which the system knows by system partition as alias.

Regarding the updater script till now I have no idea, so better search net.
[Samsung Galaxy Grand Quattro] k2wl:
@ lols21.10 the line you are asking is the initial line in updater script

it mounts the system partition on the specified dev/block in CWM.

this allows the commands in script next to this line to modify the system..like copying files, symlinking,deleting files etc...

for boot animation just see that you copy the bootanimation.zip to system/media either manually or via cwm flashable zip

@Arinio your boardconfig.mk appears ok....try to build from it...if some error occurs then tell me that error.
[Samsung Galaxy Grand Quattro] ZANKRUT.DOSHI:
[MENTION=943196]k2wl[/MENTION] Can try to we build carbon or omni ROM from your device tree???
[Samsung Galaxy Grand Quattro] k2wl:
@ZANKRUT.DOSHI may be ...just some modifications needed for making it compatible with carbon or omni source code
[Samsung Galaxy Grand Quattro] Arinio:
[MENTION=943196]k2wl[/MENTION]

http://xdaforums.com/showthread.php?t=2541198&page=8 Post # 71
[Samsung Galaxy Grand Quattro] karedo:
Hi

thanks for the guide .. when I want to open sdk I go to development folder .. I open terminal and type ./android

it says premession denied

please help
[Samsung Galaxy Grand Quattro] k2wl:
@Arinio try to use my boardconfig.mk or shabbypengwin boardconfig.mk

it will remove the error you are talking about.

@shinishi use following command in development folder
[Samsung Galaxy Grand Quattro] Arinio:
Dear Friend,

Tried shabby's boardconfig.mk. Error occurs i.e. no graphic display though in the background CWM installed, binary count raised etc.

December end your Github repository was empty. Now? Otherwise please post/PM.

@shinishi

Hope solved. Otherwise revert back.
[Samsung Galaxy Grand Quattro] k2wl:
Now you can check my repo...i think it will solve cwm problem
[Samsung Galaxy Grand Quattro] lols21.10:
can you give me the link of that video:confused:
[Samsung Galaxy Grand Quattro] lols21.10:
[MENTION=5335308]Arinio[/MENTION]

When are you releasing your guide for device tree:confused:, waiting for it :o
[Samsung Galaxy Grand Quattro] Arinio:
How To Create CyanogenMod For Galaxy Grand Quattro

Before I start writing this tutorial please visit the following website:

http://en.wikipedia.org/wiki/Snapdragon_(system_on_chip)

Here look for Model Number MSM8225 (Snapdragon S4).

Galaxy Grand Quattro use this CPU.

Also you can visit : http://system-on-a-chip.findthebest.com/l/265/Qualcomm-Snapdragon-MSM8225

Note that Samsung Galaxy Core GT-I8262 uses the same processor.

After careful observation I found that Galaxy S Blaze 4G (Codename t769) is one of the Samsung product (Though different CPU used, MSM8260) whose CM 11.0 is created successfully and it is a stable release.

Fell free to visit : http://wiki.cyanogenmod.org/w/Build_for_t769

Give special importance to 'helpful tip' and 'note'.

A 32bit latest Ubuntu Linux version is recommended.

We all knew that our device code is I8552.

Hopefully with a decent internet connection (4 Mbps recommended) and 50 GB Hard Disc space for a VM enthusiastic person will be able to build the CyanogenMod for Galaxy Grand Quattro.

If needed before repo sync one can take help of my earlier posts.

Do not use any device tree created by others (with all respect to them). You can create the tree alone.

Tips: The Kernel of an OS heavily depends on the CPU architecture and Motherboard used.

Last but not the least, here, you will be spellbound : http://xdaforums.com/showthread.php?t=1574556 :cyclops: & http://xdaforums.com/showthread.php?t=2510519 :cyclops:

Here is the Hero : http://xdaforums.com/showthread.php?t=2525650

WISH YOU ALL THE BEST.
[Samsung Galaxy Grand Quattro] taufik.tgct8@gmail.com:
I'm wait CM 11 for GT-I8262..please..thanks
[Samsung Galaxy Grand Quattro] Arinio:
You follow my tutorial.

If you have high speed broadband connection then install VMWare Workstation 10, download Ubuntu Linux 32 bit and deploy your VM.

Do this, then I will instruct you for the next step.
[Samsung Galaxy Grand Quattro] Arinio:
Cyanogen Mod Project

@k2wl / coolkoushik07 /Rohit Shrothrium / ZANKRUT.DOSHI /	emeemisri / lols21.10 / shinishi /	freitaz / gody420 / mahir kukreja / Shrukul / manojkumar8552 / iead_20 /	iel0000 / rutvikrvr /	abcdjdj / yajnab / icoolguy1995 /	Xtreme666 / GlauberMSP & All Others (Dev/Non-Dev)

As Mahir maintain his thread at 'Original Android Development' I am posting this in my 'General' thread.

You are ALL requested to discuss openly what need to be done at this current situation so the Cyanogen Mod Project remain alive.

I expect every responsible persons attached to your forum (Dev & Non-Dev) will share his/her valuable suggestion so that we can keep going.

Regards
[Samsung Galaxy Grand Quattro] freitaz:
Well, thanks for "summon" me to this thread, haha. So, let's start. First, I need to say that this is my personal opinion, based in the things that I read here and there... well, let's go to the point.

Our beloved Grand Quattro, despite its release date, is an "old" device, because of its processor, the SoC Qualcomm Snapdragon 200 MSM8625Q. As already stated by the members envolved on CM, many of the CM code doesn't support our device. Still, our members already showed that Grand Quattro is KK-capable, first k2wl and then mahir, who gave me the honor of be the first one to test it. Samsung releases too many devices, it will be difficult for us to receive a KK update. In fact, there are so many galaxies that it is possible to construct an entire universe with them, haha.

That said, our developers are trying hard, improving their knowledge, building for us, but they are inexperienced and have their own lives. So, as stated by you, Arinio, it is necessary to discuss what we can do. And I have some suggestions.

The first one is force the NovaFusion team to put their code on GitHub. They are porting CM for Galaxy Core, which is the closest device to ours, in terms of hardware. A lot of their effort can be merged into our device tree, I suppose.

The second is trying to convince an experienced developer to help us. The dev can give directions to mahir and Shrukul or build by itself, using the logcats for debugging. Here we have a lot of people willing to test builds. I can test also.

The third, which was suggested by someone here, is to raise funds to buy Grand Quattro to a developer, so he can help us. As I already stated on that thread, I can donate a small amount of money to help. For instance, we could give another Quattro for k2wl, who was porting CM until his laptop and device got stolen.

These are the solutions I can think of, for now. I think they are good, but I am open to discussion.