yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9506 Android Development] Eliminater:
1)try to make a full wipe

System/Data/Data_media/boot

2)than flash rom only without anything

3)than wen boots up go back to recover an flash the other stuff wipe cache and davlik en reboot
[Galaxy S 4 i9506 Android Development] ahabec:
What do you mean by Data_media and boot?

I use TWRP 3.0
[Galaxy S 4 i9506 Android Development] Eliminater:
make a costum wipe in twrp and choice
[Galaxy S 4 i9506 Android Development] :
Why Arter97 kernel v11.1 doesn't work with CM13 ? :confused:

Is it not made for that ?
[Galaxy S 4 i9506 Android Development] WeirdSoup:
arter kernel doesn't compatible with the "official" cm13.

it works with this (temasek) rom anyway
[Galaxy S 4 i9506 Android Development] :
Ok thanks, and with kyasu unoficial CM13 ?
[Galaxy S 4 i9506 Android Development] WeirdSoup:
dunno I didn't try..
[Galaxy S 4 i9506 Android Development] Eliminater:
the arter kernel is still up to date (CPU Governors, Hotplugging drivers and GPU Governors, TCP algorithms). and a excellent kernel!

CPU governor Arteractive It is an interactive CPU governor port from newer source code. It has more optimizations for Snapdragon 80x processors

Hotplugging Intelliplug Great balance between battery life and performance. It is also a popular hotplug driver from faux123

Adreno Idler It is an idling algorithm, an efficient workaround for msm-adreno-tz's overheads. Main goal is to lower the power consumptions while maintaining high-performance

TCP algorithms Westwood or Cubic
[Galaxy S 4 i9506 Android Development] ahabec:
I did as you said -- no boot. Did full wipe several times. For some reason 6.3 won't get passed the boot animation.

There are two types of 'wipe data' in TWRP 3.0.

One is in the advanced wipe menu, where you can tick boxes (I tick Dalvik/Art cache, system, data, and cache. The options 'data_media' and 'boot' are not in this menu. The only options I leave unchecked are internal storage, external sd card and USB). The other wipe option is on the screen before the advance wipe menu. There are three buttons: 'Advanced wipe, 'Format data' and 'swipe to factory reset.'

I tried to click 'format data' -- it asks to type in the word "yes"; I did -- then it fails. The message is:

E: Unable to wipe '/data' -- unknown file system 'auto

Unable to format to remove encryption.

I don't know if I'm shooting in the dark here. The last stock rom my phone was on was Android 5. My baseband is XXUDOB5. There is no encryption anywhere on my phone as far as I know.
[Galaxy S 4 i9506 Android Development] Eliminater:
I recommend to download a stock rom and flash it via Odin

Than Beginn new with root and recovery :eek:
[Galaxy S 4 i9506 Android Development] ahabec:
Oh dear.

For the time being I'll stick with 6.2

Maybe Trader will figure out why it happens (to some and not to others).

If other people who succeeded / failed could paste their basebands, maybe it will be a clue?
[Galaxy S 4 i9506 Android Development] WeirdSoup:
The "Internal storage" is "data/media". try to check that part if it works(all of your internal storage data will be lost so make backup first)

Also changing file system (to f2fs or ext4 etc) will format the partition so try it just in case (of course backup is necessary)

---------- Post added at 12:25 AM ---------- Previous post was at 12:23 AM ----------

btw did you try to boot with the arter kernel?
[Galaxy S 4 i9506 Android Development] ahabec:
I don't mind deleting the internal storage because I keep everything on the SD ( a habit of a person who flashes a lot!)

I did not try Arter's kernel because I wanted to see if 6.3 boots at all (even before flashing Gapps). I have used Arter's kernel with 6.2 and previous builds.

Now that my phone is restored, I will actually give a chance to the original kernel. I may flash Arter 11.1 later on.
[Galaxy S 4 i9506 Android Development] trader418:
Why don't you ask in the relevant thread(s)
[Galaxy S 4 i9506 Android Development] trader418:
I'll give you flashing instructions when I'm free
[Galaxy S 4 i9506 Android Development] kostaldavid8:
Isn't this a same problem like with official CM? It has the same behavior, boots for some and bootloops for others? I wasn't able to get it to work even by flashing stock ROM.
[Galaxy S 4 i9506 Android Development] trader418:
Unless something drastic happens 6.4 will be up later/soon <3
[Galaxy S 4 i9506 Android Development] trader418:
As for how to flash, temasek suggested here:

so the steps would be:

Clean Installation

1. Download the appropriate ROM

2. Download the appropriate GApps

3. Back up any and all important data.

5. WIPE DALVIK/CACHE/DATA/FACTORY RESET.

6. WIPE SYSTEM.

7. Flash the ROM in recovery.

7.1. DO NOT FIX PERMISSIONS AFTER FLASHING, doing so will cause a bootloop.

8. Flash the GApps.

8.1 Flash Rom again

9. WIPE DALVIK/CACHE (for good measure).

10. Reboot Device.

P.S. I really doubt you need to wipe internal sd. but feel free to wipe that also.

these steps are based from instructions from temasek.

if this doesnt work for you on 6.3 just wait for 6.4 and test.
[Galaxy S 4 i9506 Android Development] trader418:
6.4 uploaded to the usual place here

I am toying with the idea of changing download location because my google drive is nearly full (14gb of a total 15gb) or I can delete old builds. I have already deleted all test builds to fit this on. So either next release or the one after it might be a different location so check in this thread. If I change the location I will update the link in OP and as always I'll comment with the link. You guys might remember I applied for a dev account on romhut to utilise OTA updates but my application is still pending so im not sure if that will ever happen or not.
[Galaxy S 4 i9506 Android Development] WeirdSoup:
Weird... I can't download your stuff(all of your stuff, not just only this one) directly on my phone. (I'm using chrome beta) is it the google drive problem? (it's just ok with my pc)

The download process suddenly disappeared and couldn't fine the file anywhere..
[Galaxy S 4 i9506 Android Development] :
I already had this message in my life...

It's because something (certainly a ROM ZIP) has changed the FileSystem of the Data partition from EXT4 or F2FS to AUTO...

So you must be in EXT4 or F2FS to wipe a partition...

-> So we will go back to F2FS :

1) Make a backup of DATA

2) Go to WIPE -> Advanced Wipe -> Data -> Change FileSystem -> F2FS

3) Go to SETTINGS -> and check "Use rm -rf instead of formatting" (this is to keep F2FS FileSystem while restoring the AUTO partition...)

4) Restore if you want...

Now you can WIPE Data !:victory:

Thanks me if I helped you
[Galaxy S 4 i9506 Android Development] trader418:
google drive problem
[Galaxy S 4 i9506 Android Development] ahabec:
Did this with 6.4, still bootloop. Also followed the instructions to change file system of data to F2FS.

Open GApps installer has a line "fixing permissions" at the end of installation. But I anyway flashed the rom over that again afterwards. Now showing boot animation for 10+ minutes.

edit: Also, just to try, tried dirty flashing 6.4 over 6.2.

When flashing, it says in TWRP target: KS01LTE blah blah blah XXUDOF2, when my baseband (in settings) shows XXUDOB5.

But this shows when flashing 6.2 as well and that works without a problem, so I don't know.

I'd be happy if I weren't the only tester around.
[Galaxy S 4 i9506 Android Development] trader418:
not 100% sure why someone suggested f2fs anyway. if you really want to know why they dont boot for you I will make a user debug varient in a few hours you can try but to be honest you havent given more much information about your device, only that you are bootlooping. do you have ks01lte? ks01lteskt etc?
[Galaxy S 4 i9506 Android Development] thisisevilevil:
Hello good sir.

Do we still need to flash the 2.0 patch for 9506? arter97-ks01ltexx-cm-patch-2.0.zip
[Galaxy S 4 i9506 Android Development] Omran Zendaki:
I flashed CM13 by TWRP and booted successfully...

But there's an issue..

I can't install the SuperSU binary from the app or from a zip file

The app shows me an error message, and I flashed the zip file for version 2.46 or 2.65 (i tried both) but a bootloop issue happened

I tried again from PHILZ recovery but the same issue..
[Galaxy S 4 i9506 Android Development] trader418:
Alright thanks for that. I know there are a few issues with my builds for cm-13.0 this second however I have been spending my time on the cm-12.1 build. although my build shouldn't need supersu it has the inbuilt root. also when flashing supersu make sure not to do a systemless install as i think that might have issues with this rom.
[Galaxy S 4 i9506 Android Development] trader418:
new cm-12.1 build uploaded here. This is built with kyasu's kernel. Tell me if it boots :)

will do more work on cm-13.0 now as I think 12.1 should be as stable as it will get right this second.
[Galaxy S 4 i9506 Android Development] Omran Zendaki:
Thank you for your hard work for our great devices [emoji1]
[Galaxy S 4 i9506 Android Development] Eliminater:
try to flash super-SU 2.52 the same issue ist on 12.1, only super-SU 2.52 work for me.

or dont flash nothing an use built in root manager
[Galaxy S 4 i9506 Android Development] trader418:
cm12.1 and cm13 both have been updated and uploaded, testers welcome. need feedback.
[Galaxy S 4 i9506 Android Development] nick more:
I now can not prove (work ) tonight when I can taste it and informed , thanks for your hard work for this device
[Galaxy S 4 i9506 Android Development] trader418:
no problem, Just hit thanks :)
[Galaxy S 4 i9506 Android Development] trader418:
By the way i know the first post in this thread looks dull compared to the first post on other threads/roms but im not the most creative person so not much I can do.
[Galaxy S 4 i9506 Android Development] hpotter1234:
Tried both cm12.1 and cm13

cm12.1 is wonderful. has no bug for me now.

But cm13 still has bug, which cant select WCDMA only or WCDMA preferred at preferred network mode on *#*#4636#*#*.

Thanks for your work
[Galaxy S 4 i9506 Android Development] Omran Zendaki:
Can I dirty flash CM13 ?
[Galaxy S 4 i9506 Android Development] Eliminater:
the new build v12.1 from 21.03.16 boot normally with arter kernel
[Galaxy S 4 i9506 Android Development] trader418:
on top of what? but my answer will probably clean flash this one and dirty flash updates from now on
[Galaxy S 4 i9506 Android Development] trader418:
Oh also before I forget I'm taking a little break right now. Had a busy few days sorting these ROMs for you right now so going to just chill out for a few days. Hope you all understand. The cm13 and cm12.1 are both uploaded however haven't had much feed back on the cm13 as to weather it works with other kernels etc. I will be keeping you guys up to date as I can with temaseks changes though so come back here for updates I will post as regularly as I can. Cm 13 5.3 is the latest change from temasek and I built and uploaded today for you all.
[Galaxy S 4 i9506 Android Development] nick more:
v 5.3 kernel arter97 successfully started here , I am very grateful for their hard work
[Galaxy S 4 i9506 Android Development] Eliminater:
there ist a new kernel for this device

http://xdaforums.com/galaxy-s4/i9506-develop/onja-kernel-galaxy-s4-lte-gt-i9506-t3340213
[Galaxy S 4 i9506 Android Development] DonAndress:
How about the sound quality in the clip recording?

TapaTalked from i9506
[Galaxy S 4 i9506 Android Development] Eliminater:
Temasek v5.3 hlte have some issues better prepair 5.4 or better wait for 5.5 thanks
[Galaxy S 4 i9506 Android Development] trader418:
Hlte is the note 3, what do you mean? I can build 5.4 later today for you.
[Galaxy S 4 i9506 Android Development] msrexploder23:
Yes please build 5.4 and I'll be tester for you
[Galaxy S 4 i9506 Android Development] ahabec:
ks01lte AFAIK
[Galaxy S 4 i9506 Android Development] trader418:
Don't think so bud, everyone seems to be flashing no problem without the patch.

edit: some people do flash the patch, some dont, try it with and without and report back if you like :)
[Galaxy S 4 i9506 Android Development] trader418:
And what recovery are you using?
[Galaxy S 4 i9506 Android Development] ahabec:
TWRP 3.0.0-0

I have had this recovery since Kyasu suggested it for his ROM, which I used for a brief period of time between Arter's 12.1 and your 13.

On 6.2 I also flashed (successfully) the 11.1 kernel and xposed.
[Galaxy S 4 i9506 Android Development] trader418:
okay thanks for the info :)

I have a user debug build building on my second pc at the moment, However its not as fast as my main pc so it will take a bit to build and im going to a uni exam in an hour so wont be able to upload it until im back (might be a while as im going to the library after my exam to work on a programming assignment)
[Galaxy S 4 i9506 Android Development] johnzaro:
Dirty flashed 6.4 above 6.2: (wiped system, cache, dalvic) and flashed rom, gapps, arter kernel, patch, Xposed and supersu. Booted without any problems. Thanks once again trader :)
[Galaxy S 4 i9506 Android Development] trader418:
As I'm proactive I have a build you can test :) I know I said it would take a while but apparently my second pc is better than I thought haha.

Anyone who bootloops on 6.3 and 6.4 try this test build, I know the name of the files doesnt say v.64 but it is 6.4 I just haven't used my script to rename it this time.

If you dont bootloop on 6.3 and 6.4 dont try this thank you :)
[Galaxy S 4 i9506 Android Development] DualJoe:
Arter kernel on 6.4 cannot mount external sdcard/ext4.

E/vold (277): public:179_65 failed to mount /dev/block/vold/public:179_65: Invalid argument

Manual mount does work though:

localhost vold # mount public\:179_65 /mnt/media_rw/sdcard1

Will take a look later.

Log is still full of qcom powerhal errors.
[Galaxy S 4 i9506 Android Development] trader418:
powerhal is something above me, a temasek issue. Thank you for your feedback!
[Galaxy S 4 i9506 Android Development] thisisevilevil:
bootloop

Just tried installing latest rom using the following guide (I used ADB Sideload with the latest TWRP recovery):

"Clean Installation

1. Download the appropriate ROM

2. Download the appropriate GApps

3. Back up any and all important data.

5. WIPE DALVIK/CACHE/DATA/FACTORY RESET.

6. WIPE SYSTEM.

7. Flash the ROM in recovery.

7.1. DO NOT FIX PERMISSIONS AFTER FLASHING, doing so will cause a bootloop.

8. Flash the GApps.

8.1 Flash Rom again

9. WIPE DALVIK/CACHE (for good measure).

10. Reboot Device."

However, my device was stuck in a bootloop :( anyone else had this issue?

My device info:

*ks01lte (Galaxy S4 9506)

*Recovery: TWRP ( twrp-3.0.2-0-ks01lte.img.tar )

files used:

*Latest gapps package from opengapps.org (Pico version - open_gapps-arm-6.0-pico-20160413.zip)

*The rom package from this thread (cm-13.0-20160413-UNOFFICIAL-ks01lte.zip)
[Galaxy S 4 i9506 Android Development] WeirdSoup:
I just clean flashed the 6.4. When I didn't flash the arter kernel(I wanted to see if it works without arter kernel) it stuck in bootloop. After that, I made a full wipe again(including /system), and flashed with arter kernel, then it boots up successfully. So I assume that the stock(built-in) kernel is part of the reason that makes bootloop. My device is ks01ltektt (e330k, almost the same with ks01lteskt).

I don't know if the older version of cm13 can boot up without arter kernel. However, I remember that the cm12.1 v19.2 can boots up without the arter kernel (but I don't know if it can operate without malfunctioning.)
[Galaxy S 4 i9506 Android Development] ahabec:
I am now finishing to set up 6.2 without arter kernel so yes, it boots.
[Galaxy S 4 i9506 Android Development] trader418:
isnt cm-13.0-20160413-UNOFFICIAL-ks01lte.zip my test build? That I said only people who bootloop on my normal 6.4 found in the normal place (hence not in the test build folder and also called "cm-13.0-V6.4-ks01lte.zip")

Also if you just used the search button or even just read a few posts above you, you will see that there are others with a bootloop... hence making the test build in the first place.

