yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S7 Edge Guides, News, & Discussion] sosjadd:
I think it was SQLite, not too sure at the moment. Enabled a bunch of things all at once. Silly me.....

No gov change, no speed change, nothing.... Just as it comes....

Ill upload two versions tonight for everyone to try. Id set it to performance and bump the clocks to max, but its 2am here...
[Samsung Galaxy S7 Edge Guides, News, & Discussion] sosjadd:
SM-G9350_OCT_HKROM_Deodex_Debloated.zip - Link: depreciated...

Please please please make sure to make a backup of your current device before installing this!

Let me know if you run into any issues. I am hoping the repackaging did not mess up the debloat Travis performed on the ROM and that everything works as it should. If its buggy, please let me know and I will go back to the standard builder I utilized earlier. Ontop of SQLite, there are some build.prop additions that im not too sure how the S7 will react to yet. These are deodexed. The first boot will take a while because of this.. As long as its blinking let it be. :)
[Samsung Galaxy S7 Edge Guides, News, & Discussion] xmanz:
Small update on Aurora 11. All great till I installed xpised systemless. It broke root. And unistalling xposed root still broke. Binaries missing. Any ideas?â?¦. Thanx

How to get su again flashed su 2.7 in two not work.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] brusslesprouts:
will this work on AT&T
[Samsung Galaxy S7 Edge Guides, News, & Discussion] randomhkkid:
No, your device hasn't got an unlockable bootloader.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] xmanz:
Did you loose su after xposed install ?

How to get su back?r
[Samsung Galaxy S7 Edge Guides, News, & Discussion] travis82:
bloated rom i intalled xposed no prob root works well when I add it in to my roms.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] xmanz:
Travis what version of xpoised did you flash in twerp. Thnx
[Samsung Galaxy S7 Edge Guides, News, & Discussion] skrilin5:
Flashed xposed-v86.1-sdk23-arm64-custom-build-by-wanam-20160904.zip, working well.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] davecotefilm:
I noticed that also, if i flash Travis kernal onto aurora then exposed it breaks root. Easy fix : unzip the rom on PC, unzip the kernel zip, place the travis kernel boot.img into the rom replacing the aurora boot.img, recompress rom as zip. Flash it. Xposed then installs fine.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] mitsuji26:
can someone upload this to mega or another site because it downloads very slow on google drive. thank you
[Samsung Galaxy S7 Edge Guides, News, & Discussion] sosjadd:
Ignore that link, im compiling a new one today. Added too many stupid tweaks to that one trying to locate the UX speed bump last night at 230am which was a mistake in itself. Got carried away and let it install a bunch of useless items.

Im posting three new ones shortly. All the speed benefits of the Aurora Rom, including the UX Image process score, but in English and kept it clean.

Now that I got the SQLite tweak, I can move back to linux....
[Samsung Galaxy S7 Edge Guides, News, & Discussion] travis82:
share the sql tweak i remember a couple back in android 2.xx days but I am really not sure if those still apply today. You know how many times I screwed code up at 2:30am because I thought I was doing something the right route and I ended up destroying about 80% of my work because I had a commit in there that goofed up lets say gpu frequencys. Because I assumed all 820 code is the same lol. Yea... I know
[Samsung Galaxy S7 Edge Guides, News, & Discussion] mitsuji26:
Okay, thank you so much. And if possible please dont remove private mode :)
[Samsung Galaxy S7 Edge Guides, News, & Discussion] sosjadd:
Here is the file from the assayyed's kitchen /tools/xbin. Had to put it in as a zip to upload it. This is literally the only difference in score between the Aurora ROM and a standard HK ROM. One small tweak, 6000-8000+ point difference. Aside from benchmarks, it seems to have a positive effect in the usability of the OS all together. Everything seems much smoother with the sql tweak, more fluid in transition across menus.

Found this as well, seems to be an init.d tweak? Worth using?

#!/system/bin/sh
# ========================================
# init.d script
# ========================================

# SQLite database vaccum

# 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;

I can upload the what I have now, or if you guys can wait a bit, I can add xposed or magisk, maybe both via aroma to the installer. One less thing to install after flashing.

Edit-

Looking at it now, I think I am going to try to learn as much as I can about Aroma to use it for your ROM's if its alright. I keep making multiple flash-able zip files to meet certain criteria's but its all based off the same rom in the end. Makes sense to use Aroma, build all the options into it including the de-bloat process, and let the end user make the decisions on what to install during the flash process to keep it as one simple package. For example, private mode and the CSC. Some want it, some dont. Less work for my HDD and internet connection, but more initial work on my part lol. Should pay off in the end in time saved going forward.

I've been studying up on porting roms the past several hours. Using past CM ports on devices as a base of study. Theory behind it, common mistakes, challenges and lack of sources, etc-- things of that nature. Keep getting distracted by work every now and then since, well, thats important lol.

I am probably going to eat these words later on, but it doesn't seem so complicated and should be doable.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] sosjadd:
Dont even know what private mode is [MENTION=6105039]mitsuji26[/MENTION] honestly. Did I turn it off somehow recently? If you can help me find when it got disabled, I can turn it back on. Only thing I can think of is when I took [MENTION=3463480]travis82[/MENTION] build.prop tweaks from the AUG rom and put it into the bloated OCT rom while deodexing it via wdiff? Let me know, I am more than glad to make it work for you. :good:
[Samsung Galaxy S7 Edge Guides, News, & Discussion] davecotefilm:
I hear the deodexed hk rom fixed the double sms issue?
[Samsung Galaxy S7 Edge Guides, News, & Discussion] sosjadd:
Some combination of the OCT update + CSC addition that did it, yes. Not sure what specifically fixed it, but the dual sms is gone.. If I had to flip a coin, id say its the CSC.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] davecotefilm:
That's great!
[Samsung Galaxy S7 Edge Guides, News, & Discussion] mitsuji26:
As soon as the rom will be uploaded i will flash it and check on it. Then report back if its disabled or not :)
[Samsung Galaxy S7 Edge Guides, News, & Discussion] sosjadd:
Here is a benchmark of Antutu ran right now using the base rom (time stamp) listed 2 posts up. All I did was reboot and press run.

If this works fine for everyone else, [MENTION=3463480]travis82[/MENTION] [MENTION=5858137]davecotefilm[/MENTION] please feel free update your original posts with it and re-host it on a different file share if necessary.

The current setup, kernel, rom everything acts like we have an SD821 processor in our phones. Thats how good the work provided by everyone has been so far. Awesome work!

Regards

Sosjadd
[Samsung Galaxy S7 Edge Guides, News, & Discussion] travis82:
thats with the sql tweaks? and fsync turned off? I thought you were hitting 160k? Hmm..
[Samsung Galaxy S7 Edge Guides, News, & Discussion] sosjadd:
With govs set to performance and gpu set to 624-624, yes I still probably hit around 158k to 160k. Didn't test it on the new cp yet or the October Rom with those govs yet.

But based off of these scores on default govs and speeds, everything is in line. I don't see a difference between Aug and Oct nor Aurora on default govs.

This was a screenshot to show that the UX Image scores correctly now. I can test it on kill mode of you want. I wanted to save that for overclocking originally.

But without touching anything on the kernel these are realistic scores anyone can achieve with the new bl cp and Oct Rom.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] mitsuji26:
I will download it as soon as someone post the rom to another site because it downloads very slow on google drive.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] ratedard:
Hi, I'm on aurora and recently have been getting notifications regarding a forced update which should only be happening on note 7s, but on the 31st my phone will force update and limit battery from 100 to 60 percent,

Kinda wanna fix this before it ruins my phone as I have a s7 edge g9350... Slightly confused lol
[Samsung Galaxy S7 Edge Guides, News, & Discussion] sosjadd:
I thought custom roms can't get official Samsung updates??

My apologies for using Google drive, don't have anywhere else to host files atm. Downloads fast for myself though, that's odd...
[Samsung Galaxy S7 Edge Guides, News, & Discussion] ratedard:
About device>Software updates>update manually

It says the OS has been modified, please use smart switch to update,

Model number is sm g9350 and device status is set to custom, but play store shows the phone as sm n9300 (note7)

I'll sign out of my Samsung account and see if I get a push notification tomorrow
[Samsung Galaxy S7 Edge Guides, News, & Discussion] sosjadd:
You don't need to. That means your phone can't update OTA.:good:

Your safe
[Samsung Galaxy S7 Edge Guides, News, & Discussion] travis82:
cm-13.0-20161029-UNOFFICIAL-hero2qltechn.zip: https://www.androidfilehost.com/?fid=385035244224388865

Debug boot for me
[Samsung Galaxy S7 Edge Guides, News, & Discussion] mitsuji26:
what is debug boot travis? sorry for the noob question.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] sosjadd:
size: 453.2MB

Wow.... didnt expect it to be so small...
[Samsung Galaxy S7 Edge Guides, News, & Discussion] mitsuji26:
im using the oct rom debloated 1. i can confirm that the sms issue is fixed on this one. but the samsung keyboard has chinese settings on it again. but on travis' hk rom tha samsung keyboard has no chinese settings on it. is there a way to remove the chinese settings just like on travis' rom.?
[Samsung Galaxy S7 Edge Guides, News, & Discussion] sosjadd:
Thats an easy fix.

Settings > Language and input > Samsung Keyboard > Add Input Language > Unselect Language of choice.

Done.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] mitsuji26:
No, meant when you click the sym button there is a Chinese button and there is a little toolbar at the top of the keyboard. On travis' rom it is not present.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] mitsuji26:
Bug report: im using the Oct rom debloated 1,

Sometimes when the device uses vibration (notifications) the vibration wont stop. The only way to stop is lock the phone then unlock again using home button. I hope this will be fixed, and if there's a fix please inform me. Thank you :)
[Samsung Galaxy S7 Edge Guides, News, & Discussion] sosjadd:
Thanks for the photo, now I understand.

The keyboard- Standard keyboard on the device comes with a few languages built in, toolbar shows as well to switch from qwerty to 3x4. I am not 100% sure, but I think you have to remove all the preinstalled languages except for english to get rid of it. You wont be able to do that from the settings menu iirc since samsuck will force you to keep the files there. Something like [root] uninstaller or Titanium might help in this situation. Never noticed it since I switch to Google keyboard right away lol.

Apple would tell you: The vibrator bug is not a bug.......its a feature! ;)

You'll notice it while your typing as well if you have haptic feedback enabled.. Essentially anything that invokes the vibration motor has a chance to miss the stop/end call for the vibration motor and just keep going. You need another vibration command (haptic or notification or setting the phone to vibrate only) to stop it.

I experience it as well, but this is more on the kernel side of things...

---------- Post added at 12:50 AM ---------- Previous post was at 12:38 AM ----------

++++++++++++++++KERNEL INFO++++++++++++++++++++
--KERNEL ADB STATUS: [ENABLED]
--KERNEL INIT.D SUPPORT STATUS: [YES]
--KERNEL DM-VERITY STATUS: [NO]
--KERNEL FORCE-ENCRYPT STATUS: [NO]
--KERNEL ADBD ROOT DIRECT STATUS: [ENABLED]

Adb -d logcat > path/to/output shows nothing in the file generated. I see the adb driver load right away but I am still sitting at -waiting for device-. Would there be a way to do this using fastboot loading it directly from the workstation instead?
[Samsung Galaxy S7 Edge Guides, News, & Discussion] travis82:
Maybe i need to hardcode the partitions. Sda1 etc... like on note series
[Samsung Galaxy S7 Edge Guides, News, & Discussion] davecotefilm:
Does it boot? Let me know and I'll put it in the OP
[Samsung Galaxy S7 Edge Guides, News, & Discussion] mitsuji26:
I see, so i have to remove all other langauge packs. But how did travis manage to make it English only. Because when i flashed travis' rom its already on english only. No chinese settings.

Maybe the vibration feature will be fixed on the next kernel update.

Did you try cm13 travis uploaded?
[Samsung Galaxy S7 Edge Guides, News, & Discussion] travis82:
I wanted you guys to debug cm boot process cuz I had msdx doing it till he went and got an mi5 cuz he trashed his s7. So if you guys can start debugging ramdisk callings to know where and what I missed than when CM boots I can strait get it started on 14.1. I have the tree ready but I fail on ramdisk this is what I am learning. Never had to before.

---------- Post added at 10:33 AM ---------- Previous post was at 10:28 AM ----------

DID you see the new snapdragon forum created for us now since we have roms and kernels coming out. Better thank the mods for honouring my request.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] sangbb:
Hi,I flashed it...

Then my phone cannot boot.

It was stuck on first screen

It's output:

KERNEL IS NOT SEANDROID ENFORCING.
Set Warning Bit: kernel
[Samsung Galaxy S7 Edge Guides, News, & Discussion] travis82:
boot logcat, this means i have my ramdisk f'd up for aosp.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] davecotefilm:
Flash the no verify 2.1 zip after flashing.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] sangbb:
where's the 'no verify 2.1 zip'?
[Samsung Galaxy S7 Edge Guides, News, & Discussion] davecotefilm:
Here.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] galenlau:
+1
[Samsung Galaxy S7 Edge Guides, News, & Discussion] davecotefilm:
If it's a USA phone you can here http://xdaforums.com/verizon-galaxy...t-install-xposed-unroot-t3411039/post67920487

And if it's an sm-g9350 then soon we'll have a stock for rom, but for now just Aurora.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] mitsuji26:
Thank you for the information :)
[Samsung Galaxy S7 Edge Guides, News, & Discussion] kshitij84:
Great guide can you make something like this for the exynos version
[Samsung Galaxy S7 Edge Guides, News, & Discussion] randomhkkid:
There are a couple guides already on this forum. Try here
[Samsung Galaxy S7 Edge Guides, News, & Discussion] quinnlkk:
Thanks!

Great guide. Thanks for the content.

Followed all instructions and everything worked. Got a couple permission stuff i needed to set for google play services and now occasionally a something.media has stopped error but nothing big.

Quick question though, I've never really used Aurora roms before. Seems to be pretty solid on UX and reliability; anyone knows if there's any security concerns for this rom?
[Samsung Galaxy S7 Edge Guides, News, & Discussion] davecotefilm:
I haven't found any security issues, and I've been all through it. You can use adaway to block certain ips though, and network manager (play store) to see what apps connect to what ips. I know a few apps connect to China sometimes, like the Line app and a few others, but it appears safe. Google services sure connects to a lot of ips though :/
[Samsung Galaxy S7 Edge Guides, News, & Discussion] quinnlkk:
Sure thing! Thanks for the advice!
[Samsung Galaxy S7 Edge Guides, News, & Discussion] randomhkkid:
Any news on when a stock rom that is rootable will be available for the G9350?
[Samsung Galaxy S7 Edge Guides, News, & Discussion] mitsuji26:
Still waiting :)
[Samsung Galaxy S7 Edge Guides, News, & Discussion] sampong8:
Hello~ I enable Now on tap from google setting and set Google App as my default device assistance app but it still not shows up when I press and hold the home key.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] mitsuji26:
What shows when you hold the home key? S voice?
[Samsung Galaxy S7 Edge Guides, News, & Discussion] randomhkkid:
Thanks :D Anywhere I can specifically look out for news about it? I'm feeling a flashing itch again haha
[Samsung Galaxy S7 Edge Guides, News, & Discussion] mitsuji26:
I really don't know any site, I'm sorry.

But, [MENTION=5858137]davecotefilm[/MENTION] knows. I think..

I'm so excited for the rooted stock rom. He said that it will be out soon.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] randomhkkid:
No worries. Hopefully he replies to this, craving root and xposed without the inherent sketchiness of a Chinese based ROM.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] Spirit Wolfe:
Same here...was just thinking the same thing.

Please, any programmers & developers know when us common folk can root our new Samsung (Galaxy S7E) with your genius?

Thanks.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] galenlau:
same here toooo

Thanks for those working hard on this in advance
[Samsung Galaxy S7 Edge Guides, News, & Discussion] xmanz:
Do you know from where it may be coming from? Is it a good possibility?
[Samsung Galaxy S7 Edge Guides, News, & Discussion] droople:
Thank man.

I'm just wondering that if possible to only root the phone without installing 3rd-party rom et.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] mitsuji26:
Did someone got the update with samsung cloud in your sm-g9350?
[Samsung Galaxy S7 Edge Guides, News, & Discussion] sangbb:
still sturk on first screen.

Set Warranty Bit : kernel

SAMSUNG
Galaxy
S7 Edge

Powered by
android
[Samsung Galaxy S7 Edge Guides, News, & Discussion] sosjadd:
You will need to run adb logcat to see whats causing the error. Connect the phone to your workstation via USB while powered off and run adb -d logcat>path/to/file

Change path/to/file to where you want to save it. Power on the device and it will begin to generate data in the output file. Thats the information needed to figure out why the device wont get past the first screen.

:good:
[Samsung Galaxy S7 Edge Guides, News, & Discussion] sangbb:
cannot connected the device

- waiting for device -
[Samsung Galaxy S7 Edge Guides, News, & Discussion] sosjadd:
Ah im a putz lol. Forgot the whole part about ADBD. Is your device recognized by the workstation when the phone turned on or is ADB not loaded at that point yet?

Can you pull the /proc/last_kmsg from the phone?

Example:

cat /proc/last_kmsg > /pat/to/dir/where/you/want/to/save/last_kernel_message_log.txt

Regards

Edit: Went back to the original zip file. [MENTION=3463480]travis82[/MENTION] seems like the flashed zip for CM is not making it past loading the kernel. The heat on the side of the phone makes me think the kernel is constantly trying to reload itself and fails.

I tried making a few adjustments and I can only get it to the point of loading a generic MTP driver while being stuck on the bootloader window. Cant cat anything from it at all though through ADB, though I might be doing it wrong at 3:30am.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] travis82:
Ok just for you guys, I was cleaning up ramdisk so I decided to let you see where the kernel is at currently. So lots of ramdisk garbage removed and permissions fixed. Check my ramdisk git to get more information.

Test Kernel G9350 Touchwiz: https://www.androidfilehost.com/?fid=385035244224390796
[Samsung Galaxy S7 Edge Guides, News, & Discussion] sangbb:
It still cannot boot too.I'll wait for your fix.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] sangbb:
Please check the attachment.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] travis82:
test kernel is for touchwiz kinda said so if you read it.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] sangbb:
Oh,I'm sorry...

What's the kernel's feature?
[Samsung Galaxy S7 Edge Guides, News, & Discussion] massimoce:
Hello! i've installed the rom shared by sosjadd but i've seen that there's a problem with video recording, when i rec a video for more then 60 sec the result is an unplayble video, the only way to make it playable is to transfer it to pc.

Can you confirm this problem?
[Samsung Galaxy S7 Edge Guides, News, & Discussion] xmanz:
A little help plz

This is minor but really bugging me.. I'm on Aurora 11. Play services wants some permissions. But I get screen overlay detected… I can go there and disable all apps listed. But there isn't a main toggle to turn overlay off…. Hence I can't add or delete permissions.… .tia
[Samsung Galaxy S7 Edge Guides, News, & Discussion] mitsuji26:
I tested and i have the same problem. Im going to try this on aurora rom later

Edit: i have an alternative, install mx player on playstore then go to settings then change the decoder to software.

Maybe the bug is on the hardware decoder.

---------- Post added at 02:59 AM ---------- Previous post was at 02:26 AM ----------

Maybe some app is open while doing the process, like fb messenger. If problem still persist maybe use a 3rd party app
[Samsung Galaxy S7 Edge Guides, News, & Discussion] sangbb:
hi,

I met q problem...

I build the Samsung source.

Then I get the boot.img,system.img,userdata.img,cache.img,ramdisk.img

But S7e unsupport fastboot...?

Regards.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] travis82:
HKernel Beta 8: https://www.androidfilehost.com/?fid=457095661767109869

Kernel Changelog: https://github.com/travismills82/android_kernel_samsung_msm8996/commits/tw-6.0

Ramdisk Changelog: https://github.com/travismills82/android_ramdisk_sm-g9350/commits/master
[Samsung Galaxy S7 Edge Guides, News, & Discussion] massimoce:
Thank you so much! Work great with mxplayer even with Hw+ mode!

This is the phone of the workaround methods! :eek:
[Samsung Galaxy S7 Edge Guides, News, & Discussion] sosjadd:
Other than stability, what information are you looking for regarding the kernels performance?

Yes its stable btw. :)
[Samsung Galaxy S7 Edge Guides, News, & Discussion] paldine1:
Hi ,

is it possible for you to modify the kernel to run on the American t mobile version?
[Samsung Galaxy S7 Edge Guides, News, & Discussion] davecotefilm:
Cool I'll load it to the OP shortly! :)
[Samsung Galaxy S7 Edge Guides, News, & Discussion] davecotefilm:
Updated in OP:)
[Samsung Galaxy S7 Edge Guides, News, & Discussion] travis82:
Lots of catch up and fixes. That's all that's new I have another I'm testing now killing off ksm and adding lz4 compression to swap to save cpu cycles.