yashsingh1/xdaforums huggingface dataset:
[Android] PunkUnity:
Maybe just make clobber or delete your build and start over? Or let it sit there over night and see if it finishes
[Android] mohamed786:
thanks for your support.. and i have start the downloading with these command repo --trace sync -c -d -j8

is it normal to download the source code compares to repo sync -f
[Android] PunkUnity:
I forget what the arguments all mean. -c means only current branch, j is jobs, the trace part I think is like a verbose output maybe? I usually just run repo sync -j16
[Android] 315phatboi:
Ok can any one help me im having a heard time getting through set five i keep getting these errors

Ubuntu 15.04
[Android] ShinySide:
Because you're using Vivid Vervet and not utopic. Try replacing utopic in those lines with vivid vervet. Or the packages are depreciated for 15.04
[Android] 315phatboi:
Tried that and still not working getting the same errors
[Android] sylentprofet:
http://xdaforums.com/chef-central/android/guide-how-to-configure-ubuntu-15-04-t3091938

Check out the new guide updated for 15.04

There's a small fix for jayatana errors if you're using Unity. Other than that works fine.
[Android] vuminhduc_1998:
Please anyone help me with me error here

http://xdaforums.com/chef-central/android/im-stuck-repo-sync-t3129624

thank you guys
[Android] srisurya95:
error

I got this error while symlinking

failed to create symbolic link ‘/usr/lib/i386-linux-gnu/libGL.so’: No such file or directory
[Android] ShinySide:
Think you skipped step 6
[Android] srisurya95:
I got the error when I pasted the step-6 line itself

EDIT:

E: Unable to locate package libglapi-mesa-lts-utopic

E: Unable to locate package libgl1-mesa-dri-lts-utopic

E: Unable to locate package zlib1g-dev

E: Unable to locate package libx11-dev

E: Unable to locate package libreadline6-dev

E: Unable to locate package libgl1-mesa-glx-lts-utopic

I get this when I installed required packages and then I removed those lines and did again and it was success but symlinking fails
[Android] sylentprofet:
OP here

There's an updated version of this guide if anyone is trying to setup Ubuntu 15.04

https://nathanpfry.com/how-to-setup-ubuntu-15-04-vivid-vervet-to-compile-android-roms/

A few things changed, some packages / steps are no longer necessary. Hope this has helped everyone!

Keep the Android community rolling..
[Android] ClaudioIT:
if i have 3gb of ram on my pc, how many gb of ram I have to give to the virtual machine?
[Android] ShinySide:
With only 3gb of ram plus being a vm it's going to take hours to compile a rom. Give it as much as possible and hope for the best
[Android] ClaudioIT:
Thanks for reply, can i give all 3gb of ram to the virtual machine?
[Android] ShinySide:
Probably won't let you give all 3 gigs. Just give all you can.
[Android] MJPollard:
You probably wouldn't want to give it all 3GB anyway, not unless you didn't want to do anything else on the host machine while your VM was running. ;) 1GB would be the safe level, I should think, which will allow you to run your VM without causing too much hardship on the host machine. 1.5GB, maybe. 2GB would be pushing it. You'll have to experiment to see which amount of RAM is acceptable to you, but I'd prepare myself for long build times if I were you, because a 3GB machine is unavoidably limited. It's generally accepted that the more RAM you have, the better it is for running a VM (or anything else, really). My own machine has 16GB of RAM, and I devote 6GB to my VM, which lets both my VM and host run well. 32GB is on the horizon, just as soon as I can set aside the cash for the RAM. :)
[Android] ClaudioIT:
Thanks, i'll try with 2gb and when I have money, I will try to expand the RAM to 8GB
[Android] HudShow007:
Problem in Item 5

I'm having Problem in Item 5.

sudo apt-get install git gnupg ccache lzop libglapi-mesa-lts-utopic:i386 libgl1-mesa-dri-lts-utopic:i386 flex bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 libc6-dev lib32bz2-1.0 lib32ncurses5-dev x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 lib32z1-dev libgl1-mesa-glx-lts-utopic:i386 libgl1-mesa-dev-lts-utopic g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc libreadline6-dev lib32readline-gplv2-dev libncurses5-dev bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev squashfs-tools pngcrush schedtool dpkg-dev

