[email protected]@holic help thread

Search This thread

se7enlyn

Senior Member
Nov 9, 2015
1,196
744
143
regarding treble , from android police :
"The Huawei Mate 9 originally shipped with Android 7.0, but Huawei began sending out invitations to the 8.0 beta program last month. Developers found a welcome surprise in the Oreo beta test - support for Project Treble.

One developer on XDA, Phhusson, wanted to see if Treble actually made it easier to develop custom ROMs. Working with XDA member Mishaal Rahman, they only took a day to get an AOSP (completely stock Android) ROM booting on the Mate 9. No kernel modifications were needed, and no AOSP ROMs for the Mate 9 previously existed
."

i heard OP6 might get treble.......

http://www.androidpolice.com/2017/11/25/googles-project-treble-start-custom-rom-revolution/
 

Timmmmaaahh!

Forum Moderator
Staff member
Sep 11, 2012
4,326
7,809
263
Bruges

david72262

Senior Member
Jul 3, 2013
1,973
1,794
143
Oregon

murti52

Senior Member
Oct 21, 2013
1,293
541
143
Navi Mumbai
I decided a couple months ago to wait another year but this phone at this price is tempting if the camera was better there would be to hesitation people are reporting 7 to 8 hours of screen on time amazing and besides like the OnePlus One it's the first phone by the company. First phone by the inventor of Android actually

How does goes with the development support or stuff like that? Because having more option with the rom and os development is always good..
 

murti52

Senior Member
Oct 21, 2013
1,293
541
143
Navi Mumbai
It supports Project Treble,has stable unofficial los14.1,los15 is being worked on.

Then it's worth the take.., saw the specs and everything is good having all the features of a flagship.. except for the 4gb fact.. a bit less., With 128gb of internal, atleast 6 gb should be there., Yes the cpu n gpu r the latest.. still 6gb should be default.. and deal breaker atleast for me is .. no 3.5 mm jack.. that's completely my opinion :)
 
  • Like
Reactions: david72262

Timmmmaaahh!

Forum Moderator
Staff member
Sep 11, 2012
4,326
7,809
263
Bruges
Then it's worth the take.., saw the specs and everything is good having all the features of a flagship.. except for the 4gb fact.. a bit less., With 128gb of internal, atleast 6 gb should be there., Yes the cpu n gpu r the latest.. still 6gb should be default.. and deal breaker atleast for me is .. no 3.5 mm jack.. that's completely my opinion :)
We're still talking about phones, right? 6GB as minimum RAM... sounds like you've been brainwashed by the PR people over at [insert huge phone company brand here]. All that RAM has to be powered, you know. Read this article or this slightly older but more technical XDA portal feature for an enlightening raminder (haha, get it?) on how much RAM we actually need.
Even without reading anything. Let's say one app consumes 100MB on average (which is exaggerating big time), 4GB would allow 40 apps to remain available simultaneously. I don't know about you but I need to switch between 5 apps tops in one session. Wait... Tapatalk, that's one, Browser, that's two, mind-numbing game, that's three, MiXplorer, that's four, iYTBP... Yeah, about 5. Perhaps 6 if you add Force Saber of Light for those times you're in the mood for a personal moment of intergalactic imaginary battle. But I digress!

Let's take a look at our desktop/laptop evolution:
RAMAvg.png

(source)
In 2008 we had about 1.5GB, last year we ended up with just under 6GB, that's an increase of 4.5GB in 8 years.
Bacon released in 2014 with 3GB, OP5 already had 8GB this year, that's an increase of 5GB in just 3 years.
Simply put, it's moving too fast. What selling point will the OnePlus 6 have, 12GB of RAM? They're making our heads spin with crazy numbers that in fact mean a disadvantage to the end user (higher battery consumption). They'll argue it's "future proof" but so was our Bacon 3 years ago and now they make it seem obsolete. Which, of course, it totally isn't. I have yet to encounter a low RAM issue.
So let's keep our feet on the ground and be excited about 4GB devices.
Sorry for the big post. It's just, I can't help it. Let's call it OCD :silly:
 

murti52

Senior Member
Oct 21, 2013
1,293
541
143
Navi Mumbai
We're still talking about phones, right? 6GB as minimum RAM... sounds like you've been brainwashed by the PR people over at [insert huge phone company brand here]. All that RAM has to be powered, you know. Read this article or this slightly older but more technical XDA portal feature for an enlightening raminder (haha, get it?) on how much RAM we actually need.
Even without reading anything. Let's say one app consumes 100MB on average (which is exaggerating big time), 4GB would allow 40 apps to remain available simultaneously. I don't know about you but I need to switch between 5 apps tops in one session. Wait... Tapatalk, that's one, Browser, that's two, mind-numbing game, that's three, MiXplorer, that's four, iYTBP... Yeah, about 5. Perhaps 6 if you add Force Saber of Light for those times you're in the mood for a personal moment of intergalactic imaginary battle. But I digress!

