• 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

NANZ Stock AOSP MarshMallow (Pure minimal )

pintspin

Senior Member
Aug 9, 2009
268
29
0
DISCLAIMER
unlocked bootloader is required , Me or any contributor in the software or XDA or Any where in the world DOES NOT take responsibility of damages caused to your phone due to this ROM....! Proceed at your own risk your warranty is void now



Caution : back up your TA partition if not yet Unlocked boot loader ... , ITS NOT PRE ROOTED ROM , so CONSIDER Before proceeding you may loose some features ... how ever its perfectly root-able with SU v 2.82 SR1 201706 This rom is for those who just need BASIC aosp android with minimal apps and most basic apps installed Only...so enjoy ..

How to Flash Instructions


  1. Boot your phone into fast boot mode ( Plug in the usb cable connected to your pC while holding the volume up button ) it will turn on the blue light
  2. Flash the system image by entering the command fastboot flash system system.img Down here
  3. Flash the boot image by entering the command fastboot flash boot boot.img Download from here
  4. Reboot

After First boot , the IMEI and base band will not be available to some users ( known issue post AOSP flashing same happened for Noughat build as well ) , to solve this flash following Modem file via recovery mode to resolve the modem issue.

MODEM Files




Following method is working but since some users reported FC so Halting below until its fixed m working on it.
1. Copy ROM zip to your sd card
2. Go to your Recovery TWRP 3.xx is recommended ( not tested on any other )
3. Full Wipe
4. Flash the Zip
5. Reboot and enjoy.

Additional : Install Gapps

Gapps :

http://opengapps.org use MM 6.0.1 version



Whats Working

Every thing ..! Camera working fine ,


ROOTING

Download SU v 2.82 SR1 201706 and Flash Via Recovery


Whats Not working

Nothing so far i noticed

DownLoad link

Working but Due to Force Closure reports in Google play some work still needs to be done.

Download Version 1.1


CREDITS:

  • Sony devices AOSP sources ,
  • erikcas
  • zacharias.maladroit
  • SUPERUSER
[*]XDA devs.
[*]Google AOSP build guides
[/LIST]






XDA:DevDB Information
MarshMallow Stock AOSP rom , ROM for the Sony Xperia Z Ultra

Contributors
pintspin
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Unlocked BootLoader Atleast 5.1.1 base
Based On: AOSP

Version Information
Status: Stable
Current Stable Version: 1.1
Stable Release Date: 2017-06-17

Created 2017-06-22
Last Updated 2017-06-24
 

Attachments

pintspin

Senior Member
Aug 9, 2009
268
29
0
What is model is it 6833 ? And which recovery. You are using ? Its recommended twrp 3.xx its not tested on other recov and did you performed full wipe ?
 
Last edited:

SUPERUSER

Elite Member
Jan 23, 2013
1,574
535
0

SUPERUSER

Elite Member
Jan 23, 2013
1,574
535
0
No its working without theses patches I have tested it . just need to reenter recovery after first boot n then flash gapps pico its working fine
I have to disagree with you on this one.
I have had it working too and figured out different orders to flash additional zips in recovery to get the phone to boot without it dying at the boot animation but there were tons of force close every time I installed something from play store.
There is some workarounds like a-gapps and beansgapps that can cope better without the patch.
But you need to implement it.
 

pintspin

Senior Member
Aug 9, 2009
268
29
0
I have to disagree with you on this one.
I have had it working too and figured out different orders to flash additional zips in recovery to get the phone to boot without it dying at the boot animation but there were tons of force close every time I installed something from play store.
There is some workarounds like a-gapps and beansgapps that can cope better without the patch.
But you need to implement it.
OK I will can you send me terminal command of cherry pick of above two patches ? I will definitely include these but still don't get reason why its not working because I tested it my device n it worked with out any patch really
 

SUPERUSER

Elite Member
Jan 23, 2013
1,574
535
0

Can u guide me how to include this PAtvh I will try to include this on week end preferred ably if u can send terminal commands to cherry. Pick .
Im no dev on Android devices but here is a user who simplified a way on how to "use" the patch by a bashfile. Execute and you're done.
https://github.com/jomo/fix_open_gapps_permissions
Perhaps send a pm to some active user here who posts roms?

I have limited knowledge of working with source code and It was years since I compiled software mostly on Slackware, Gentoo and bsd. Haven't had much interest for it until not long ago. Perhaps I'll learn with time.. :rolleyes:
 
  • Like
Reactions: pintspin

pintspin

Senior Member
Aug 9, 2009
268
29
0
Im no dev on Android devices but here is a user who simplified a way on how to "use" the patch by a bashfile. Execute and you're done.
https://github.com/jomo/fix_open_gapps_permissions
Perhaps send a pm to some active user here who posts roms?

I have limited knowledge of working with source code and It was years since I compiled software mostly on Slackware, Gentoo and bsd. Haven't had much interest for it until not long ago. Perhaps I'll learn with time.. :rolleyes:
thanks Superuser , unfortunately i am also a bit new to Rom development although i figured out from this link that i need to included one .SH script and which need to be executed while installing the rom , i learn how to run .SH via edify but its keep on giving me Error 6 , i am sure that its the syntax issue only

