• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM | 4.3 | JSS15Q] NLNP AOKP [UNOFFICIAL][jfltecan]

Status
Not open for further replies.

nolinuxnoparty

Senior Member
Jun 20, 2013
606
987
0
XDA

Device: jfltecan (Canadian Samsung Galaxy S4)


» Installation is simple:
  • If coming from another ROM or another major AOKP version, wipe data in recovery
  • Make sure you're using the latest CWM or TWRP
  • Flash ROM
  • Flash Google Apps (GAPPS)
  • Reboot

» Check merged commits on AOKP's Gerrit


» Unofficial builds (Build Changelogs are here too ^^) -

» AOKP Gerrit
» AOKP on Github
» SOURCE on AOKP.co


We greatly appreciate your contribution in the form of code, or PayPal donations.
» Donation options on AOKP.co

Enjoy!

XDA:DevDB Information
Android Open Kang Project, a ROM for the AT&T Samsung Galaxy S 4

Contributors
nolinuxnoparty

Version Information
Status: Testing

Created 2013-09-14
Last Updated 2013-10-07
 

IcOpRo

Elite Member
Nov 30, 2007
1,305
296
0
Cape Coral
Thanks a lot

Sent from my SGH-I337M using XDA Premium 4 mobile app

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

Which gapps are you guys using for this?

Thanks

Sent from my SGH-I337M using XDA Premium 4 mobile app
 

nolinuxnoparty

Senior Member
Jun 20, 2013
606
987
0
XDA
Thanks a lot

Sent from my SGH-I337M using XDA Premium 4 mobile app

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

Which gapps are you guys using for this?

Thanks

Sent from my SGH-I337M using XDA Premium 4 mobile app
Goo.im Ones (I prefer XS GApps @ S Plus Forums / BaNkS GApps tho)
 

custo

Senior Member
Jul 9, 2013
218
51
0
I've been itching to flash something new and couldn't decide what. I think I've found it. Thanks for the jfltecan!

Sent from my SGH-I337M using xda app-developers app
 

IcOpRo

Elite Member
Nov 30, 2007
1,305
296
0
Cape Coral
Anyone getting camera FC? I tried to take a picture and I get gallery FC after pressing shutter

Sent from my SGH-I337M using XDA Premium 4 mobile app
 

IcOpRo

Elite Member
Nov 30, 2007
1,305
296
0
Cape Coral
Yes you can, just flash a custom kernel from the Canadian variant.
I know that can be done, but the problem is that when you try to flash Task's AOKP ROM, recovery will not let you flash it, it says its not the propper device for the .zip file or something like that, I believe that from what I've read they have the .zip locked down to only ATT devices or TMO devices

Thanks.
 

bigblue95z

Senior Member
Aug 15, 2010
438
43
0
Decatur, IL
Search the forums to find how to remove the assert statement at the beginning of the update script. Zedomax has a YouTube video about a status 7 error that he shows how to do it. Super easy. Just don't expect support from Task....

Sent from my SGH-I337 using XDA Premium HD app
 
  • Like
Reactions: CPA Poke

CPA Poke

Elite Member
Oct 23, 2012
1,515
3,334
0
Tulsa, OK
I know that can be done, but the problem is that when you try to flash Task's AOKP ROM, recovery will not let you flash it, it says its not the propper device for the .zip file or something like that, I believe that from what I've read they have the .zip locked down to only ATT devices or TMO devices

Thanks.
Here's what you do.

Download the free app "Zarchiver" from the Play Store.

Download your favorite text editor. I recommend the Android port of Notepad++, found here: https://play.google.com/store/apps/details?id=gloom.notepad

Download Task's ROM.

Open the APP and navigate to where you downloaded the ROM. Click the ROM, and choose "View".

Follow this folder path:

META-INF >> com >>> google >>> android

Click on the "updater-script" file, choose "Extract", then hit the back button on your phone until you get out of the ROM zip. When you get to the directory you want to save the file in, then click the button on the top of the screen that is a little arrow pointing to a dot.

Use Zarchiver or any other file manager to navigate to where you saved the file and open it, using the text editor you downloaded.

The top lines of the script should look like this:

Code:
assert(getprop("ro.product.device") == "jflteatt" || getprop("ro.build.product") == "jflteatt");
package_extract_dir("install", "/tmp/install");
set_perm_recursive(0, 0, 0755, 0644, "/tmp/install");
set_perm_recursive(0, 0, 0755, 0755, "/tmp/install/bin");
show_progress(0.500000, 0);
ui_print("******************************************");
ui_print("*   Welcome to Task650's...              *");
ui_print("*    ______  _____   __  __   _____      *");
ui_print("*   /\  _  \/\  __`\/\ \/\ \ /\  _ `\    *");
ui_print("*   \ \ \L\ \ \ \/\ \ \ \/'/'\ \ \L\ \   *");
ui_print("*    \ \  __ \ \ \ \ \ \ , <  \ \ ,__/   *");
ui_print("*     \ \ \/\ \ \ \_\ \ \ \\\`\ \ \ \/    *");
ui_print("*      \ \_\ \_\ \_____\ \_\ \_\\\ \_\    *");
ui_print("*       \/_/\/_/\/_____/\/_/\/_/ \/_/    *");
ui_print("*                                        *");
ui_print("******************************************");
ui_print("******************************************");
ui_print("******************************************");
ui_print("*   Compiled: Mon Oct  7 05:47:54 PDT 2013");
ui_print("*   Device: SGH-I337 (jflteatt)");
The culprit that is causing your Status 7 error is the very first line, beginning with "assert(getprop(....".

Delete that line completely.

The script should now look like this:

Code:
package_extract_dir("install", "/tmp/install");
set_perm_recursive(0, 0, 0755, 0644, "/tmp/install");
set_perm_recursive(0, 0, 0755, 0755, "/tmp/install/bin");
show_progress(0.500000, 0);
ui_print("******************************************");
ui_print("*   Welcome to Task650's...              *");
ui_print("*    ______  _____   __  __   _____      *");
ui_print("*   /\  _  \/\  __`\/\ \/\ \ /\  _ `\    *");
ui_print("*   \ \ \L\ \ \ \/\ \ \ \/'/'\ \ \L\ \   *");
ui_print("*    \ \  __ \ \ \ \ \ \ , <  \ \ ,__/   *");
ui_print("*     \ \ \/\ \ \ \_\ \ \ \\\`\ \ \ \/    *");
ui_print("*      \ \_\ \_\ \_____\ \_\ \_\\\ \_\    *");
ui_print("*       \/_/\/_/\/_____/\/_/\/_/ \/_/    *");
ui_print("*                                        *");
ui_print("******************************************");
ui_print("******************************************");
ui_print("******************************************");
ui_print("*   Compiled: Mon Oct  7 05:47:54 PDT 2013");
ui_print("*   Device: SGH-I337 (jflteatt)");
Do what you have to do to save the changes, then exit the file.

Open Zarchiver and navigate back to the directory you extracted the updater-script from earlier.

Hit the button on the top right of the screen (it looks like 4 or 5 horizontal lines, like writing on a paper), then click "Add", then "File". Navigate to where you saved the updater-script that you modified earlier, then click the file so it is highlighted. Click "Add" on the bottom right of the popup dialog.

Let the app do its work.

Flash away :)

WARNING FOR ANYONE ELSE FOLLOWING THESE INSTRUCTIONS:
These asserts are included in these ROMs' updater-scripts for a reason - to protect flash-first-learn-later users. ONLY PERFORM THESE EDITS IF YOU ARE 100% POSITIVE THAT THE ROM IS COMPATIBLE WITH YOUR DEVICE!

Also, if you're needing to make this edit, you're almost always going to have to flash a custom kernel for your variant.

So you've been warned. However, as long as your device is compatible and you follow my instructions precisely, you should have no problem at all flashing the ROM in question.

PS: If you're now looking for a bunch more ROM flashing options, check out the i9505 international S4 original android development forums. :) If you do end up doing so, the only difference from my instructions above will be that there will probably be multiple "assert(getprop" lines at the beginning of the script. Make sure you delete them all.
 
Last edited:

RobbieL811

Elite Member
Oct 21, 2012
5,579
16,530
0
Savannah, Ga.
Here's what you do.

Download the free app "Zarchiver" from the Play Store.

Download your favorite text editor. I recommend the Android port of Notepad++, found here: https://play.google.com/store/apps/details?id=gloom.notepad

Download Task's ROM.

Open the APP and navigate to where you downloaded the ROM. Click the ROM, and choose "View".

Follow this folder path:

META-INF >> com >>> google >>> android

Click on the "updater-script" file, choose "Extract", then hit the back button on your phone until you get out of the ROM zip. When you get to the directory you want to save the file in, then click the button on the top of the screen that is a little arrow pointing to a dot.

