yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] manudroid19:
You were right guys... running df shows this:

In a phone officially upgraded, the result is :

Filesystem 1K-blocks Used Available Use% Mounted on

/dev/block/mmcblk0p14 1334432 1190328 144104 89% /system

In a phone with my zip, the result is:

Filesystem 1K-blocks Used Available Use% Mounted on

/dev/block/mmcblk0p14 1168556 1167504 1052 100% /system

I will compile now a new ZIP with the correct image size.. You will just have to dirty flash and it will be fixed!!!

EDIT: the exact size is 1366458368 in bytes
[ONE Android Development] manudroid19:
Making a bigger image = more free space in /system
[ONE Android Development] gasterakos:
Ok, thank you for your answer friend. If you could confirm it by your check, it would be great. Best Regards
[ONE Android Development] grusta:
So we were lucky nothing got deleted!

Thanks for your reply
[ONE Android Development] manudroid19:
Nope, since make_ext4fs won't make an image smaller than the input folder
[ONE Android Development] Kevin1705:
Has anyone tried flashing this from twrp 2.8.6.0? I'm having concerns about the modems or the firmwares that works with the sensors (correct me if im wrong) because as i know, twrp above 2.8.6.0 cannot flash modems.. Am i right?
[ONE Android Development] manudroid19:
I'm not sure but i think you're correct. However, TugaPower's TWRP flashes everything correctly, as I said in the first post, and it's a newer recovery.

BTW, I have already got the new image... update coming in a few minutes...
[ONE Android Development] lapapunk:
Nope. Newest twrp 3.0.2.0 by Tuga. Can flash All that you need.

---------- Post added at 16:40 ---------- Previous post was at 16:39 ----------

It's good. What new in this image?
[ONE Android Development] manudroid19:
Correct system.img block size.

Guys, looks like androidfilehost is down, uh??

EDIT: uploading... seems like some parts of the site are down...

EDIT2: uploaded... I'm currently flashing and testing and I will update thread
[ONE Android Development] manudroid19:
New version out

I have successfully tested the Build 2... This build aims to fix the low space issue in /system

Also, this image has been directly created from a officialy upgraded OnePlus One...

EDIT: It has now enough free space, but it isn't still equal to official one... it differs in 1,5%

My image is 21,495808mb smaller, out of a total of 1366,458368 mb

It's not relevant from our view, but it can prevent us from flashing official otas :(

EDIT2: Just did some more measurements... The build2 has 126,717952mb free, while official upgrade has 147,562496mb free and build1 had 1,052mb free (woops)

Just download and dirtyflash over build1... wipes are not necessary...

Link: https://www.androidfilehost.com/?fid=24499762635997186

Hit thanks if I deserve!!
[ONE Android Development] evanmyname:
so the 2nd build ist fit with xposed framework?THX:)
[ONE Android Development] manudroid19:
Yep, look at the edits I did to that post...
[ONE Android Development] Nalin12:
I want to report a bug that prevent accidental wake-up is not working, if it's working then do tell.
[ONE Android Development] Aavion:
I've read it pretty often in the Oneplus forums, that prevent accidential wakeup isn't working for some... Just did a quick test, covering the proximity sensor with my hand while double tapping... Screen stays off, as intended. Uncovered the sensor, double tapped again, screen turns on... Seems that this bug is one of those random issues... :o Factory reset should do the trick (and if not, make sure that data and cache are ext4 formatted)...
[ONE Android Development] Nalin12:
Yes factory reset is what i have done thinking that the problem might go away. But since yours is working i might do a clean flash again with tugapower recovery. I flashed mine with official twrp 3.0.0.2 :)
[ONE Android Development] Aavion:
If you do, please reformat /data and /cache to ext4 within recovery (just to make sure^^)

Because I remember those random issues from my old Nexus 4 when /cache was f2fs formatted... Nothing critical, but enough to hate f2fs :D
[ONE Android Development] Nalin12:
Yes i will do that although it already says ext4 for those partitions.

EDIT : No need, just checked again after another reboot and it's working now. It seems that i have to press the sensor area (like in a tight jeans) for it to work. Just covering it is not doing it for me.
[ONE Android Development] Anubhav1996:
Multi rom compatible?
[ONE Android Development] diederikmo:
thnx for this
[ONE Android Development] manudroid19:
nope... kernel issue...
[ONE Android Development] jimmmaras:
Thanks for this mate
[ONE Android Development] lazy-buntu:
Flashed the new version since 1st version was acting wonky (/system was full). Now Adaway says "Copy of hosts file failed!". If I use BuildProp Editor to change LCD DPI, I get "An unknown error occurred while editing the system property."

Rooting seems to have been OK since I get "#" after typing su in the terminal, plus granting access is OK.

Any ideas? At a minimum I'd like to get my adblocking back while awaiting the official release :eek:
[ONE Android Development] diederikmo:
If official comes out, can I just flash the official over this one ?
[ONE Android Development] lazy-buntu:
Symptoms looks like: http://xdaforums.com/showthread.php?t=1910738&page=100

System apps return when trying to be deleted
[ONE Android Development] Anubhav1996:
Well i thought i would still give it a shot, and it works fine, no issues till now.??

P.s - Using it as a secondary rom.
[ONE Android Development] manudroid19:
Wow that surprises me... What ROM/kernel do you have as primary?

Enviado desde mi A0001 mediante Tapatalk
[ONE Android Development] manudroid19:
Yep

Enviado desde mi A0001 mediante Tapatalk
[ONE Android Development] Anubhav1996:
Resurrection Remix (6.0.1 marshmallow)
[ONE Android Development] manudroid19:
Mmm looks like a kernel thing... But you could try this: go to TWRP, click mounts, uncheck "keep system read-only" and confirm it...

Enviado desde mi A0001 mediante Tapatalk
[ONE Android Development] manudroid19:
I'll investigate... Anyway, what I can confirm, is that this system write protection affects also to officially upgraded phones.

Enviado desde mi A0001 mediante Tapatalk
[ONE Android Development] lazy-buntu:
Thanks! Appreciate it!

I'm using the latest version of TWRP 3.x and it's having a hard time decrypting the phone, even without a password after flashing Marshmallow. The last attempts to fix rooting / adblocking I've been mounting a USB with the zips for flashing
[ONE Android Development] 123Kage:
Do you have flashable stock CM13 kernel? I want to try different kernels and also want to keep stock kernel as backup
[ONE Android Development] lazy-buntu:
Also changing permissions and uninstalling system apps is failing :(
[ONE Android Development] manudroid19:
I don't think it's a good idea since there have been new commits since the base of COS was in nightlys...

The only kernel that I think it may work as expected is the snapshot one... I'll give it a try...

Enviado desde mi A0001 mediante Tapatalk
[ONE Android Development] manudroid19:
Have you tried what I wrote before? Mounting in twrp as r/w??

Everything involving a modification to system will fail

Enviado desde mi A0001 mediante Tapatalk
[ONE Android Development] manudroid19:
Could I have a screenshot of settings-->about phone-->kernel info ???

Enviado desde mi A0001 mediante Tapatalk
[ONE Android Development] vickeye:
I managed to remove sys apps using TB... busybox installed.. adaway works too . hope that helps ;)
[ONE Android Development] khanhee:
can you explain how to get adaway working? have the same issue as lazy buntu "Copy of host files failed". went into twrp to not mount system as read only but still nothing.
[ONE Android Development] vickeye:
install busy box and titanium backup.. remove unwanted apps.,using TB coz when I checked storage info , it shows almost nil space for system partition.. now adaway works with no issue
[ONE Android Development] manudroid19:
have you the stock kernel?
[ONE Android Development] khanhee:
works. thanks!
[ONE Android Development] vickeye:
yep.. nthn modified
[ONE Android Development] grusta:
Thanks a lot!!

BusyBox wasn't installed. Installing it solves the problem with system apps. A reboot is not even needed.
[ONE Android Development] manudroid19:
Busybox manages to mount system as RW...

The space issue is solved by flashing the build2 of this ROM (look at first post), you don't need to remove apps

Enviado desde mi A0001 mediante Tapatalk
[ONE Android Development] lazy-buntu:
Busy box is installed now, do you need TB premium to uninstall system apps?
[ONE Android Development] manudroid19:
Well, what we know:

1-COS13 does not include busybox and comes with system mounted as RO

2-mount command is not avaliable without busybox, so apps fail to write to system

3-some busybox installers manage to mount system and install busybox. Others dont. Busybox-stericsson, for example, does not work.

4-with busybox installed, some apps like AdAway manage to work properly.

5-mount command is still not available through terminal

I need to clarify the influence of kernel and selinux in this mess, and also I need to see if changes persist on reboot.

If someone knows anything else, it's appreciated...
[ONE Android Development] tonix435:
Thanks for the zip!!

Have we figured a workaround on installing side loaded apk's?

Thanks again for everything...
[ONE Android Development] manudroid19:
That's not needed, to have free space, just flash build2, you MUST do it, the lack of space is too big to solve it uninstalling apps
[ONE Android Development] Aavion:
In Android 6, AOSP decided to replace Busybox with Toybox. That's causing many problems with apps that still rely on busybox (mainly apps that require root). That's not a bug... It's working as intended and app-devs need to add toybox support in their apps to make them work again. Andoid 6 still has support for busybox, but with Android "N", this support is going to become shut down, too. That's the reason, why those apps do work on most custom roms (that include busybox) but not on official factory roms (that need google certification, so no busybox included).
[ONE Android Development] lazy-buntu:
I'm on build 2 now, so Adaway doesn't complain about lack of space anymore, but there's still a problem with the host file. Build Prop editor and other programs that make system changes are on the fritz still
[ONE Android Development] Jeanxito:
On build 2, I uninstalled most of the programs I do not need (ex. Google play, books, news, Google plus etc..) I Installed busybox and restarted phone..voilà..no more root problems, moved adaway to system> priv-app folder and give permissions and restarted phone..then no more problems with adaway and hosts file..restarted phone and goodbye ads.

The only thing that I encountered problems was with es file explorer can't enable root, so ..I used root explorer to do the trick with permissions, etc..
[ONE Android Development] Tommy92:
Guys I uninstalled Google Now, bootloop....

Anybody have an idea how to restore the OS? :(
[ONE Android Development] lazy-buntu:
As someone mentioned, the BusyBox by eric doesn't work. Once I installed a different BusyBox app, Adaway worked and I'm off to the races. I'll post any other snags I come across
[ONE Android Development] Wilguens Joachin:
Has anyone tried installing xposed yet? ?
[ONE Android Development] imam.krismanto:
many bloatware??
[ONE Android Development] nulogic:
cannot remove system app

guys... how to remove system app like in CM12?

busybox already installed at /su/bin using busybox pro

adsaway is OK.

when removing system app using Uninstaller (root), the app is restroing back :(
[ONE Android Development] vickeye:
you can install like any other apk.. if you get any error ,just make sure to revert back to default system theme and try again.. it should work now
[ONE Android Development] :
Use file manager from custom recovery, mount /system, go to /system/apps and /system/priv-apps and delete what you don't need.
[ONE Android Development] nulogic:
yup thats what i've done...

using twrp file manager to remove Cerberus :eek: and other apps.

hope that is no side effects :p
[ONE Android Development] Vinod royal:
Rear camera stopped working

I tried to take a pic in slowshutter(2secs) now camera not working only shows black screen ,but front camera is still working ..
[ONE Android Development] Pablo.x:
Reboot and try to reproduce the bug with a log pls

Reflash the rom, what recovery are you using?

Enviado desde mi A0001 mediante Tapatalk
[ONE Android Development] Vinod royal:
Bug report

java.lang.RuntimeException: Media server died.

at com.android.camera.CameraErrorCallback.onError(SourceFile:33)

at android.hardware.Camera$EventHandler.handleMessage(Camera.java:1172)

at android.os.Handler.dispatchMessage(Handler.java:102)

at android.os.Looper.loop(Looper.java:148)

at android.os.HandlerThread.run(HandlerThread.java:61)
[ONE Android Development] Kevin1705:
Okay thanks for your info..
[ONE Android Development] Tommy92:
TWRP 3.0.2

I tried to reflash but no way, always bootloop.

If I wipe all data and system and clean install the rom I have no problem at all, but if I don't do the wipes there is no way to boot the system...

I only deactivate G now and the bootloop occurred, that's incredible...

After a night of test for trying everything I wiped all the partition and started from a clean rom. WTF :(
[ONE Android Development] rohit83:
No busy box installation

After dirty flashing 2nd build system partion increased but busy box is still showing zero mb free n is not able to install n coz of that not able to install viper :( . didn't tried xposed though see the attached screenshots
[ONE Android Development] Pablo.x:
Wow... If you have a backup you can try to restore just /data. A /system's wipe and a flash may have resolved that...

Enviado desde mi A0001 mediante Tapatalk
[ONE Android Development] grusta:
Try installing BusyBox with BusyBox on rails, not stericsson (which one the OP reported not working)

Xposed and TiBu are working well on my side.
[ONE Android Development] Kevin1705:
can we flash the zip with (stock?) twrp 3.0.2.0? and which is better to use? stock twrp or tugapower's twrp? i've been googling about tugapower twrp and haven't found anything useful yet..
[ONE Android Development] kawaii_bacon:
Use TWRP 2.8.6.0

And you'll never ever face any recovery related flashing issue ;)
[ONE Android Development] :
Side effects should not fear those who are in XDA :p
[ONE Android Development] SomethingAwesome:
Omg, thank you! Busybox on rails re-installed my busybox successfully. Now TB works correctly. Strange because some root apps were working just fine. :good:
[ONE Android Development] Kevin1705:
really? isn't twrp 2.8.6.0 outdated? can it support marshmallow? if what you're saying is correct, then i'm lucky cos my twrp is 2.8.6.0 so i dont need to flash a new recovery :)
[ONE Android Development] hellcat50:
twrp 3.0.2.0 is really reliable
[ONE Android Development] SathiyXIX:
Tried the newest version and now theme eng is broken. Any fixes screenshot attached
[ONE Android Development] manudroid19:
That app is not update to work with 6.0

Use this one: https://play.google.com/store/apps/details?id=ru.meefik.busybox

Enviado desde mi A0001 mediante Tapatalk
[ONE Android Development] manudroid19:
Look at first post

Enviado desde mi A0001 mediante Tapatalk
[ONE Android Development] manudroid19:
Tugapower's 3.0.2 works great and is more modern. Look at first post

Enviado desde mi A0001 mediante Tapatalk
[ONE Android Development] manudroid19:
Not in firmware side.

Enviado desde mi A0001 mediante Tapatalk
[ONE Android Development] manudroid19:
What's broken there? Try cleaning data of cm theme engine app

Enviado desde mi A0001 mediante Tapatalk
[ONE Android Development] manudroid19:
The big incognito now is why some apps can mount system as rw and work but most file explorers can't.

BTW, with Titanium you can easily uninstall system apps, safely

Enviado desde mi A0001 mediante Tapatalk
[ONE Android Development] hellcat50:
This problem was only present with TWRP 2.8.7.0, this problem was then fixed with twrp 2.8.7.0-1
[ONE Android Development] akuma48465:
It drives me crazy too the battery status
[ONE Android Development] thcerry:
I've flashed with twrp 3.0.0,swiped everything but the home button (phisycal and software) doesn't work,the tile don't go down and when i boot after flashing the smartphone doesn't show me the first setting thing. I have already tried to reflash the rom, what can i try? ( sorry for my english)
[ONE Android Development] SathiyXIX:
When i apply theme i get a force close. None of the icobs display or the statusbar pic. Tried clearing both. Tried doing a fastboot install still there when I originally installed last week issue was not there
[ONE Android Development] Knox316:
Ill be waiting for the official cos13s, because this one doesnt even have maxxaudio.
[ONE Android Development] grusta:
Maxxaudio is working here, believe me.

There is something wrong on your side.
[ONE Android Development] matssa:
Hey guys, I used this zip file in order to update (didn't want to go to a crappy recovery, etc...). Here is the process I followed:

- cleaned everything, including internal (after full backup of course)

- flashed COS13 zip file

- flashed supersu

- flashed xposed,

- flashed betterbatterystats

- flashed audio mod

ROM works fine, but I can't seem to have the root working correctly. I managed to restore using titanium backup (strange cause I didn't install busybox...) but Secure Settings or SELinux Mod doesn't work, can't seem to find root. Anyone has this issue? Anyone managed to fix it? :D
[ONE Android Development] Aavion:
Maxxaudio works even better than it did in cos12.1.1 :) no more lags or dropouts ^^
[ONE Android Development] manudroid19:
Have you wiped data?? Reflash build2 using TugaPower's twrp as noted in post 1

That looks really weird... Have you tried wiping data?

Titanium Backup includes its own BusyBox...

Install https://play.google.com/store/apps/details?id=ru.meefik.busybox

Android 6.0's default security policies are very restrictive... When Boeffla or someone releases a custom reliable kernel, it'll be much better...

Enviado desde mi A0001 mediante Tapatalk
[ONE Android Development] bloof:
There is only systemless root working for COS13. No solution yet.

Or maybe install busybox on rails or the other one that seems to work (not stericson).

Issues have been reported with this full flash compared to OTA update.
[ONE Android Development] matssa:
So the busybox thing should make it work better? I tried using the busybox on rails and didn't change anything.

Yeah I guess this is caused by this zip file... Cant figure out why though...
[ONE Android Development] manudroid19:
Flashing snapshot's kernel makes the CM embedded SU to work, but not sure if that helps...

Root problems are not this Zip's fault since it's exactly identical in content to the official update... And root is an external introduced change...

Enviado desde mi A0001 mediante Tapatalk
[ONE Android Development] thcerry:
I tried to wipe again and then reflash the rom,the opo went bootloop and i turned it off,now it don't turn on,but when i link it with the pc,the pc recognizes some terminal. there is a way to resolve this problem?
[ONE Android Development] Pablo.x:
What wipes did u do?

If you can access to recovery or fastboot mode is may be resolved.

What do you want exactly?

Enviado desde mi A0001 mediante Tapatalk
[ONE Android Development] manudroid19:
First, what twrp are you using?? Use tuga's plz.

Have you wiped data, cache and dalvik?

Then try to reflash... If nothing works, try reflashing COS12.1 and if that doen't work neither, go safe and flash latest COS through fastboot
[ONE Android Development] Ravi2410:
No Hotspot icon in notification drawer panel

Hi there, M on cos 13 flashed the build 2 also but there is a little bug, there is no Hotspot icon showing in the notification drawer panel, when u try to edit tile it shows but after u r done it is not showing see the screenshot below
[ONE Android Development] kawaii_bacon:
Confirmed ,

Also same happens with 'Invert Color' tile.
[ONE Android Development] thcerry:
I wiped data,cache and dalvik,then reflashed. I can't access fastboot or recovery. I used tuga's 3.0.0 . I want a working phone:crying:
[ONE Android Development] matssa:
OK then how come on CM13 nightlies, SuperSU works great, and when switching to COS13 it gets crappy? The kernel has something to do with it I suppose?

EDIT/// Ok so after checking, apparently the kernel from Boeffla has built-in busybox so no need to flash it, and the ROM has built-in root, which can be a reason why it works. Soooo we should need to flash busybox and maybe the snapshot kernel or something for the built-in root.
[ONE Android Development] manudroid19:
Oh i forgot... You have to use snapshot's kernel AND copy the su binary... It's just one file.

With that you'll get embedded SU to work.

Enviado desde mi A0001 mediante Tapatalk
[ONE Android Development] manudroid19:
What if you keep vol+ and power pressed for 20s??? With your phone turned off...

Enviado desde mi A0001 mediante Tapatalk
[ONE Android Development] matssa:
Did you try flashing only the su binary without the kernel? :)
[ONE Android Development] kunal1540:
Thats been there since the first builds of cm13 came.

Just activate it (hotspot) from the settings once and then deactivate it will now show in notification panel.
[ONE Android Development] Ravi2410:
Thanks kunal1540, it worked....

:)
[ONE Android Development] juancarlos5:
try with this http://xdaforums.com/oneplus-one/development/kernel-t3186870
[ONE Android Development] deklica:
Why some apps can mount System R/W (Root Explorer), and some like FX File Explorer just R/O, and with FX can't edit anything in System...

And in Titanium Backup when I tried to remove Cerberus, get "can't find file" massage, but deleted him in TWRP...

AdAway working good... Xposed too...
[ONE Android Development] 123Kage:
It has everything from stock cuz it is stock one. :D
[ONE Android Development] VividCleric:
I tried flashing the latest xposed but everytime i flash it and reboot the phone stucks at the boot animation and doesn't complete the boot :confused: Which zip have u flashed??
[ONE Android Development] deklica:
I first from previous last 12.1 build removed Xposed from twrp,

installed twrp tugapower 3.0.2.0,

clear cache/dalvik,

than flashed COS 12.1, and again clear cache/dalvik,

after this installed this zip COS 13 and again clear cache/dalvik,

than install supersu 2.71 beta from twrp,

and restart...

after first boot, maybe 6-7min, after apps upgrade (more than 200), restarted

and install xposed v81 sdk23 in twrp, restart, again little bit long...

After reboot, all working with dirty flash...

just have issue with R/O system in some apps...
[ONE Android Development] thcerry:
ok,I put it in charge last night,now it shows 3% battery while charging,so I'm waiting that it recharge more to wipe again and then reflash the rom! I hope everything will be fine :D
[ONE Android Development] imakshaymishra444:
Mirror

Can we have a google drive mirror?
[ONE Android Development] manudroid19:
6.0 has new security policies, especially on stock roms... Installing busybox should do the trick, while some apps don't update to Toybox... Also, apps must know that system is not rw mounted as default. Update TB, works fine... or maybe cerberus has a special protection...

Yes, uploading. Could I ask why?

Nope, but I don't think it will work
[ONE Android Development] imakshaymishra444:
Thanks!Cuz Better Download speed!
[ONE Android Development] manudroid19:
Mirror

Gdrive mirror as requested: https://drive.google.com/file/d/0B5pusoPNP0G6R3FIbGU2M3o2bFU/view?usp=sharing