i am hopefull that some one can tell me how to do it prperly i am pasting the code here my edify code is below
( the .SH script is on the root of Sdcard


Code:
package_extract_file("a.sh", "/sdcard/a.sh");
set_perm(0, 0, 0755, "/sdcard/a.sh");
run_program("/sdcard/a.sh");
i have added above 3 lines on my edify scrpt i have omiited the lines of .system and .boot images


OPTION 2 ,

as an Alternative i will going to post the .system and .boot images here for manual flashing via fastboob method.
 
Last edited:

pintspin

Senior Member
Aug 9, 2009
268
29
0
Uploaded the system and boot images + modem fix , needs to be loaded via fastboot ... and Enjoy ... hope it wont give FC . because its pure aosp fresh build files. NON customized

regards
 

SUPERUSER

Elite Member
Jan 23, 2013
1,574
535
0
thanks Superuser , unfortunately i am also a bit new to Rom development although i figured out from this link that i need to included one .SH script and which need to be executed while installing the rom , i learn how to run .SH via edify but its keep on giving me Error 6 , i am sure that its the syntax issue only

i am hopefull that some one can tell me how to do it prperly i am pasting the code here my edify code is below
( the .SH script is on the root of Sdcard


Code:
package_extract_file("a.sh", "/sdcard/a.sh");
set_perm(0, 0, 0755, "/sdcard/a.sh");
run_program("/sdcard/a.sh");
i have added above 3 lines on my edify scrpt i have omiited the lines of .system and .boot images


OPTION 2 ,

as an Alternative i will going to post the .system and .boot images here for manual flashing via fastboob method.
shouldn't it be a six before the 755.

Code:
package_extract_file("a.sh", "/sdcard/a.sh");
set_perm(0, 0, 06755, "/sdcard/a.sh");
run_program("/sdcard/a.sh");
I'm on my phone and text is disappearing when I zoom in in Firefox but..
Are you using a proper text editor like Notepad++ ?
Is the system partition being mounted before your insert of that code?

You can perhaps try this tool
https://forum.xda-developers.com/showthread.php?t=2599759
Its a tool to review the formatting. It's very easy to miss a spot that might be causing the syntax error.
Ask in this Q&A thread https://forum.xda-developers.com/showthread.php?t=1770284&page=145
 
Last edited:

SubZeRo666

Member
Jun 25, 2017
11
1
0
Uploaded the system and boot images + modem fix , needs to be loaded via fastboot ... and Enjoy ... hope it wont give FC . because its pure aosp fresh build files. NON customized

regards
Hi, Newbie question. I got the system and boot images loaded and roms starts up fine, modem just doesn't work.
How do i loaded the modem fix?

C:\Users\Dennis\Desktop\Sony Xperia Z Ultra\C6833 Modem Patch>fastboot flash modem c6833-modem.zip
target didn't report max-download-size
sending 'modem' (273 KB)...
OKAY [ 0.015s]
writing 'modem'...
FAILED (remote: Command not allowed)
finished. total time: 0.029s

Btw, how can i root my phone? I tried loads of stuff, i don't bother the root access for most things like controlling the firewall, but do i need it also to install custom recovery? I've got the bootloader unlocked, but i would like to have CWM installed as well because i currently have no recovery options available.
 

pintspin

Senior Member
Aug 9, 2009
268
29
0
Hi, Newbie question. I got the system and boot images loaded and roms starts up fine, modem just doesn't work.
How do i loaded the modem fix?

C:\Users\Dennis\Desktop\Sony Xperia Z Ultra\C6833 Modem Patch>fastboot flash modem c6833-modem.zip
target didn't report max-download-size
sending 'modem' (273 KB)...
OKAY [ 0.015s]
writing 'modem'...
FAILED (remote: Command not allowed)
finished. total time: 0.029s

Btw, how can i root my phone? I tried loads of stuff, i don't bother the root access for most things like controlling the firewall, but do i need it also to install custom recovery? I've got the bootloader unlocked, but i would like to have CWM installed as well because i currently have no recovery options available.

you need to install a custom recovery and then flash the modem .zip file from recovery .

Download the recovery from this link
save it to your adb folder
you need to do the following steps

1, Fastboot Flash recovery recovery.img
2, reboot into recovery by typing the command while you stay in fastboot
fastboot boot recovery.img
3, once you will be in recovery , just press install zip button or install button
4, select the location where you saved the modem.zip
5, flash it .
6, reboot,

once reboot just wait for 3-4 minutes and your are done....!

regards
 

pintspin

Senior Member
Aug 9, 2009
268
29
0
can we flash this without using the PC method , flash-able Zip please? :\
Yes Omar you can but some users reported that its giving them issues . so i am trying to fix it once its fixed
i will re upload the zip file but still if wanna give it a go ( please back up every thing of your data ) then there is a link available in the first post under you can try and adivse back if you have getting same issues or not other wise a good option is to use the fastboot mode its working fine without issues .
downloads for zip
 
  • Like
Reactions: OmarKhalifa