I really am trying to be helpful but I am finding this difficult.
[Galaxy S 4 i9506 Android Development] trader418:
Maybe the kernel found in my builds only works on ks01lte's?
[Galaxy S 4 i9506 Android Development] trader418:
there has only been one commit to kyasu kernel this month, I'll revert the change when I have time and we can see if this bootlooping stops :)

commit found here:

https://github.com/kyasu/android_kernel_samsung_ks01lte/commit/dfabed77976cc8aab9a1f00dae1c31c58898fb0d

6.2 was built the day that was committed, probably not included in 6.2 because I sync'd my repos before it was on github, then 6.3 was on 11 April, including the commit and some people are struggling so maybe we have found the culprit or maybe we are on a wild goose chase, who knows
[Galaxy S 4 i9506 Android Development] ahabec:
You are indeed proactive! But I literally just this minute finished the setting up of 6.2 again. (I let google drive restore my phone and then set up all the apps, I think it's better than using titanium because it is essentially a fresh install of all the apps).

But user "thisisevilevil" below (or above) says he has the same problem and from what I understand the build he tested is the new, test build? Do you think I can maybe try dirty flashing the test build?

Each time I clean flash it;s 2 hours+ of setting up for me, so I can only test the test build (!) later this evening.
[Galaxy S 4 i9506 Android Development] trader418:
Don't even bother with the test build mate, I'll revert the kernel change and release it in to the wild ;)

When I make the next build with the kernel reverted back to previous state anyone can test it, not just people experiencing bootloops. Remember you can just nandroid backup your current ROM before testing and then restore if it doesn't work though :)
[Galaxy S 4 i9506 Android Development] ahabec:
You think the change of kernel broke the rom from 6.2 onwards? Wouldn't then flashing Arter's 11.1 before first boot solve this (honest disclosure, I have flashd 6.3 and 6.4 like 10 times in the past 2 days -- don't know if I tried doing that. I think I actually AVOIDED flashing the kernel but not sure)?

As you gather, I'm an avid flasher and user but certainly not very knowledgeable as regards the technical aspect. I very much appreciate your dedication!!
[Galaxy S 4 i9506 Android Development] trader418:
Yeah that's what I think at the moment, yes flashing arters kernel before a boot should voit fine if it is what I think. I wouldn't call this dedication, its more procrastination from uni work ;)
[Galaxy S 4 i9506 Android Development] ahabec:
I'll wait for the next build before flashing then. If you could say in a nutshell what are the differences between the 3 kernels (Arter, cm pre-6.2 and the broken one) I would be much obliged. Currently my 6.2 is on its original kernel.

---------- Post added at 12:02 PM ---------- Previous post was at 11:26 AM ----------

how does on check which version of the 9506 one has?
[Galaxy S 4 i9506 Android Development] Eliminater:
Galaxy S4 LTE + International (GT-I9506, ks01lte)

Galaxy S4 LTE-A SK (SHV-E330S, ks01lteskt)

Galaxy S4 LTE-A KT (SHV-E330K, ks01ltektt)
[Galaxy S 4 i9506 Android Development] Henry G:
I dirty flashed 6.4 ( I did wipe cache/dalvik before and after) and just after Arter kernel 11.1, super SU 2.68 and exposed 80

No problem at all

I'll tell you further if I have some bugs, but I'm optimistic ;)

Thanks trader
[Galaxy S 4 i9506 Android Development] Frankygoz:
Can you give us the xposed 80 link

Thk Y
[Galaxy S 4 i9506 Android Development] thisisevilevil:
Sorry, I just saw your post from this morning where you said you finished 6.4, so I went to your google drive this morning and downloaded the latest ROM thinking you've already uploaded it (not the one from the test build folder). My bad. I should have read the previous posts before me.

Either way, I've re-done the flash with the previous mentioned instructions. As pr. my previous post, this is the steps I used to flash the rom:

My device info:

*ks01lte (Galaxy S4 9506)

*Recovery: TWRP ( twrp-3.0.2-0-ks01lte.img.tar )

Files used:

*Latest gapps package from opengapps.org (Pico version - open_gapps-arm-6.0-pico-20160413.zip)

*The latest rom package from this thread (cm-13.0-V6.4-ks01lte.zip)

"Clean Installation

1. Download the appropriate ROM

2. Download the appropriate GApps

3. Back up any and all important data.

5. WIPE DALVIK/CACHE/DATA/FACTORY RESET.

6. WIPE SYSTEM.

7. Flash the ROM in recovery.

7.1. DO NOT FIX PERMISSIONS AFTER FLASHING, doing so will cause a bootloop.

8. Flash the GApps.

8.1 Flash Rom again

9. WIPE DALVIK/CACHE (for good measure).

10. Reboot Device."

My device is again stuck in a bootloop (More specific, it's stuck on the "Unofficial Cyanogenmod 13 by temasek" flashing logo. I left it for around 30 minutes, then gave up, as it usually doesn't take this long (even when first-time booting).

I then proceeded to use arter97's old instructions for flashing roms + using the latest arter kernel and 2.0 patch.

Files used:

*Latest gapps package from opengapps.org (Pico version - open_gapps-arm-6.0-pico-20160413.zip)

*The latest rom package from this thread (cm-13.0-V6.4-ks01lte.zip)

*arter97-ks01ltexx-cm-patch-2.0.zip

*arter97-kernel-i9506-11.1.zip

"Clean Installation

1. Download the appropriate ROM using links provide in the second post.

2. Download the appropriate GApps following the links in the second post.

3. Back up any and all important data.

5. WIPE DALVIK/CACHE/DATA/FACTORY RESET.

6. WIPE SYSTEM.

7. Flash the ROM in recovery.

7.1. DO NOT FIX PERMISSIONS AFTER FLASHING, doing so will cause a bootloop.

8. Flash the GApps.

8.1. If you're an i9506 user, flash the fix file from here : arter97.com/browse/S4/etc/i9506_patch

9. Install arter97 kernel from here : arter97.com/browse/S4/kernel/AOSP_M

10. WIPE DALVIK/CACHE (for good measure).

11. Reboot Device."

My device is now booting, and is running very smooth!

Thanks for the hard work, and for picking up, in my opinion, the best rom for the galaxy s4 :)
[Galaxy S 4 i9506 Android Development] trader418:
The reason it boots now is the arter kernel, I'm making some changes to kyasu's kernel tonight (the included kernel) when I'm back from the library and hopefully the ROM should be back to booting normally guys :)

On a second note just in case anyone is interested, my exam went amazingly and I am in a cracking mood to smash out some more programming for uni and then come home to fix this :D
[Galaxy S 4 i9506 Android Development] trader418:
I just ssh'd into my second computer from the library applied the kernel change and as long as the changes dont cause any errors (they might knowing my work ;)) then you guys might even have a working build up soon! :eek:

AND IT MIGHT EVEN BE 6.5! how exciting ;)
[Galaxy S 4 i9506 Android Development] ahabec:
So mine is 9506. I see in near posts that the culprit was the kernel from the rom so I'll try maybe with arter's.

---------- Post added at 03:48 PM ---------- Previous post was at 03:47 PM ----------

Can this be dirty flashed over 6.2 do you think?
[Galaxy S 4 i9506 Android Development] trader418:
It sure can my man, as soon as its up :)
[Galaxy S 4 i9506 Android Development] trader418:
Okay unfortunately the build failed, I'll build 6.5 in a fee hours bit you will need arters kernel for it to boot until I get a fix for kyasu's kernel working
[Galaxy S 4 i9506 Android Development] audianer:
Hey,

my drive takes 2-3sec to wake up. With stock ROM it takes only one sec! What can i do?
[Galaxy S 4 i9506 Android Development] Henry G:
Hope it's working!

https://drive.google.com/file/d/0B-V6jOenWB4sSHFMc08xZ3daeU0/view?usp=sharing
[Galaxy S 4 i9506 Android Development] ahabec:
I finally succeeded in booting 6.4 (after installing arter's Kernel.)

Now I'm stuck without root. Supersu 2.46 or 2.65 won't flash in recovery (says failure). any thoughts?

---------- Post added at 06:39 PM ---------- Previous post was at 06:18 PM ----------

edit: it said failed in twrp but then did update. Took 2 reboots though