Use Zarchiver or any other file manager to navigate to where you saved the file and open it, using the text editor you downloaded.

The top lines of the script should look like this:

Code:
 assert(getprop("ro.product.device") == "jflteatt" || getprop("ro.build.product") == "jflteatt");
package_extract_dir("install", "/tmp/install");
set_perm_recursive(0, 0, 0755, 0644, "/tmp/install");
set_perm_recursive(0, 0, 0755, 0755, "/tmp/install/bin");
show_progress(0.500000, 0);
ui_print("******************************************");
ui_print("*   Welcome to Task650's...              *");
ui_print("*    ______  _____   __  __   _____      *");
ui_print("*   /\  _  \/\  __`\/\ \/\ \ /\  _ `\    *");
ui_print("*   \ \ \L\ \ \ \/\ \ \ \/'/'\ \ \L\ \   *");
ui_print("*    \ \  __ \ \ \ \ \ \ , <  \ \ ,__/   *");
ui_print("*     \ \ \/\ \ \ \_\ \ \ \\\`\ \ \ \/    *");
ui_print("*      \ \_\ \_\ \_____\ \_\ \_\\\ \_\    *");
ui_print("*       \/_/\/_/\/_____/\/_/\/_/ \/_/    *");
ui_print("*                                        *");
ui_print("******************************************");
ui_print("******************************************");
ui_print("******************************************");
ui_print("*   Compiled: Mon Oct  7 05:47:54 PDT 2013");
ui_print("*   Device: SGH-I337 (jflteatt)");
The culprit that is causing your Status 7 error is the very first line, beginning with "assert(getprop(....".

Delete that line completely.

The script should now look like this:

Code:
 package_extract_dir("install", "/tmp/install");
set_perm_recursive(0, 0, 0755, 0644, "/tmp/install");
set_perm_recursive(0, 0, 0755, 0755, "/tmp/install/bin");
show_progress(0.500000, 0);
ui_print("******************************************");
ui_print("*   Welcome to Task650's...              *");
ui_print("*    ______  _____   __  __   _____      *");
ui_print("*   /\  _  \/\  __`\/\ \/\ \ /\  _ `\    *");
ui_print("*   \ \ \L\ \ \ \/\ \ \ \/'/'\ \ \L\ \   *");
ui_print("*    \ \  __ \ \ \ \ \ \ , <  \ \ ,__/   *");
ui_print("*     \ \ \/\ \ \ \_\ \ \ \\\`\ \ \ \/    *");
ui_print("*      \ \_\ \_\ \_____\ \_\ \_\\\ \_\    *");
ui_print("*       \/_/\/_/\/_____/\/_/\/_/ \/_/    *");
ui_print("*                                        *");
ui_print("******************************************");
ui_print("******************************************");
ui_print("******************************************");
ui_print("*   Compiled: Mon Oct  7 05:47:54 PDT 2013");
ui_print("*   Device: SGH-I337 (jflteatt)");
Do what you have to do to save the changes, then exit the file.

Open Zarchiver and navigate back to the directory you extracted the updater-script from earlier.

Hit the button on the top right of the screen (it looks like 4 or 5 horizontal lines, like writing on a paper), then click "Add", then "File". Navigate to where you saved the updater-script that you modified earlier, then click the file so it is highlighted. Click "Add" on the bottom right of the popup dialog.

Let the app do its work.

Flash away :)

WARNING FOR ANYONE ELSE FOLLOWING THESE INSTRUCTIONS:
These asserts are included in these ROMs' updater-scripts for a reason - to protect flash-first-learn-later users. ONLY PERFORM THESE EDITS IF YOU ARE 100% POSITIVE THAT THE ROM IS COMPATIBLE WITH YOUR DEVICE!

Also, if you're needing to make this edit, you're almost always going to have to flash a custom kernel for your variant.

So you've been warned. However, as long as your device is compatible and you follow my instructions precisely, you should have no problem at all flashing the ROM in question.

PS: If you're now looking for a bunch more ROM flashing options, check out the i9505 international S4 original android development forums. :) If you do end up doing so, the only difference from my instructions above will be that there will probably be multiple "assert(getprop" lines at the beginning of the script. Make sure you delete them all.
This will work on all 9505 AOSP ROMs???

Sent from my AT&T Galaxy S4
 
Status
Not open for further replies.