View attachment 3415138
[Android] ShinySide:
Can you change it to English? I can't read that
[Android] HudShow007:
Arrange got the error, I removed all "-lts-Utopic" command.
[Android] HudShow007:
Guys I have a question, I'm carrying a rom with Lollipop in the tutorial made to the item 10 as the other spoke of kitkat. How can I go?
[Android] ShinySide:
Are you using 15.04?
[Android] HudShow007:
14.10
[Android] Nevuly:
Ubuntu 14.04.3 LTS Build tools install command

Ubuntu 14.04.3 LTS Users have issues to install build tools

Please follow my command (I tested.)

sudo apt-get install git gnupg ccache lzop libglapi-mesa-lts-vivid:i386 libgl1-mesa-dri-lts-vivid:i386 flex bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 libc6-dev lib32bz2-1.0 lib32ncurses5-dev x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 lib32z1-dev libgl1-mesa-glx-lts-vivid:i386 libgl1-mesa-dev-lts-vivid g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc libreadline6-dev lib32readline-gplv2-dev libncurses5-dev bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev squashfs-tools pngcrush schedtool dpkg-dev

You can download and install it.
[Android] TechExhibeo:
(Y)

nice work buddy :D
[Android] rtoledo2:
OLD Newbie

any and all comments welcomed by this old ****:p
[Android] Khizar Ali:
Facing fatal line config

when i entered repo init -u git://github.com/AOKP/platform_manifest.git -b kitkat

Anyone please help?

---------- Post added at 06:14 PM ---------- Previous post was at 06:13 PM ----------

facing fatal line config

when i entered repo init -u git://github.com/AOKP/platform_manifest.git -b kitkat

anyone please help
[Android] PunkUnity:
Is kitkat the right revision? And does that repository and their default manifest still exist for kitkat?
[Android] eragon5779:
I'm getting this error with repo init:

OSError: [Errno 38] Function not implemented

Full traceback:

Traceback (most recent call last):
File "/media/eragon5779/Android Source/.repo/repo/main.py", line 531, in <module>
_Main(sys.argv[1:])
File "/media/eragon5779/Android Source/.repo/repo/main.py", line 507, in _Main
result = repo._Run(argv) or 0
File "/media/eragon5779/Android Source/.repo/repo/main.py", line 180, in _Run
result = cmd.Execute(copts, cargs)
File "/media/eragon5779/Android Source/.repo/repo/subcmds/init.py", line 399, in Execute
self._SyncManifest(opt)
File "/media/eragon5779/Android Source/.repo/repo/subcmds/init.py", line 171, in _SyncManifest
m._InitGitDir(mirror_git=mirrored_manifest_git)
File "/media/eragon5779/Android Source/.repo/repo/project.py", line 2289, in _InitGitDir
self._UpdateHooks()
File "/media/eragon5779/Android Source/.repo/repo/project.py", line 2309, in _UpdateHooks
self._InitHooks()
File "/media/eragon5779/Android Source/.repo/repo/project.py", line 2338, in _InitHooks
os.symlink(os.path.relpath(stock_hook, os.path.dirname(dst)), dst)
OSError: [Errno 38] Function not implemented

Never had this problem before. Doesn't matter what source I try to download (Trying to download AOSP in this instance). I had to reinstall Linux Mint 17.3 recently, and before the reinstall, I had no issues using repo init. Tried a couple things, including a second reinstall and a different version of Mint with no luck. Any suggestions?
[Android] Darkshado:
I just got my setup going (again) with a chroot, I'll leave a couple of disparate notes here since they might come in handy for others.

I'm using Linux Mint 18 on the host (based on Ubuntu Xenial) with an Ubuntu Trusty 14.04 chroot.

sudo apt-get install schroot

Add in /etc/schroot/schroot.conf

[build_android]
description=Ubuntu 14.04 LTS - Android Build Environment
profile=android
type=directory
directory= # path to the root directory for your chroot, i.e. where you'll have debootstrap write
users= # your username
root-users= # your username again, so you can sudo within the chroot
preserve-environment=true
aliases=trusty,default,android

Copy the default copyfiles, fstab and nssdatabases from /etc/schroot/default/ to /etc/schroot/build_android/

Adjust the fstab as required

mkdir build_android

sudo debootstrap trusty /mnt/disquedur/chroots/build_android/

schroot -c build_android # afterwards schroot alone will start the chroot

One gotcha, the change from SysV to systemd (since chroots share their kernels with the host) requires a workaround (unsuitable for production judging by the subsequent discussion) as per comment #57 on this ticket

https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1325142/

Save and run inside the chroot

#!/bin/sh

# Ensure that apt upgrades work in Ubuntu on Windows
# environments, which do not use Ubuntu's /sbin/init
# Install a dummy, exit-non-zero policy-rc.d
cat >/usr/sbin/policy-rc.d <<EOF
#!/bin/sh
exit 101
EOF
chmod +x /usr/sbin/policy-rc.d
# Move initctl out of the way, install dummy initctl
dpkg-divert --local --rename --add /sbin/initctl
ln -sf /bin/true /sbin/initctl

Inside the chroot, enable PPA support with software-properties-common (as required) enable the following package sources

sudo apt-get install software-properties-common
sudo add-apt-repository main
sudo add-apt-repository universe
sudo add-apt-repository restricted
sudo add-apt-repository multiverse
sudo apt-get update
sudo apt-get install schedtool bc

Then follow the usual guides.
[Android] DKnightX91:
Can someone tell me how to beat this?

[ 26% 12800/47935] Building with Jack: /home/dknightx91/android/Test1/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/with-local/classes.dex

FAILED: /bin/bash /home/dknightx91/android/Test1/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/with-local/classes.dex.rsp

Out of memory error (version 1.2-rc4 'Carnac' (298900 f95d7bdecfceb327f9d201a1348397ed8a843843 by android-jack-team@google.com)).

GC overhead limit exceeded.

Try increasing heap size with java option '-Xmx<size>'.

Warning: This may have produced partial or corrupted output.

[ 26% 12800/47935] Building with Jack: /home/dknightx91/android/Test1/out/target/common/obj/JAVA_LIBRARIES/libprotobuf-java-micro_intermediates/classes.jack

ninja: build stopped: subcommand failed.

build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed

make: *** [ninja_wrapper] Error 1

make: Leaving directory '/home/dknightx91/android/Test1'

That file, no mater what I try I get beat by it every time I compile. Any tips on why or how to get around it?

Delete wrong Ubuntu.
[Android] TimSchumi:
Export this to prevent Jack from running out of Memory:

export ANDROID_JACK_VM_ARGS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4g"

This will change the amount of memory available to the Jack server without the need to start the jack server manually or modifying configuration files

Replace the 4g with your appropriate RAM setting
[Android] Ayan Uchiha Choudhury:
anybody found an answer to this?
[Android] eragon5779:
Wow, this is an old post. This issue, as far as I figured out back then, was related to Linux Mint. There is some underlying issues with it that were ultimately the reason why I switched back to stock Ubuntu and its flavors (currently run Kubuntu for some application support). It may have just been a Python error, but most AOSP building is done on stock Ubuntu, so I had switched and never looked back. My advice would be to switch from Mint and try Ubuntu 16.04.4 (or waiting until 18.04 comes out in a few days).
[Android] Ayan Uchiha Choudhury:
I realised this was due to exFat. Had to format my HDD in NTFS and voila!
[Nexus 4 Q&A, Help & Troubleshooting] blade_mz:
Hi,

my touchscreen is broken and I want to save some of my data. Specially the whatsapp chats.

I tried quite a few things, but nothing works.

I have USB-debugging activated, now I installed adb-driver, but it needs to be authorized by clicking on the phone and that doesnt work.

I dont have root.

Is there any way of getting my data back?
[Android Q&A, Help & Troubleshooting] raj1raj:
hello everyone

how unlock bootloader on a tablet when it is not booting up. restarting again & again after displaying android logo??

anyone has know the method, plz help

thanx
[Android Q&A, Help & Troubleshooting] SimonTS:
You might get more luck if you at least tell people what tablet it is and what you did to get it in such a bad state.
[Android Q&A, Help & Troubleshooting] raj1raj:
tablet not booting

thanks for reply

my device is china MT6572 with android 4.2.2

I have use a very very very superb tool named "MtkDroidTools v2.48" and bricked my newly purchage tablet.

1. I click on root and happy thing is that tablet got rooted. wow

2. I have created backup from this tool and after few minutes, many *.img backup files are created on my pc and my tab's sdcard. wow again

3. After restarting the tab it restarting again & again and not booting. really a "heart attacking wow".

I have tried following steps

1. In default "android stock recovery 3e" trying to restore backup files and got message "installation aborted" everytime. same message from using "adb sideload command"

2. creating a scatter file from this tool and load backup in "SP_Flash_Tool_v5.1343.01" tool. but no any tool connect my tab. it says no device.

3. only "adb sideload" from stock recovery has the way to connect to the pc. but I don't know which kind of files are used at there??

During the backup process a log file created by MtkDroidTools has attached for details information.

then plz tell me. what I do for get again a "relaxed wow"??
[Android Q&A, Help & Troubleshooting] Klown80:
Load scatter file and back up files in SP Flash tool. Power your tablet off, hit download button in SP Flash tool then connect tab to pc.

If you have the preloader driver installed SP flash tool should connect and start flashing firmware to phone. Do you hear the connecting sound when you connect powered off tablet to pc? If not, you may need to press and hold Vol Down, Vol up, or menu button while connecting tab to pc.

Hope this helps and good luck!
[Android Q&A, Help & Troubleshooting] raj1raj:
tablet not booting

Thanks a lot sir

but my tab has no menu button, only have three hard buttons.

pressing

power + volup = stock recovery

power + voldown= nothing happen

power + volup + voldown = poweroff tab

when I connect the tab to pc in power off mode. The tab automatically startup after a charging logo.

I have preloader drivers on my pc but when turn on the tab. it is appearing in device manager (preloader composite) for only 2-3 seconds. and disconnected. because tablet rebooting again. I can't install preloader drivers in this short time.

plz suggest.
[Android Q&A, Help & Troubleshooting] Klown80:
Ok, no need to hit a combo of buttons, only 1 button you need to press while connecting tab to PC. Please retry following the directions from my last post again

Yes, preloader will only show for a few seconds in device manager before it turns off. Preloader is only for reflashing firmware. When it enables itself, it is looking for the SP FT (or other firmware flashing programs) to be there to catch it, if not preloader shuts itself off.. Your download of SP Flash Tool should have included the needed preloader drivers. Then you load files in SP FT and hit download button then connect tab to PC.
[Android Q&A, Help & Troubleshooting] raj1raj:
tablet not booting ----solved

Thank you very very very very much. Finally I have got a wow.

After many efforts, I resolved the tablet booting issue. It is possible due to only your valuable suggestion.

steps are here:

1. connect tab to pc & installing preloader usb drivers.

2. getting VID & PID of tablet usb connection.

3. modifying "SP FT settings files" with new values of my tab.

4. creating a scatter file from droid tool & load in SP FT.

5. Flashing backup to the tab successfully.

You are such a genius. I have been wasted a lot of time since a week for getting the right answer. During this period I had connected to many android experts at many sites. but no satisfaction answer.

And u are really amazing. You have got the real problem in only three conversation. really great.

Well I m a windows expert. If u feel any technical problem regarding servers or windows, ask me, I will try my best.

I am launching a website soon named "GeniusPepoleofWorld.com". Many technical experts & genius people will listed there in different categories like Android experts, Windows experts, Linux Experts, Robotics Experts, Electronics xtra xtra. I want to add you at top there in Android Expert list. Now site is under constructions. I want to know your name & personal mail-id like gmail etc. When I will finish my site, I will inform you.

One more thing I want to know that "what is the use of stock recovery & adb sideload, which files types are used with it?"

Plz plz reply this with your name and mail-id.

Thanks a lot again

-----------

Regard

Raj

Sr. Server Engineer

Delhi, India
[Android Q&A, Help & Troubleshooting] Klown80:
I am happy to hear it worked for you. Nice job Raj! :) :) :) I am just passing on the knowledge I learned here on XDA (Thank [MENTION=5119815]rua1[/MENTION] he made MTK DroidTools and without that tool alot of folks with MTK devices wouldn't have root, stock firmware back up files, or working recovery ;)

Anyhow, as for your last 2 questions. Stock recovery is used for flashing officially signed update files from your device manufacturer (If they were to make an update that is lol) This is how all android devices are able to accept ota updates, they download the file to phone/tablet then reboot into recovery and then it flashes the downloaded file to the device.

Adb sideload allows you to connect the device to a PC and then upload a firmware file to device to be flashed via recovery instead of downloading it directly to the phone. This is useful if you had an officially signed stock firmware file for your device stored on your pc. Some custom recoveries also allow you to use adb sideload but since you have stock recovery you would be restricted to using only officially signed files.

Say for instance you were not able to get your device to boot properly, you would just need to boot tablet into recovery mode and then choose adb sideload. At this point you would connect tab to PC and then put your firmware file in the same folder you have adb.exe in. (Let's call the firmware file "firmware.zip" in this example) Then open command prompt in same folder that adb.exe is in and type "adb sideload firmware.zip" this would push the firmware.zip file to the device then flash it for you.

Since you were able to use MTK Droidtools to get root then make a back up, you should be able to also use it to make a custom recovery for your device too. When you made the back up, it will usually make 2 back ups, one on your pc that you use SP FT to flash files and restore your device then it also makes a back up on your devices sd card that is flashed through custom recovery to restore your device. This would make restoring your device pretty easy if you need to do so again and it will also allow you to restore without needing a PC to do it.

Hope this helps!

Kevin
[Android Q&A, Help & Troubleshooting] kbrahma:
I've got the exact same problem with my phone... My phone, Celkon A15 (Indian brand) also has the same chipset number and while trying to root using MTKdroids tool, I have managed to get it in the boot looping stage.

I'm just curious on how you managed to get the pre-loader installed for this? I CAN NOT get the SP Flash tools to detect my phone for the life of me. Also, when I load my scatter file, it has the "PRELOADER" section in RED... and when I try to upload the preloader.bin from my backup files, it says... "Load file "*path name*" fail!"

I am still struggling to understand how the SP Flash tool works and if it would be able to get my phone alive again (well it did help you out, so I am bit optimistic).

Please HELP! :(
[Android Q&A, Help & Troubleshooting] raj1raj:
device not booting

Hi

1. First you have connect your device to pc.

2. you have to open the device manager and keep your eyes on a new hardware found at device manager, when you start up your device.

3. Preloader will only show for a few seconds in device manager before it turns off.

3. install preloader drivers.

4. open SP Flash tool and load scatter file and set path for your backup files.

5. Click download button and reboot your device.

6. Software will catch your device and finally backup will be restored to your device.
[Android Q&A, Help & Troubleshooting] Shubham Bekwadkar:
I too have got same problem, i have infocus m2 with mt6582, i rooted with kingroot n used mtk droid tools for backup.after backup i tried to modify boot img and install cwm using mtk tools but now it wont boot up, nor it enters recovery mode, i tried to flash stock boot and recovery img through sp flashtool but its giving error (2004), plz help me plzzzz....
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Saatvik Shukla:
[Mini Pro][Port][ROM][KK][4.4.2] &#9733;&#9733;&#9733; KK BEAM KAT v.1 &#9733;&#9733;&#9733; [PAUSED]

ROM KK BEAM KAT

What's working:

Everything i guess :victory:

Features :

Status Bar custom clock & date ( normal/center )

HALO

Network traffic Thingking bridge/ChaOS style

Added more Quicksettings tiles ( Music/Album art, Power menu, Screenshot, Quick sound record )

Music/album art tiles ( on press will automatically start your music player, on long press will skip to next track )

Power menu tiles ( on press will launch Power menu options , on long press will launch Reboot options )

Screenshot tiles ( on press will automatically take screenshot anywhere, on long press will delay screenshot in 5 seconds )

Quick Record

LCD Density Changer

OPPO N1 default wallpaper

Bootanimation Nexus Flash by PartimusPrime

Navigation bar enable/disable

Navigation bar dimension ( choose height / hide )

Screen Recorder

Lockscreen see through with blur effect

Show slider lockscreen before security unlock

CRT off effect options ( Electron beam, Fade out )

QuckSettings with 3, 4, or 5 per row

RAM bar

Notification drawer custom background and transparency

Notification drawer different landscape background

Notifications row transparency

QuckSettings tiles custom colors and transparency

QuckSettings tiles custom text colors

Ribbons transparency

Changeable logo & text in about phone

Credit & Thanks :

- Adi Aisiteru Reborn for this super awesome ROM

- Recognized developer Arco

- Recognized developer Educk

- Recognized contributor Ipromeh

- Paranoid Android

- hurtsky

- hadidjapri

- Cristiano Matos

- crDroid team

- mike for cm11

- miki2o

- ADC team SGS+

- PartimusPrime

- AOKP team

- Carbon rom team

- Chameleon OS team

- Slimbean team

- Carlos_Manuel

- BaNkS

- lafactorial

- nightwalker

- Alberto97

- chrisg4

​

XDA:DevDB Information

KK BEAM KAT, a ROM for the Sony Ericsson Xperia Mini, Mini Pro, Active

Contributors

saatvik2012, Adi Aisiteru Reborn

ROM OS Version: 4.4.x KitKat

Based On: CM11

Version Information

Status: Testing

Created 2014-02-07

Last Updated 2014-02-07