Let's take a look at our desktop/laptop evolution:

(source)
In 2008 we had about 1.5GB, last year we ended up with just under 6GB, that's an increase of 4.5GB in 8 years.
Bacon released in 2014 with 3GB, OP5 already had 8GB this year, that's an increase of 5GB in just 3 years.
Simply put, it's moving too fast. What selling point will the OnePlus 6 have, 12GB of RAM? They're making our heads spin with crazy numbers that in fact mean a disadvantage to the end user (higher battery consumption). They'll argue it's "future proof" but so was our Bacon 3 years ago and now they make it seem obsolete. Which, of course, it totally isn't. I have yet to encounter a low RAM issue.
So let's keep our feet on the ground and be excited about 4GB devices, it really shouldn't be a deal breaker.
Sorry for the big post. It's just, I can't help it. Let's call it OCD :silly:


Lolz.., and for your big post... I'll just say... Okay..!! :silly:

Edit : @Timmmmaaahh .. how much free ram do you have..? I have around 1.4 gb with all the apps installed, some hibernated and some running.. now when i open fb and insta and another 1-2. Apps.., it gets reduced to 600 mb or so.. i haven't faced any out of memory issues yet., Since these apps gets hibernated when i put my phone to sleep.. this is the reason for me even 3 gb ram is a bit less, as i have to keep apps hibernated for smooth lag free ui and functioning.. that is why i said 4 gb for me won't be enough when i have 128gb to play with...

