yashsingh1/xdaforums huggingface dataset:
[Android] Arvind7352:
[!] Critical Update

[!] ScriBt v1.43

Changelog :

d13188

A Critical bug (introduced in v1.42) has been explained and addressed in this commit, it was related to Detection of branches for the ROM selected by user.

#HappyScriBting
[Android] steve8x8:
Wow. I found this thread by accident - and immediately remembered the old "callisto" device that had been sitting on the shelf for a year or so - after [MENTION=5051035]Mm7[/MENTION] decided not to build ROMs for it anyḿore. I don't think it could run anything higher than CM11.0 (which it had been doing before I put it away), but that would be a nice exercise for ScriBt. Do you think it's feasible? (I've got to dig out the old device tree, perhaps [MENTION=5051035]Mm7[/MENTION] is still around and can point me?)

Don't tell me it would be wasted time. Time spent learning new things is never wasted!
[Android] Arvind7352:
Why would i tell that ?

If you're interested and ready to do this, and have Initial Device Sources, give it a try!

Changes are bound to happen, Device may boot or bootloop, that's where you need to start debugging, and it would be successful only if you are interested in doing such things.

If it's your first try, then go for CyanogenMod.

I'd not at all discourage for the head-start anyways :silly:

ScriBt won't do some magic, it'd just help you to compile the ROM in an understandable manner. Once you start using it, you would understand how things work, and then start doing things manually!

#HappyScriBting
[Android] S3-747m:
D'oh. My Linux on VirtualBox takes 30 seconds just to bring up the SETTINGS MENU. SETTINGS. MENU.
[Android] Arvind7352:
[!] Critical Update

[!] ScriBt v1.44

Changelog :

024c43

Related to Displaying the Automatable configurations

Since merging lightly tested changes to the master branch wouldn't be favorable for users if things go wrong, I've created a staging branch in the same repository. I would push the latest updates to the staging branch, If it worked properly, I'd merge it with the master branch.

People who are ready to experiment new updates can try cloning the staging branch, do this at your own risk. If you face some error while testing, report it via PM asap!

#HappyScriBting
[Android] :
I'm waiting for a new HDD as I don't have enough recommended space for ROM building. Can this script be made to cook up kernels only?
[Android] Arvind7352:
Seems to be a good idea, I'll see what I can do.

Would mention you if it has been implemented.

Thanks
[Android] Arvind7352:
[!] Update - ScriBt v1.50

[!] Changelog :

Massive Changes Incoming!

c89448

6c0a95

91ef47

9f4d5a

fa128b

[!] Notes:

Added some more utilities. (ninja, repo, ccache)

Revived upScriBt, credits to JustArchi for ArchiKitchen's update Code

Transferability is now ScriBtofy! with a totally different working

ScriBt is now licensed under the GNU GPL version 3 :highfive:

Changes in the code has been explained in all of these commits. (If you're still waiting for some more explanation...) OP and Wiki are being edited with these new changes, would update this once it has been done.

UPDATE 1 : Information about ScriBtofy and upScriBt have been updated in ScriBt wiki!

UPDATE 2 : OP has been updated with the new changes, under review.

UPDATE 3 : Wiki has been updated with the new changes, under review for corrections too.

I'd like to thank [MENTION=5854483]akhilnarang[/MENTION] for helping me out with these changes! These changes took days :silly:

#HappyScriBting
[Android] Arvind7352:
[!] Update - ScriBt v1.52

[!] Changelog :

4f066f

[!] Notes:

Added these ROMs

Euphoria OS

F-AOSP

Parallax OS

Team Radium

Other changes are mentioned in the commit message, take a read!

#HappyScriBting
[Android] Arvind7352:
[!] Update - ScriBt v1.55

[!] Changelog :

f6abcd

c4c05a

[!] Notes :

Fine Tuned working of upScriBt

Usage has to be strictly followed, so that you could use the desired ScriBt, it's now made cleaner.

Happy New Year 2017 (0130 hrs here), and #HappyScriBting!
[Android] mihran_thalhath:
Facing this when trying to run.
[Android] Arvind7352:
Where have you cloned ScriBt ? (mention directory from /)

Have you added it to PATH ? (Or ScriBtofied ?)

Specify the command you've entered to Execute ScriBt
[Android] mihran_thalhath:
Cloned it to a directory /home/datadrive. It was cloned under ScriBt. I tried to execute bash ROM.sh inside the ScriBt directory. Have used it before. Today I accidentally removed ScriBt directory. So i cloned it again. Now facing this error when trying to execute bash ROM.sh.

---------- Post added at 09:57 PM ---------- Previous post was at 09:55 PM ----------

Tried to execute bash upScriBt.sh and i get this output.
[Android] Arvind7352:
upScriBt can be executed only by ROM.sh, don't do it by yourself

Is ROM.rc actually present under that directory?
[Android] mihran_thalhath:
Yeah, ROM.rc is present.
[Android] Arvind7352:
Okay, the Wiki isn't updated yet. The usages are now made clear.

Command to execute ScriBt when terminal is under that directory would be

bash ./ROM.sh

^^ Enter this command and you're good to go.

If you've added ScriBt to PATH (If you don't know, Refer to Feature 'ScriBtofy' in OP) then the usage would be

bash ROM.sh

I'm updating the Wiki (with updated info) now, to make things clear. Would mention you if done.

[MENTION=6422464]mihran_thalhath[/MENTION] Wiki and OP Updated
[Android] mihran_thalhath:
?? Thanks man! It is working now. This is script is huge help for noobs like me!
[Android] Rocketval:
Could anyone make a videotutorial on YouTube?
[Android] SteveMurphy:
This looks great, [MENTION=6049586]Arvind7352[/MENTION] - many thanks for bringing this to us. Going to clone now and try it out!
[Android] Arvind7352:
This itself is a Tutorial-Like Script :silly:

I've planned to post some screenies which would be relevant to a topic mentioned in the OP, to give an impression on how things look in ScriBt.
[Android] Rocketval:
The meaning of my request was just to see how the script works before set everything up..
[Android] phreakenstein:
Anybody tried with Solus Project? I'm planning to take this for a spin if I get some time next week, but it'd be good to get a heads up.
[Android] mihran_thalhath:
So was trying to build an aosp based rom(DU) for my device. When I was trying to build it through ScriBt without making changes to any of the makefiles since ScriBt does that for me, :good:, I always encounter this error all of the time, at the same place. So tried to build it without the help of ScriBt and the build completed without any error. Anyway thanks for Project ScriBt:good:

http://pastebin.com/D5DzXFGe
[Android] Arvind7352:
After reading some details on it and asking from a user, I'd say that ScriBt may not Install the Build Dependencies properly. Don't know about other functionalities of ScriBt.

It has a different package manager (eopkg), some missing packages (or renamed), similar to what ArchLinux has. But, building Android was made quickly feasible with the help of ArchLinux community.

Solus is built from Scratch, not based on Ubuntu. So, if someone operating Solus could share details on building Android successfully, I'd not hesitate to add it to ScriBt.

I'd mention you if there are any updates on Solus with ScriBt.

I was receiving this error for no reason too. Updated Repos later and it didn't come up.

Glad that ScriBt ran successfully for you :highfive:

#HappyScriBting
[Android] phreakenstein:
Thanks.

I'm only on Solus because it has by far been most stable, and fastest to boot on my PC.

I'll try to see if Ikey Doherty (main dev) or someone else can look into this.
[Android] Arvind7352:
[!] Update - ScriBt v1.57

[!] Changelog :

32a136

That's a huuuge message, blame Vacations :laugh:

[!] Notes :

[>] It's 2017 Already! - Update the Copyright

[>] New parameter - usage - shows the possible ways of executing ScriBt

Take a look at Usage Wiki to know about it

[>] Added some information about prompts under 'Build'

[>] Lots of Internal ScriBt modifications

[!] These things aren't spoken about since it's initial release

[>] ScriBt creates a log of some events

Sync - temp_sync.txt

Build - temp_compile.txt

Files required for operation of ScriBt - temp.txt, temp_v1.txt, temp_v2.txt

These files can be viewed after you exit ScriBt. However, these files would be removed when you execute ScriBt on the SAME location next time.

[>] ScriBt's version can be viewed seperately by passing the parameter 'version'

Here's a preview....

It was there some commits behind too, this commit beautifies the output.

#HappyScriBting
[Android] Arvind7352:
[!] Update - ScriBt v1.60

[!] Changelog :

2805078

[!] Notes :

[>] Updated repo to version 1.24 - by [MENTION=5854483]akhilnarang[/MENTION]

[>] upScriBt confirmed to be working (no changes made to upScriBt BTW)

#HappyScriBting
[Android] theincognito:
Deleted
[Android] Adromir:
First let me say thank you for your hard and great work :) Sadly I havent really able to have it work, because whenever I used it, I got stuck initialising the Sourcecode. I tried it for AICP and AOKP and got this error:

[!] Initializing the ROM Repo

Usage: repo init -u url [options]

repo: error: -b option requires an argument

[!] Failed to Initialize Repo
[Android] Arvind7352:
[!] Update - ScriBt v1.60 (Critical)

[>] There's no version bump in this update, since I experienced some issues while merging a commit from staging into master. So, I've tried to solve things and finally was able to merge that staging commit into master, while keeping the number of commits to be 160.

To be clear, there aren't any concerning issues with ScriBt, it's alright.

[!] Changelog:

ScriBt v1.60 (Updated) : d601fd7

This is a Critical update, most of the commands in tools won't work without this change in presence.

[!] Note :

[>] Issues with Installing Dependencies on Linux Mint 18.1 fixed

[>] Improved Distro Detection

#HappyScriBting

According to me, there must be something incorrectly answered with respect to clone-depth, else there should be a minor code mistake.

Can you paste the entire ScriBt output ?

So that I could see what were you answering to the prompts.

Here's my log of Successfully Initializing AICP repo
[Android] Adromir:
[>] 1

[!] You have chosen -> AICP

[!] Detecting Available Branches in AICP Repository

On AICP (ID->0)

443
ics
jb
jb-mr1
jb-mr2
kitkat
kitkat-backup
kitkat-caf
lp5.0
lp5.1
mm6.0
n7.0
n7.1
resf/for

[!] These Branches are available at the moment
[?] Specify the ID and Branch you're going to sync
[!] Format : [ID] [BRANCH]

[>] n7.1

./ROM.sh: line 208: n7.1: syntax error: invalid arithmetic operator (error token is ".1")
./ROM.sh: line 209: n7.1: syntax error: invalid arithmetic operator (error token is ".1")
[?] Any Source you have already synced [y/n]

[!] If you have any ROM's source completely synced, giving this source a reference source, will avoid redownloading common projects, thus saving a lot of time

[>] n

[?] Set clone-depth [y/n]

[!] If unset, Syncs the Entire commit history of any repo which is better for future syncs
Unless you know what you're doing, Answer n

[>] n

=========================================================

[!] Initializing the ROM Repo

Usage: repo init -u url [options]

repo: error: -b option requires an argument

[!] Failed to Initialize Repo
=========================================================

[!] Create a Device Specific manifest and Press ENTER to start sync

---------- Post added at 08:54 PM ---------- Previous post was at 08:52 PM ----------

Figured my error out. I didnt know that you need to put in the ID when selecting the branch
[Android] chintu1234:
Can you tell me one thing though??

Is the ID always 0 or how do we know what id to use??
[Android] Arvind7352:
There are ROMs which have multiple GitHub organizations, so ID is assigned for such cases.

The value of ID to the corresponding GitHub Org is always shown next to the Organization name

You'd see this line after selecting the ROM (when Initializing the repo)

On ORG_NAME (ID->X)

If you want to select a branch under this Organization, then you've to enter the Organization ID (Check for Org name and it's corresponding value of ID) followed by a space and then the Branch Name.

This is the Sole purpose of mentioning ID

Note: ID is evaluated by ScriBt, not a general convention.
[Android] Arvind7352:
[!] Update - ScriBt v1.61

[!] Changelog :

aa10b0e

[!] Notes :

[>] Removed Team Radium ROM

[>] If Terminal doesn't support colors, provide an alternative non-colored syntax

[F] -> Failed
[I] -> Information
[!] -> Statement under Execution
[?] -> Question
[S] -> Success
[>] -> Prompt
[#] -> Root Prompt

[>] Columnize ROMs, and Branch list

[>] Minor upScriBt changes

#HappyScriBting
[Android] noob4598:
First my friend, I feel the need to say that this project is immaculate at the very least. By far the most sophisticated and user friendly development tool I have seen. And i havent even installed it yet. Great job, and although I am not currently interested in rom development, thank you for your hard work. I am however VERY interested in kernel development for my Samsung Tmobile Note 4. I have been looking 6 months for a kernel development tool like this. Why no one has made an environment yet like this specifically for kernels is beyond me. I want to second the previous request for a kernel setup such as this. It would be the first (that I know of) and an excellent add-on to this project. A complete easy development environment for the average user. Sdk is in no way that.
[Android] Kapiljhajhria:
nothing happens no matter which option i try under tools. even the system RAM and resources remain constant during whole process. only time when my system resources gets used is when i try to sync a repo.

i have already downloaded carbon ROM repo and want to use ScriBt in that directory to check everything and also compile ROM using it. How to do that?

after choosing any option under tools nothing happens for 10-15 minutes and then i just cancel the process on my own
[Android] Kapiljhajhria:
I seem to be stuck on this.. From past 30min. Same happens for each and every thing that i try.. Even choosing anything under tools
[Android] Arvind7352:
Explain this, I can't understand by what you mean.

Try cloning the 'staging' branch and check if things are okay. There's a derp related to it. I'd push it to 'master' when other things are okay.

[MENTION=4048340]Kapiljhajhria[/MENTION] it has been fixed in 'staging' branch, check/clone it out :)
[Android] Arvind7352:
I have implemented a Kernel Builder under ScriBt. It's an Initial implementation, so changes can occur, including addition/deletion of some features and/or commands, etc.

It's currently under review at staging branch, with few other changes in the code.

https://github.com/a7r3/ScriBt/commit/f9eaf14da9da3fc349f6c1ba38ca664c83f9a572
[Android] :
Whoa, fast work. Thanks, I'll check it out
[Android] noob4598:
Damn bro...fast indeed. Thank.you. awesome work
[Android] Arvind7352:
[!] Update - ScriBt v1.63

[!] Changelog :

v1.63

v1.62

[!] Notes :

[>] [NEW] Added KernelBuilder. This function facilitates interactive kernel building for the user. More information about it is provided on the Wiki

[>] [NEW] Important messages for any version of ScriBt (v1.61 onwards) would be provided by me (if needed) as soon as the user executes ScriBt. More info about it is provided Here

[>] Some CodeHousekeeping

Features-In-Action provided in Screenshot!

#HappyScriBting
[Android] noob4598:
Man this is awesome dude. Thank you so much. I was counting on your kernel tool bro and you came through. I am dissapointed as hell because this happens to be the one day i leave my laptop at home. Haha. Will be testing as soon as i leave work. Anytime you need assistance, testing, whatever.......you just let me know. I will damn sure send you a donation next Friday. Thanks again

---------- Post added at 10:57 PM ---------- Previous post was at 10:33 PM ----------

Also, i was so excited I forgot to ask, where does manufacturer roms fit in as far as compatibility. I have Samsung Galaxy Note 4 with TW
[Android] Arvind7352:
:highfive: You are welcome

If the kernel is made to run on a Stock OEM ROM (and you have the source of the same), then developing on, and using it on Stock ROM won't be an issue, if you know what changes you make to the Kernel.

If you're developing a Kernel, and you've got the source from the OEM, then make sure to build the kernel without any Changes to make sure stock ROM boots.

Guides for building / making modifications / understanding the kernel are available in the Chef-Central itself. Some of the notable threads are....

https://xdaforums.com/android/software/ultimate-guide-compile-android-kernel-t2871276

https://xdaforums.com/chef-central/android/guide-switching-to-custom-toolchain-t2927662
[Android] Arvind7352:
[!] Update - ScriBt v1.64

[!] Changelog :

3c0264e

[!] Notes :

[>] Code Housekeeping

#HappyScriBting
[Android] Arvind7352:
[!] Thread update

... would get completed in the coming days

First post would undergo a Massive Change soon, Pictorial representation would be the Primary Task. I won't be temporarily closing the thread tho, would keep it open for reviews/requests.

Written Information would be provided in ScriBt wiki, I'd like to keep ONE written reference for ScriBt.

#HappyScriBting
[Android] Arvind7352:
[!] Thread updated

ScriBt v1.65 would come up in a day or two, College work has made me busy for the week. :p

Available in staging branch tho, users may try it out if they want to.

Getting 4 Average Unique clones per day! Thank you for making use of this project! :highfive:

As said before, Users are always welcome to share their suggestions/feedback/issue for Projekt ScriBt under this thread

#HappyScriBting
[Android] Arvind7352:
[!] Update - ScriBt v1.67

[!] Changelog :

7ba749a

6b927a2 - ccache v3.3.4, added by [MENTION=5854483]akhilnarang[/MENTION]

a36c9ef

[!] Notes :

[>] [NEW] Automated Kernel Building. Now you can automate the process of building a kernel, seperately or with source (doesn't matter). Feature-In-Action provided below

[>] [NEW] Set custom username and hostname while building ROM or Kernel.

[>] Change the way how upScriBt reports statuses. It'd be Precise changelogs + status from version 1.66

[>] Improve ROM selection mechanism

[>] Custom User and Host names were suggested by this user in Issue #18

[>] Improved upScriBt in Action at 1st Screenshot

[>] Automated Kernel Building - ScriBtConfig - BuildLog

#HappyScriBting
[Android] Arvind7352:
[!] Update - ScriBt v1.74

[!] Changelog :

d4cc760

15aed54 - by TimSchumi

7953e9a

125b482 - by TimSchumi

609faca - by TimSchumi

f811fb8 - by TimSchumi

4e8ec94

[!] Notes :

[>] Various Improvements in ScriBt and upScriBt

[>] Fix Issues with repo init status and absent package

[>] Suppress 404 Errors if status wasn't uploaded for intermediate versions

Many thanks [MENTION=7331587]TimSchumi[/MENTION] for contributing to Projekt ScriBt! :cowboy: :highfive:

#HappyScriBting
[Android] akhilnarang:
??? Great stuff!!!!!!!
[Android] Rmontoya83:
Awesome work Devs. There are a lot of people whom are very greatful for all the work You guys put in. I have yet to try this out. I myself and a team of non devs are trying to get a port to the ph2n. Hopefully once we get a working build we might be able to use this.

Its amazing seeing the work a man with a pc can do.
[Android] Arvind7352:
[!] Update - ScriBt v1.87

[!] Announcements :

[>] A Telegram group has been created for the purpose of Additional Quick-support from us. Group's purpose is restricted to Projekt's Discussion and Development. NoSpamPls.

JOIN HERE

[>] [YAY] ScriBt has completed 10 Months of Development as of Yesterday!

[!] Changelog :

7ba749a

By [MENTION=7331587]TimSchumi[/MENTION]

181656a

3bc1220

f32ffe2

9e944bf

275540d

4d9c255

609e2b8

55464f7

264ee34

a8fbeab

3f74f68

[!] Notes :

[>] [NEW] Patch Manager! A Tool to generate patches from the Changes which are manually done in the Source. Feature Contributed by [MENTION=7331587]TimSchumi[/MENTION]

Feature has been Documented in the ScriBt wiki! To know how it works, go here

https://github.com/a7r3/ScriBt/wiki/Features#patch-manager

Feature Related Conversations

PullRequest #25

Issue #24

#HappyScriBting
[Android] PieOfJustice:
Getting thrown a

CCACHE Specific exports already enabled in .profile

[!] Setting up CCACHE

ccache: error: CCACHE_DIR must not be the empty string

[!] CCACHE Setup Successful.

Searched but didn't find anything useful.

Any help? Happens when setting up ccache.
[Android] TimSchumi:
Did you set CCACHE_DIR? Also, you may consider joining the Telegram Group to discuss this as it won't clutter up the thread
[Android] Arvind7352:
Show the export CCACHE_DIR= line (inside .profile), something's wrong with it

Can you show the contents of .profile (If you're not sure)
[Android] PieOfJustice:
Hey thanks for the advice. We actually solved it on Telegram Group, just forgot to update back here.
[Android] jimmy999x:
Your Processor is not supported :(
[Android] Arvind7352:
Probably your System (or VM) is running on a 32-bit (x86) CPU
[Android] Arvind7352:
[!] Update - ScriBt v1.89

[!] Changelog :

19f448e

1940b3b

e8e04d4

f453ce5

e626d2c

aa04ac2

[!] Notes :

[>] ROM related changes

[>] Git Cleanup

[>] Code Cleanup

PR : https://github.com/a7r3/ScriBt/pull/26

Information regarding Git Cleanup is explained here.

#HappyScriBting
[Android] Arvind7352:
[!] Feature Teaser

ScriBt is coming up with a new feature, codenamed cmdprex

[?] What does it do

A command which is about to be executed, is first printed, explained, and then executed. Explanation is done in a Colorful manner.

Any command can be broken into commandname and it's parameters. cmdprex breaks each of these parameters, splashes seperate color on them, and explains the same on the next line, with the respective Parameter colors. This can become a better way of explaining any command to the user.

cmdprex is being made in use for every command the user has to know. Screenies showing cmdprex in action are attached below.

[IMG="cmdprex"]https://cloud.githubusercontent.com...5740/1f7a2ea6-195d-11e7-967d-3c14459662ad.png[/IMG]

Currently Under Development in staging branch. Users who would like to test these features can clone the staging branch and check it out!

[!] Some more Teasers...

[>] ScriBt would be changing it's versioning system, it'd be now based on the Git Tags System. This reduces the work required in bumping a version (bumping VERSION, Posting changelogs in status branch). Under Development by [MENTION=7331587]TimSchumi[/MENTION]

[>] [FEATURE] Roomservice Generator - This feature allows the user to interactively create a Custom Manifest with all the possible Manifest operations (Add/Remove/Replace project etc.). Under development by [MENTION=5854483]akhilnarang[/MENTION]

P.S.:

These Features are under development, we expect no #ETAplease posts on these Developments. Thank you. :silly:

#NoETAplease

#HappyScriBting
[Android] fowler82:
Hey guys need somebody to help me out trying to build a kernel i followed the steps on the guide but the pro lem im havei g is i point the kitchen to my toolcbain and it comes back everytime no binarrys found what am i doi g wrong . And thanks for shareing ur work with out it i would of never even thought about building a kernel
[Android] Arvind7352:
Mention the URL from which you've taken the toolchain.

Show the contents of the Toolchain in your PC.

Also, show the input you've been giving to ScriBt. The Terminal Output. Text output is preferred. Screenshots can be hard to read :p

That'd give me relevant info on what's happening.

Thanks for trying ScriBt, #HappyScriBting
[Android] kutlay1653:
How can i add custom repos? i need minimal os Thanks
[Android] aadityarulez:
Any way I could join the Telegram group? Link given doesn't work