P.s. hoping for another big reply for your reasoning. hehe :p
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 59
    This is a thirteen step program for flashaholics.

    l_BSy_BN0.jpg


    Since there is no cure for flashaholism, we may as well give those afflicted more to flash.. :)

    Untitled_5_2_2.jpg


    **ALWAYS FLASH AT YOUR OWN RISK ANYTHING THAT GETS POSTED HERE**



    Just follow these simple steps:

    1. Rate this thread 5 stars
    2. Subscribe to this thread
    3. Tell other flashaholics to join this thread
    4. Treat all flashaholics with respect
    5. Be on the constant lookout for anything new and noteworthy
    6. Be helpful to those afflicted by posting these new found links
    7. Always use protection when flashing (have a backup)
    8. Don't be discrete about your flashing adventures, share your steamy details
    9. Be helpful to outsiders that aren't as flash savvy as you and answer their posts nicely
    10. If you feel a member is on the wagon, help them fall off by bragging about how cool your phone is
    11. Remember to follow XDA rules
    12. Happy flashing!!
    13. Always thank your developers, and donate if you can..


    BECOME PART OF AN ADDICTIVE COMMUNITY



    I'm on telegram




    HELP THE COMMUNITY AND JOIN THE ROM "WIKI"
    You can add your knowledge to this growing chart of roms



    -JOIN HERE-



    When not flashing I will update the thread with notable links of what, where, and how to flash..

    Contributors


    @#sychrome#
    XDA community

    Get your support banners -HERE-
    27
    Settings Script

    WELCOME TO SETTINGS SCRIPT

    This is a set scripts I started collecting and working on since my days of old using a Nexus S. It has been updated and tested 100's of times and is ready for use on the OnePlus. I am not going to claim 1000's of points gained in benchmarks, or days of battery life, but it should help balance performance and battery..

    Basically it's a collection of init.d scripts to gently modify some services, system, battery and various functions. This is active at boot (assuming you have init.d support and busybox). Please don't use this with other scripts (seeder is okay). Don't operate while intoxicated or holding an iPhone..

    Code:
    #!/system/bin/sh
    
    
    # test
    if [ -f /data/Test.log ] ; then
        rm /data/Test.log
    fi
    
    echo "Script is working !!!" >> /data/Test.log
    echo "excecuted on $(date +"%d-%m-%Y %r" )" >> /data/Test.log
    
    
    # Expand Kernel Permission
    if [ -e /dev/cpuctl/apps/cpu.notify_on_migrate ]; then 
      chown system.system /dev/cpuctl/apps/cpu.notify_on_migrate 
      chmod 0666 /dev/cpuctl/apps/cpu.notify_on_migrate 
    fi
    
    
    # Cleaner
    #Interval between runs, in seconds, 172800=48 hours
    RUN_EVERY=172800
    
    busybox rm -f /data/anr/*.*
    busybox rm -f /data/cache/*.*
    busybox rm -f /data/log/*.*
    busybox rm -f /data/local/tmp/*.*
    busybox rm -f /data/mlog/*
    busybox rm -f /data/tombstones/*
    busybox rm -f /data/backup/pending/*
    busybox rm -f /data/system/dropbox/*
    busybox rm -f /cache/recovery/*
    busybox rm -f /dev/log/main/*
    chmod 700 /data/system/dropbox
    busybox chmod 700 /data/system/usagestats
    
    
    # Zipalign
    # 86400=24 hours
    RUN_EVERY=86400
    
    LOG_FILE=/data/zipalign.log
    ZIPALIGNDB=/data/zipalign.db
    
    if [ -e $LOG_FILE ]; then
      rm $LOG_FILE;
    fi;
    
    if [ ! -f $ZIPALIGNDB ]; then
      touch $ZIPALIGNDB;
    fi;
    
    echo "Starting FV Automatic ZipAlign $( date +"%m-%d-%Y %H:%M:%S" )" | tee -a $LOG_FILE
    
    for DIR in /system/app /data/app ; do
      cd $DIR
      for APK in *.apk ; do
        if [ $APK -ot $ZIPALIGNDB ] && [ $(grep "$DIR/$APK" $ZIPALIGNDB|wc -l) -gt 0 ] ; then
          echo "Already checked: $DIR/$APK" | tee -a $LOG_FILE
        else
          zipalign -c 4 $APK
          if [ $? -eq 0 ] ; then
            echo "Already aligned: $DIR/$APK" | tee -a $LOG_FILE
            grep "$DIR/$APK" $ZIPALIGNDB > /dev/null || echo $DIR/$APK >> $ZIPALIGNDB
          else
            echo "Now aligning: $DIR/$APK" | tee -a $LOG_FILE
            zipalign -f 4 $APK /cache/$APK
            cp -f -p /cache/$APK $APK
            busybox rm -f /cache/$APK
            grep "$DIR/$APK" $ZIPALIGNDB > /dev/null || echo $DIR/$APK >> $ZIPALIGNDB
          fi
        fi
      done;
    done;
    
    touch $ZIPALIGNDB
    echo "Automatic ZipAlign finished at $( date +"%m-%d-%Y %H:%M:%S" )" | tee -a $LOG_FILE
    
    
    # Renice
    B=/system/xbin/busybox
    
    ( while true
    do
    
    sf=$( service list | $B grep -c "SurfaceFlinger" )
    
    if [ $sf -eq 1 ]
    then
    service call SurfaceFlinger 1008 i32 1
    break
    else
    sleep 2
    fi
    done
    ) &
    
    
    # Kernel Tweaks 
    if [ -e /proc/sys/kernel/softlockup_panic ]
    then 
     echo 0 > /proc/sys/kernel/softlockup_panic
    fi
    if [ -e /proc/sys/kernel/hung_task_timeout_secs ]
    then 
     echo 0 > /proc/sys/kernel/hung_task_timeout_secs
    fi
    if [ -e /proc/sys/kernel/panic_on_oops ]
    then 
     echo 0 > /proc/sys/kernel/panic_on_oops
    fi
    if [ -e /proc/sys/kernel/panic ]
    then 
     echo 0 > /proc/sys/kernel/panic
    fi
    if [ -e /proc/sys/kernel/msgmni ]
    then 
     echo 2048 > /proc/sys/kernel/msgmni
    fi
    if [ -e /proc/sys/kernel/msgmax ]
    then 
     echo 64000 > /proc/sys/kernel/msgmax
    fi
    if [ -e /proc/sys/kernel/shmmax ]
    then 
     echo 268435500 > /proc/sys/kernel/shmmax
    fi
    if [ -e /proc/sys/kernel/threads-max ]
    then 
     echo 525810 > /proc/sys/kernel/threads-max
    fi
    if [ -e /proc/sys/kernel/nmi_watchdog ]; then
    echo "0" > /proc/sys/kernel/nmi_watchdog;
    sysctl -e -w kernel.nmi_watchdog=0;
    fi;
    if [ -e /proc/sys/vm/drop_caches ]; then
    echo "3" > /proc/sys/vm/drop_caches;
    sysctl -e -w vm.drop_caches=3;
    fi;
    
    
    #fsync
    if [ -e /sys/devices/virtual/misc/fsynccontrol/fsync_enabled ]; then
    echo "0" > /sys/devices/virtual/misc/fsynccontrol/fsync_enabled;
    fi;
    if [ -e /sys/class/misc/fsynccontrol/fsync_enabled ]; then
    echo "0" > /sys/class/misc/fsynccontrol/fsync_enabled;
    fi;
    if [ -e /sys/module/sync/parameters/fsync ]; then
    echo "0" > /sys/module/sync/parameters/fsync;
    fi;
    if [ -e /sys/module/sync/parameters/fsync_enabled ]; then
    echo "0" > /sys/module/sync/parameters/fsync_enabled;
    echo "N" > /sys/module/sync/parameters/fsync_enabled;
    fi;
    
    
    # Disable Sleepers
    echo "NO_NEW_FAIR_SLEEPERS" > /sys/kernel/debug/sched_features;
    echo "NO_NORMALIZED_SLEEPER" > /sys/kernel/debug/sched_features;
    
    
    # Kill Media Tweak
    LOG=/data/mediaserver_log.txt;
    supolicy --live "allow mediaserver mediaserver_tmpfs:file { read write execute };";
    if [ "$SDK" -le "18" ]; then
    if [ "$SDK" -gt "10" ]; then
    echo "Mediaserver kill" >> $LOG;
    busybox killall -9 android.process.media;
    busybox killall -9 mediaserver;
    fi;
    fi;
    
    # Vsync tweak
    if [ -e /sys/kernel/debug/msm_fb/0/vsync_enable ]; then
    echo 0 > /sys/kernel/debug/msm_fb/0/vsync_enable
    fi;
    
    
    #Sqlite
    # Log file location 
    LOG_FILE=/data/sqlite.log 
    #Interval between SQLite3 runs, in seconds, 604800=1 week 
    RUN_EVERY=604800 
    # Get the last modify date of the Log file, if the file does not exist, set value to 0 
    if [ -e $LOG_FILE ]; then
    LASTRUN=`stat -t $LOG_FILE | awk '{print $14}'`
    else
    LASTRUN=0
    fi; 
    # Get current date in epoch format 
    CURRDATE=`date +%s` 
    # Check the interval 
    INTERVAL=$(expr $CURRDATE - $LASTRUN) 
    # If interval is more than the set one, then run the main script 
    if [ $INTERVAL -gt $RUN_EVERY ]; then
      if [ -e $LOG_FILE ]; then
      rm $LOG_FILE;
      fi;
    echo "SQLite database VACUUM and REINDEX started at $( date +"%m-%d-%Y %H:%M:%S" )" | tee -a $LOG_FILE;
    for i in `busybox find /d* -iname "*.db"`; 
    do 		/system/xbin/sqlite3 $i 'VACUUM;';
    resVac=$?
    if [ $resVac == 0 ]; then
    resVac="SUCCESS";
    else
    resVac="ERRCODE-$resVac"; 		
    fi; 		 		
    /system/xbin/sqlite3 $i 'REINDEX;';
    resIndex=$?
    if [ $resIndex == 0 ]; then
    resIndex="SUCCESS";
    else
    resIndex="ERRCODE-$resIndex";
    fi;
    echo "Database $i: VACUUM=$resVac REINDEX=$resIndex" | tee -a $LOG_FILE;
    done
    echo "SQLite database VACUUM and REINDEX finished at $( date +"%m-%d-%Y %H:%M:%S" )" | tee -a $LOG_FILE;
    fi;
    
    
    #Lcd power
    if [ -e /sys/class/lcd/panel/power_reduce ]; then
    echo "LCD power reduce detected. Activating..";
    echo "1" > /sys/class/lcd/panel/power_reduce;
    fi;
    
    
    # Properties tweak
    setprop ro.kernel.android.checkjni 0
    setprop debug.kill_allocating_task 0
    setprop dev.pm.dyn_samplingrate 1
    setprop pm.sleep_mode 1
    setprop persist.sys.purgeable_assets 1
    setprop persist.cust.tel.eons 1
    setprop ro.ril.enable.amr.wideband 1
    setprop ro.ril.transmitpower true
    setprop ro.ril.sensor.sleep.control 1
    setprop ro.config.combined_signal true
    setprop ro.ril.hep 1
    setprop wifi.supplicant_scan_interval 300
    setprop cm.filesystem.ready 1
    setprop persist.service.pcsync.enable 0
    setprop persist.service.lgospd.enable 0
    setprop ro.min_pointer_dur 1
    setprop ro.sys.fw.bg_apps_limit 6
    setprop ro.lcd_min_brightness 1
    setprop persist.sys.use_dithering 0
    setprop persist.sys.use_16bpp_alpha 1
    setprop ro.max.fling_velocity 20000
    setprop ro.min.fling_velocity 10000
    
    
    #Ext4 mount
    # Log file location 
    LOG_FILE=/data/fsck.log 
    if ( mount | grep -w ext4 ) then
    	echo "EXT4 Partition Found!"
    	echo "Remounting..."
    	mount -o noatime,remount,rw,discard,barrier=0,commit=60,noauto_da_alloc,delalloc /cache /cache;
    	mount -o noatime,remount,rw,discard,barrier=0,commit=60,noauto_da_alloc,delalloc /data /data;
    	mount >> /data/fsck.log;
    else
    	echo "EXT4 Partition Not Found!"
    fi;
    
    
    echo "Script finished"


    FLASH AT YOUR OWN RISK


    INSTALLATION:

    **Requires BusyBox and init.d support**

    (For some Nougat roms emulation of init.d may be nessesary, use KA mod, or another app for init.d emulation..)

    Just flash in recovery, no extra steps required to enjoy..

    It removes the old version, so flash and forget, it also survives a dirty flash (v5.5+).. ;)



    This has been tested, but no guarantees for protection from aliens or ninjas..

    SPECIAL THANKS TO: @h-cspu @7u5h4r @Stone_88@ashutoshmn @Purerawenergy and @maxed4901 for helping me improve it..

    Unless there's a bug fix or something I like, this won't get updated further.. NO ETAS



    DOWNLOAD(s)

    https://www.androidfilehost.com/?w=files&flid=123565

    SCRIPTS & UNINSTALLER



    LATEST UPDATE

    VERSION: 6.1 SS Beta 08/04/2017
    VERSION: 3.1 SS Stable 08/04/2017


    Enjoy :)
    23

    ROM: jgcaap CM13 -here-
    KERNEL: stock
    FIRMWARE: 241 -here-
    GAPPS: revisited Slim -here-
    RECOVERY: TWRP 2.8.6 -here-

    TWEAKS: my script -here-

    SETTINGS: a lot -here-

    APPS: greenify (no auto hibernate, used only on demand)

    Xposed: no
    20
    I cooked some delicious bacon, anyone wants to to try? ;)
    RR-O-v6.0.0-20180430-bacon-Unofficial-Mustangssc.zip

    Main changes from my previous build summarized:
    -RR changes
    -Changes on device tree
    -Brightness slider moved to bottom. This is not from official RR sources, is a change from my side to fit my personal taste.

    Full changelog is too big to post it and better to avoid a big spam about it, whether using
    tags or not.

    Sources:
    -OPPO device tree: https://github.com/Mustang-ssc/android_device_oppo_msm8974-common/commits/lineage-15.1
    -Bacon device tree: https://github.com/Mustang-ssc/android_device_oneplus_bacon
    -Kernel source: https://github.com/LineageOS/android_kernel_oppo_msm8939
    -ROM: Official RR and a bit from my git side.

    As previously published:
    -This is unofficial, no bug reports to official RR team.

    Probably more than one would ask about sultanized builds, i didn't actively start yet on it, i can't give any news on this for now sorry, we'll see on the future.
    16
    Shhhh, don't tell to anyone (kappa) ;)

    RR-O-v6.0.0-20180407-bacon-Unofficial-Mustangssc.zip

    Main changes with last official RR ROM:
    -Aptx & AptxHD support.
    -Build on Enforcing mode.
    -3rd party cameras working.
    -April security patches.
    -RR changes.
    -More things i probably missed.

    Sources:
    -OPPO device tree: https://github.com/Mustang-ssc/android_device_oppo_msm8974-common/commits/lineage-15.1
    -Bacon device tree: https://github.com/Mustang-ssc/android_device_oneplus_bacon
    -Kernel source: https://github.com/LineageOS/android_kernel_oppo_msm8939
    -ROM: You know which one.

    @Setting.Out i hope you don't mind i published this here, seemed the best place :)

    Lastly but not least important, as mentioned on my RR post:
    -If you dirty flash it with official RR build, or viceversa, don't even think about report bugs on official RR side.
    -Don't report to me any bug neither on any thread, i published this unofficial build as an exception for people wishing an enforcing build (therefore Android Pay, ...) and 3rd party cameras working, you can thanks @Timmmmaaahh for his help and specially to LineageOS contributors who made 90% of the work.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone