[ROM][UNOFFICIAL][ABANDONED[CM12.1] CyanogenMod 12.1 for Xperia C3 - Sony Xperia C

BAD NEWS:
My Development Laptop's Hard Drive crashed, so I no longer have the projects I was working on (this one included). Due to the amount of time and effort Android development takes, and how little time I have to spare, I am going to hand this project over to the community. I have given the most active member I have seen so far (@AutumQueen92) contributor status, so that they can manage the thread. I can help here and there, but I will no longer be actively trying to develop CyanogenMod for the C3. I don't want to give this project up, but I just don't have the time for it any more. If you want to help with the ROM, you can find the device configs either at my GitHub or @wwwhana's GitHub. CyanogenMod Sources can be found on the CyanogenMod GitHub. Build instructions, amongst other things, can be found at the CyanogenMod Learning Center. If you need anything, please don't hesitate to contact me at [email protected].
Original Post:
THIS ROM IS STILL IN ALPHA. PLEASE DO NOT INSTALL IF YOU DON'T KNOW WHAT THIS ENTAILS!
Code:
******DISCLAIMER:*****
*You are installing this software at your own risk.
*I accept no responsibility for any bricked,
*dead, damaged, exploding, imploding,
*existentially challenged, time-travelling,
*zombified, or otherwise abnormal phones.
*
BUG REPORTS SHOULD GO IN THE "Bug Reports" TAB. REMEMBER, NO LOGCAT, NO FIX
Download Links in 2nd Post
ROM
Today, I bring great news: CM12.1 for the Xperia C3!
This is a port of CyanogenMod, a free, open-source, community-made ROM based on the Android Open Source Project. This ROM is still in Alpha Stage, but I have posted the flashable zip in the 2nd post so that I can get user bug reports. Please report any unlisted bugs in the Bug Reports Tab.
Note: This ROM shouldn't damage your phone, but if it does, don't point the finger at me. I will laugh at you. Only after I am finished laughing, will I attempt to fix the ROM.
Note #2: I am currently studying IT at university, and do not have much time to spare for this project. If I do have time, I will try to contribute, but I will also have to rely on other developers to contribute to this ROM via GitHub. You can find the source at either my GitHub or @wwwhana's GitHub. CyanogenMod Sources can be found on the CyanogenMod GitHub. Build instructions, amongst other things, can be found at the CyanogenMod Learning Center.
Working
Boot
Audio
Bluetooth
Cellular Signal
RIL
WiFi (Should be fixed as of ALPHA2)
Not Working
Mobile Data (Untested as of ALPHA2)
Mobile Hotspot
Brightness
Assorted Sensors (Rotation, etc.)
Camera (Also Flash, so no Torch) (Untested as of ALPHA2)
Instructions
Copy zip to /sdcard
Reboot to Recovery
[OPTIONAL] Make NANDROID Backup
[IF COMING FROM STOCK SONY] Wipe Data/Factory Reset
Install zip
[OPTIONAL] Install GApps (OpenGApps is preferred)
Reboot to System
[IMPORTANT] ENJOY!
First Boot will take a while, Sit back and relax for a bit.
Extras
To flash nut's XZDR TWRP for C3, follow the guide here.
To download OpenGapps, please use the Android 5.1 arm version here.
Edit from AutumQueen92: Sorry guys, I'm abandoning this phone entirely for a non-Sony. There are better phones out there and it's extremely difficult to find help from other devs. I'm leaving this up in case some crazy guy wants to make this work.
XDA:DevDB Information
CyanogenMod 12.1 for Xperia C3 D2533, ROM for the Sony Xperia C
Contributors
Riccorbypro, wwwhana
Source Code: https://github.com/Riccorbypro
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Unlocked Bootloader
Based On: CyanogenMod
Version Information
Status: Abandoned
Created 2015-08-14
Last Updated 2017-11-10

Download & Changelog
DOWNLOADS PROVIDED FOR COMMUNITY DEVELOPERS - POST NO LONGER UPDATED
Original Post:
Download
Alpha 2:
Failed to boot in tests, not posting.​
Alpha 1:
cm_wukong-UNOFFICIAL-ALPHA1.zip​
Changelog
Alpha 2
WiFi should work now.
Mobile Data might work (Untested)
Camera binaries included in build (Untested)
Alpha 1
Original Release

Dude if u are successful in this I'll be the biggest fan of yours
Cause I'm waiting like hell for this rom
And a big big thanks in advance :good:

Good news!
I would like to be a tester for this ROM!
ADD OIL!

is this for xperia c (c2305) becouse it requires unlocked bootloader and i dont think you can do it on xperia C

If OP found a way to unlock this, I'm not sure if the different models would present a problem. The D2533 model 2014 and after has combined storage, meaning the phone memory and sd memory are now combined into 8gb. You can install more apps, but that's all there is to it.

masterismos said:
is this for xperia c (c2305) becouse it requires unlocked bootloader and i dont think you can do it on xperia C
Click to expand...
Click to collapse
This is for C3

Unlocking C3 Bootloader uses the same unlock code as Xperia Z3 Compact. I'm working on getting sources for yukon device tree and wukong device now.

It sucks that sony end support for the C2035 TT^TT, I was excited for the 4.3 update and after the news, i felt like I lost my faith in Sony.
I'm not trying to start a flame war here

Lel, it's a good thing I only unlocked the bootloader to get full root. I downloaded the kernel provided but not sure if I wanted to flash it just yet >.>

Which kernel "provided"? I haven't posted a kernel yet, I'm just having trouble booting with the universal msm8226 kernel. Making my own changes to it, then I'll try compile it again.
ROM source is still downloading... (South African internet...)
But I have found the right configs, and have a semi-complete device tree. Hoping I'll finish the download tonight...
Sent from my D2533 using Tapatalk

Riccorbypro said:
Which kernel "provided"? I haven't posted a kernel yet, I'm just having trouble booting with the universal msm8226 kernel. Making my own changes to it, then I'll try compile it again.
ROM source is still downloading... (South African internet...)
But I have found the right configs, and have a semi-complete device tree. Hoping I'll finish the download tonight...
Sent from my D2533 using Tapatalk
Click to expand...
Click to collapse
That's good news!!!!! Can't wait for that!!!

I meant the one in nut's xperia files. Not really confident in building one so I'm still reading up stuff >.>

No, the nut one works, I mean that I'm having trouble with the one I'm building from source.
Sent via Carrier Pigeon

While you wait...
OK, so I had nothing to do last night while the sources were downloading, so i decided to cook up a custom bootanimation.zip for the ROM. It is a mix of the traditional BIOS bootanimation and the CM12 bootanimation, so, here you go.
Preview and download attached.

Hey umm, just wanna confirm. The recovery from nut.xperia is for 5.0 and not KitKat right? And how do you flash it with flashtool?

Flashing TWRP
To install TWRP, please make sure that you are running the 19.4.A.0.182 ROM. The old 19.3.A.0.472 ROM's TWRP can still be built using the instructions in the hidden section.
Here is a file that can be used to install TWRP to 19.4.A.0.182, just download it and run the .bat file.
AutumQueen92 said:
Hey umm, just wanna confirm. The recovery from nut.xperia is for 5.0 and not KitKat right? And how do you flash it with flashtool?
Click to expand...
Click to collapse
Yes, the nut recovery is for 5.0.2 (19.3.A.0.472).
Download and extract the flashable zip, from http://nut.xperia-files.com/ -> XZDualRecovery -> Kernel Builder -> Check Box -> T2 Ultra D5303 -> D2533 -> DOWNLOAD.
Also copy the original zip to your phone's SD card (NOT INTERNAL STORAGE).
Install using:
Code:
fastboot flash boot <path to nut's boot.img>
Replace the <path to nut's boot.img> with the real path that you extracted from the flashable zip. (I would recommend just putting the boot.img in C:\adb\ for easy reference. This way, the command would be fastboot flash boot C:\adb\boot.img)
then type:
Code:
fastboot reboot
As soon as your device reboots, BUTTON-MASH BOTH the volume buttons (I'm still not sure if it's VOLUP or VOLDOWN to enter recovery!!!). If you've done it correctly, a green LED will light up, and then turn to purple. ONLY STOP PRESSING THE BUTTONS WHEN IT IS PURPLE.
You should now be in TWRP.
Then install the flashable zip from your SD card to your device, this will make sure that all the correct tweaks are in place for the recovery to have full functionality.
Aaaaaaaaaaand......... YOU'RE DONE!
P.S. This tutorial assumes your bootloader is UNLOCKED. If it is LOCKED, just use the installer from http://nut.xperia-files.com/ -> XZDualRecovery -> 2.8.21 -> T2U-lockeddualrecovery2.8.21-RELEASE.installer.zip
P.P.S I HIGHLY RECOMMEND UNLOCKING THE BOOTLOADER.

Status update
Okay, so I have good news and bad news.
Good news
The ROM source is almost done downloading and I have finally managed to compile a kernel.​
Bad news
The kernel didn't work, well, boot at least. I managed to get into recovery from it, but that was the limit of it's functionality. And the touchscreen didn't work in recovery anyway, so I gave that "release" up as a bad job.​
I am currently exploring different ways of tackling the kernel problem, and will report back soon. The ROM should, hopefully, at least have basic functionality on the stock 5.0.2 kernel, once it has been built, and I'm hoping to get a build out within the next week.
For now, back to the kernel...

You can always ask ROM devs from other forums, especially those in the Xperia and similar device threads for ideas and advice. There was one guy who worked on a CM12.1 variant for the Note 1, he really souped the phone up.

AutumQueen92 said:
You can always ask ROM devs from other forums, especially those in the Xperia and similar device threads for ideas and advice. There was one guy who worked on a CM12.1 variant for the Note 1, he really souped the phone up.
Click to expand...
Click to collapse
I've actually been asking around, but they all say that I need to build before I can debug. And it's quite hard to debug a kernel when it won't even boot enough time to initialise adb. But the source is at 97%, so I'll hopefully have it by the time I go to bed. I can always start a build at that time...
Sent via Carrier Pigeon

Related

[A510][Kernel]Development Questions

Hi Folks,
I already spent some years in customizing Linux kernels and in the last time I was already playing around with Android devices and the possibility they offer to boot customized kernel. Now, thanks to NoThrill, we have a working CWM and my interest rises again. I already compiled the Acer Kernel Sources but I got into trouble booting it. Few months ago, I did the same with a lenovo IdeaPad a1 and it should be possible on the A510 too to boot an outside kernel using the command fastboot boot kernel ramdisk.gz. Problem is, that it does download and boot the kernel - but then it returns to fastboot mode instead of booting android. First I thought, it may be due to kernel errors but it does the same if I am using the stock kernel or the boot.img provided by working ROMs. So my questions are:
Is there any possibility to test an experimental kernel without flashing it first? Do I understand correctly, that it is relatively safe to flash it to the boot partition as long as recovery keeps untouched?
What exactly does the (unexplained) command fastboot continue? I thought it may be used to continue booting process with a downloaded kernel, but unfortunately it seems like it does just the same like a normal reboot ...
Simply pack the kernel into a boot.img and flash it to the /boot partition. If something goes wrong, simply reboot into recovery and flash your original boot.img back. Recovery will always work because it uses its own kernel and therefor is independent of whatever kernel you flash to /boot.
A word of warning though: The Acer kernelsource contains code that could brick your tablet. That needs to be fixed before you experiment any further.
Nevertheless, any work done on the A510 kernel is always encouraged :good:
NoThrills said:
Simply pack the kernel into a boot.img and flash it to the /boot partition. If something goes wrong, simply reboot into recovery and flash your original boot.img back. Recovery will always work because it uses its own kernel and therefor is independent of whatever kernel you flash to /boot.
A word of warning though: The Acer kernelsource contains code that could brick your tablet. That needs to be fixed before you experiment any further.
Nevertheless, any work done on the A510 kernel is always encouraged :good:
Click to expand...
Click to collapse
by the way, nothrills, did you set-up a git or something like that to share kernel mods and stuff like that ?
BENETNATH said:
by the way, nothrills, did you set-up a git or something like that to share kernel mods and stuff like that ?
Click to expand...
Click to collapse
Actually, no, because (call me stupid) I really have no clue how git works. I know how to get stuff from it, and used it alot, but never looked into actually setting something up or submitting patches.
I am very ashamed
NoThrills said:
Actually, no, because (call me stupid) I really have no clue how git works. I know how to get stuff from it, and used it alot, but never looked into actually setting something up or submitting patches.
I am very ashamed
Click to expand...
Click to collapse
THAT is something really easy you know..
but if it's something that you agree, i can upload it to my git if you don't want to use time for that.
i can clearly state about the source and then.. work can be shared and commit done.
otherwise, yu have to set-up a free account and follow this :
https://help.github.com/articles/create-a-repo
it would REALLY help you know

[TWRP][hennessy] Squid TWRP for Redmi Note 3 MTK

So here's another TWRP for the Mediatek Redmi Note 3 (hennessy). It's built from my fork of TWRP that's had some cleanup done and uses my own theme. This recovery is newer than others I've found thus far for this device, and I plan to update regularly. I also did a bit of governor configuration to make scrolling a bit less laggy than it is on the other recoveries I've seen on this device.
The kernel I'm using is from the 6.3.24 developer ROM. Xiaomi seems to have granted itself a GPL exemption, so obviously I don't have kernel sources.
As usual, flash it with fastboot (fastboot flash recovery twrp.img). Since you've all had to jump through ridiculous hoops to unlock your bootloader, I assume you are all competent enough to do this. The download is on the downloads tab.
XDA:DevDB Information
Squid TWRP for Redmi Note 3 MTK, Tool/Utility for the Xiaomi Redmi Note 3
Contributors
squid2
Source Code: https://github.com/sultanqasim/android_device_xiaomi_hennessy
Version Information
Status: Stable
Current Stable Version: 3.0.2-r1
Stable Release Date: 2016-04-07
Created 2016-04-07
Last Updated 2016-04-07
Missing download link
Pepe.II said:
Missing download link
Click to expand...
Click to collapse
See the downloads tab.
Ohhhh .. sorry
CM12.1
I had tried to flash lokjianming's CM12.1 a few minutes ago and encountered an error 7. I thought there was something wrong with the recovery, though it seemed to work fine when I tried again now after rebooting. Let me know if you encounter any issues.
EDIT: Looks like a failing USB OTG adapter was to blame.
squid2 said:
I had tried to flash lokjianming's CM12.1 a few minutes ago and encountered an error 7. I thought there was something wrong with the recovery, though it seemed to work fine when I tried again now after rebooting. Let me know if you encounter any issues.
EDIT: Looks like a failing USB OTG adapter was to blame.
Click to expand...
Click to collapse
What new in this version compare to version 3.0.0?????
And how to flash it? Tell in details plz????
G.NO_BOYz said:
What new in this version compare to version 3.0.0?????
And how to flash it? Tell in details plz????
Click to expand...
Click to collapse
You can look at the git history - https://github.com/sultanqasim/android_bootable_recovery/commits/android-6.0
The changes are essentially a bunch of bug fixes, updates to upstream components, and minor new features.
You flash it using fastboot after unlocking the bootloader. To enter fastboot mode, turn off the device, then hold PWR + VOL- for a few seconds till you get a vibration, then let go. Once in fastboot mode, connect the device to your computer, make sure you have fastboot and fastboot drivers installed, an run "fastboot flash recovery name_of_recovery_image.img". I'm not going to explain how to unlock the bootloader here, as it's an annoying procedure that can take up a whole thread of its own.
squid2 said:
You can look at the git history - https://github.com/sultanqasim/android_bootable_recovery/commits/android-6.0
The changes are essentially a bunch of bug fixes, updates to upstream components, and minor new features.
You flash it using fastboot after unlocking the bootloader. To enter fastboot mode, turn off the device, then hold PWR + VOL- for a few seconds till you get a vibration, then let go. Once in fastboot mode, connect the device to your computer, make sure you have fastboot and fastboot drivers installed, an run "fastboot flash recovery name_of_recovery_image.img". I'm not going to explain how to unlock the bootloader here, as it's an annoying procedure that can take up a whole thread of its own.
Click to expand...
Click to collapse
Thz u very much sir! My phone already unlocked so i will try it soon as possible ??
my device recognized as hermes not heenessy
@squid2: soo happy to see your name pop up here! )
got this device after my moto e2 broke and since your support for that device was superb, now i'm excited on what might be coming for this device!
as usual, great work. as soon as i had permission, i used flashify to install this TWRP. everything running well so far!
thank you very much!
Works like a charm and was very easy to flash just straight off with fastboot. Thanks alot
Seems to mostly work well except once it failed to install a zip, which worked when retried. Also temperature shows 0.
IT IS GOOD!:good::good::good:
How to install sir?...

new to the z3

New to this phone since my note got stolen
What do you all recommend to get the most out of this phone?
Any roms or updates or tricks etc
Thanks all!
If you have or want to unlock your bootloader, I would recommend to flash a rom based on Stock with the Elitekernel v3.
With this you can get the most out of our device. (Some rom examples: Existenz, Slimm, Purex, Fragment)
After installing one of them, you can flash a soundmod, if you are not satisfied with the roms built in. (dontbelive soundmod v22 - loudest, v17 - more bass)
For a much better camera, I recommend Cyberian camera 4.2
Try some of the roms, because all our devs made an big effort for us and every Rom, has his own great features. Good luck!
Awesome thank you for the advice.. I just noticed that my T-Mobile z3 doesn't get updated past 5.0.2; how can I go about going to Marshmallow and adding all those awesome things you all got going on here.
Sorry I am very new to Xperia.. This is my very first sony phone
cor4twenty said:
Awesome thank you for the advice.. I just noticed that my T-Mobile z3 doesn't get updated past 5.0.2; how can I go about going to Marshmallow and adding all those awesome things you all got going on here.
Sorry I am very new to Xperia.. This is my very first sony phone
Click to expand...
Click to collapse
1st of all, i would not advice you to unlock your bootloader at this point, most custom roms for z3 doesn't re1quire that, unless you want to flash CM or AOSP.
at 1st test the roms mentioned before on your normal locked phone then you'll learn through posts on the board what unlocking will benefit you (and if it will), i don't have an unlocked bootloader and in my sign you'll see i have a custom rom and few mods flashed...
Now how do you get that...
1st you need to go to settings >about phone > and make sure youre device is D6603 (because there're several version of z3 and each one require patches when flashing roms)
if its, Go to this thread
http://forum.xda-developers.com/showthread.php?t=2292598
and back up your TA partition, this is suggested because this partition gets wiped if at any time you did unlock your bootloader, and when that happens, it contains keys unique to each device that if lost you can never get you device back to the locked state. and you could lose some features (currently there's a fix for not losing any features)
2-Now you need to root your phone , follow the instruction on the following thread
http://forum.xda-developers.com/z3/general/guide-rootrecovery-how-to-root-install-t3017056
although you can skip the step of downgrading your firmware (because you should already have the original one)
after you successfully root your phone go to the following thread
http://forum.xda-developers.com/showthread.php?t=2261606
and install recovery (instruction is there)
after you've done that, you are ready...
go to the development section
http://forum.xda-developers.com/z3/development
where you'll find different roms, you can flash with the latest Android 6.0.1 for z3 (make sure it's not CM or AOSP so you don't need to unlock the bootloader)
you can check the one on my sign, it natively comes with a lot of customization features.
whcn you chose a rom, just download it and go to recovery (TWRP) and flash it (follow the rom developer instruction on how to flash on the rom thread)
if you get stock or wonder about steps at any of the steps ask on the specified thread and people will help
So my device is the tmobile z3; what's the best I can hope as far as development and new ROM?

[ROM[6.0.1][VFD-1400][OFFICIAL] Vodafone Prime Tab 7

Pretty tricky to find anything for this tablet, but I managed to find a way to get an official image.
What you need:
Alcatel Mobile Upgrade Q 5.1.7 (or newer), get it here.
This will overwrite all your data on the device.
1. Install Mobile Upgrade Q
2. Run "C:\Program Files (x86)\Mobile Upgrade Q\tool\usb_driver\installdriver\DriverInstaller.exe" to install the USB Drivers.
3. Enable USB Debugging
4. adb reboot edl
5. Mobile Upgrade Q and select "VF1400" (note it also lists 9030G and 9030Q, the unbranded variants of this tablet (yet unreleased?), but unfortunately you can't flash these, it will just download the Vodafone branded image)
6. It will download the image files into "C:\Program Files (x86)\Mobile Upgrade Q\bin\download" (note while it's downloading the image files, these are just filled with 0s)
7. After it downloaded the image it starts flashing ("initialisation") and you can copy the files to some place safe (from bin\VF1400-2AVDXXX), it deletes some after it's done
B1BEB0B0CD00.mbn is the boot image, R1BEB0B0CD00.mbn the recovery. Some of the files have partition information, probably can use these to flash with QPST.
Going to have a look into compiling a TWRP, now that I have the kernel
Also, Alcatel seems to have released a *very incomplete* kernel source (build scripts and other things missing) over at https://sourceforge.net/projects/alcatel/files/, see OT_VDF_1400_20160520.tar.xz.
A bummer since the kernel in the official image seems to have all kinds of debugging stuff enabled.
Some more findings. You can coax SUGAR QCT_SP (and maybe Alcatel Mobile Upgrade Q 5.1.7?) into flashing any images.
Before starting SUGAR QCT_SP, copy your backup of the VF1400-2AVDDE1 folder into bin/. It should flash these files.
I flashed a ported recovery, but I couldn't boot it (always boots stock recovery). I guess because of secure boot? Read something about the recovery-from-boot.p file...
Don't worry about bricking, you can get the tab into edl mode with an edl cable. http://xiaomitips.com/guide/miui-deep-flash-engineering-cable-solution-to-non-edl-device/
Some progress, if anyone cares :laugh: (doubt it).
Flashed boot with altered build.pros, selinux is off, but adb root kills the adbd.
Same on recovery, but kind of pointless with zip verification. Now it's either compile a recovery or add a custom key too boot and sign the supersu zip myself.
Also flashed a slimmer system, minus all the google apps I don't use anyway. Stock image carries 1GB of empty space that is being flashed every time
One more interesting thing: You can get into fastboot by flashing a recovery with the wrong kernel and then booting to recovery. Fastboot is crippled though and does nothing useful, can't even flash with it.
Btw to turn off the device if you are stuck in a bootloop to recovery: With usb cable unconnected, hold Power and Volume down. It screen goes black after 5 sec, keep holding the buttons. It should come up again and very shortly after, let go of the buttons screen when the screen goes black a second time.
So, at the moment there is no way to root?
Geeting the device tomrrow
Yes there is. After getting rid of selinux, you can get temporary root using dirty cow, or bake supersu into the boot or system image.
Also I'm working on porting a recovery. It works, more or less already.
I just flashed SuperSU via the recovery I ported. Seems to work
Nice! Is it possible to Upload your Recovery? Simply flash via Fastboot?
gella1992 said:
Nice! Is it possible to Upload your Recovery? Simply flash via Fastboot?
Click to expand...
Click to collapse
I can upload it later.
Fastboot is crippled and you can't boot into it directly, at least on mine. Try booting into it (hold power + vol down). Otherwise see my earlier posts on how to do the initial flash. A little inconvenient, but it's only once
Will post detailed instructions with the recovery.
gella1992 said:
Nice! Is it possible to Upload your Recovery? Simply flash via Fastboot?
Click to expand...
Click to collapse
https://forum.xda-developers.com/android/development/recovery-vodafone-prime-tab-7-t3548560
Working on a frankenkernel with some salvaged parts from the incomplete kernel source from alcatel: https://github.com/852Kerfunkle/android_kernel_vodafone_vfd1400
Works for booting into recovery.
While trying some things with caf android builds, I flashed aboot, thinking I could always get back into download mode with the makeshift EDL cable. Turns out you can't.
Do not mess with aboot unless you are 100% sure (unlike me). The device will only register as HS-USB Diagnostic 900E. Even with an EDL cable.
For anyone who did: your device is not dead, but it's a bit of a mission.
1. Take of the back cover: Remove the screw behind the sim/sd latch and open the device with one of these plastic opener thingies, start at the latch.
2. Bridge the pin marked on the image (take a cable and connect the pin to the ground of the usb connector, i.e. the metal bit).
3. Plug in the usb cable.
4. It should register as HS-USB QDloader 9008 (assuming you have the right drivers).
5. Flash with Sugar.
Hopefully everything is working great again!
Do you think it would be possible to port a Lineage OS to this Tab?
I know how to compile from source, but actually not developing a Rom
gella1992 said:
Hopefully everything is working great again!
Do you think it would be possible to port a Lineage OS to this Tab?
I know how to compile from source, but actually not developing a Rom
Click to expand...
Click to collapse
Yeah it's working alright again, thanks
I tried, no luck yet. Am stuck on a crash in libsdm. Once I had it boot to the point where it was initialising the apps (dexopt or whatever?), but it crashed right after.
For now I am focusing on codeaurora android. If I get that working, maybe the caf parts can be used to make a working LineageOS build.
I also have little to no idea how to do anything android related, so most of the time is spent reading and googling silly errors. Just give it a go, if you get stuck I can help out with what I found so far.
At the moment I am busy. Will give it a try when I have more time :fingers-crossed:
fused#1 said:
Working on a frankenkernel with some salvaged parts from the incomplete kernel source from alcatel:
Works for booting into recovery.
Click to expand...
Click to collapse
Are you still working on this ?
I'm currently considering the option of running a git diff against the CAF msm-3.18 "LA.UM.5.1-03210-8x37.0" TAG/branch, which the released incomplete kernel source appears to be based on.
Then going through the patches and applying them one by one on the newest CAF 8937 TAG/branch.
Although getting LA.UM.5.1-03210-8x37.0 to work with the patches applied would be nice already.
My ultimate goal is OMNI, im not interested in CM/Lineage.
Problem is at the moment i don't have much time for this.
But we'll see :good:
nevexc said:
Are you still working on this ?
I'm currently considering the option of running a git diff against the CAF msm-3.18 "LA.UM.5.1-03210-8x37.0" TAG/branch, which the released incomplete kernel source appears to be based on.
Then going through the patches and applying them one by one on the newest CAF 8937 TAG/branch.
Although getting LA.UM.5.1-03210-8x37.0 to work with the patches applied would be nice already.
My ultimate goal is OMNI, im not interested in CM/Lineage.
Problem is at the moment i don't have much time for this.
But we'll see :good:
Click to expand...
Click to collapse
Hey,
That's pretty much what I was doing before I got caught up in other stuff
Was stuck at trying to figure out how to actually build caf android. Which of the files on the rom belong the the proprietary blobs and how to properly include them in the makefiles so it actually builds...
Hit me up with a PM, maybe we can coordinate our efforts :fingers-crossed:
Thanks for this Guide, but I have a quick question:
I am currently trying to restore my VF-1497 to a stock rom with Mobile Upgrade Q 5.1.7, but the Upgrader always kicks my Tablet out of edl, and throws the error:
'There is no greater version available to upgrade your phone, actual version of your phone is the latest'
Is there any way to restore this device back to stock?
Thank you in advance
ASP
Hi is there a custom "clean" firmware for vdf1400 that can go instead of the latest 6.0.1 150fkg1

[Recovery] TWRP for the Nubia Z18(NX606J)

Hey,
youyim123 recently made his TWRP build available that I was trying to compile myself. So without further ado, here is a more or less working TWRP for the Nubia Z18 with instructions of how to install it.
Link to recovery.img
How to install it:
Boot into bootloader using
Code:
adb reboot bootloader
Unlock the bootloader using
Code:
fastboot oem nubia_unlock NUBIA_NX606J
Flash the recovery.img using
Code:
fastboot flash recovery recovery.img
IMPORTANT! Navigate to "reboot to emergency recovery mode". Do not use
Code:
fastboot reboot recovery
as it might not work correctly!
I found disconnecting the device from USB to be more reliable, so do that for stability
If it gets stuck, repeat steps 1 and 4. No need to reflash, just be patient
Language will be Chinese, so change that by using the settings button (second from below on the right)
That's it, you have a working TWRP now Enjoy!
EDIT: DO NOT TRY FLASHING MAGISK AS IT WILL DAMAGE DM-VERITY AND YOU'LL HAVE TO BOOT RESCUE YOUR DEVICE! YOU CAN USE MY recovery script in the bloat remover thread to fix your device
In case you get stuck in a bootloop, repeat the installation guide, then use
Code:
adb push stock.zip /data/media/0
and reflash stock firmware as a last resort until a custom ROM is available.
All credit for this goes to youyim123 and his amazing work! I know he struggled releasing this because his work is often used or redirected without his consent or giving him credit, so I'm grateful he decided to release it.
*reserved*
Can i use this to flash Gapps
aqblwd said:
Can i use this to flash Gapps
Click to expand...
Click to collapse
In theory, yes. In practice, it somehow doesn't give me any GApps when flashing it. I'm trying to cooperate with the OpenGapps team to fix this.
any update info for flashing gapps ? i really want to use my nubia z18 with google environment on it. tks
shevaman7 said:
any update info for flashing gapps ? i really want to use my nubia z18 with google environment on it. tks
Click to expand...
Click to collapse
None yet. I'd say community involvement isn't exactly one of the OpenGapps team's good points
See the Gitter thread for tracking updates here: https://gitter.im/opengapps/general
If you know of any other way to contact them, feel free to do so and send them the logs I attached in the gitter post (same username as here)
shevaman7 said:
any update info for flashing gapps ? i really want to use my nubia z18 with google environment on it. tks
Click to expand...
Click to collapse
You can use google xspace
elnas1369 said:
You can use google xspace
Click to expand...
Click to collapse
EDIT: Okay I tried the app and it's doing something that looks like installing play services? @elnas1369 would you mind explaining what you did in detail? Because most of us probably can't speak chinese and it's not intuitive unfortunately
curtisy said:
EDIT: Okay I tried the app and it's doing something that looks like installing play services? @elnas1369 would you mind explaining what you did in detail? Because most of us probably can't speak chinese and it's not intuitive unfortunately
Click to expand...
Click to collapse
I did it on my Nubia X and it works pretty good, you just have to follow the steps, i've found some tutos on youtube it's very easy. You can search for google xspace installing or something like that
curtisy said:
Hey,
youyim123 recently made his TWRP build available that I was trying to compile myself. So without further ado, here is a more or less working TWRP for the Nubia Z18 with instructions of how to install it.
Link to recovery.img
How to install it:
Boot into bootloader using
Code:
adb reboot bootloader
Unlock the bootloader using
Code:
fastboot oem nubia_unlock NUBIA_NX606J
Flash the recovery.img using
Code:
fastboot flash recovery recovery.img
IMPORTANT! Navigate to "reboot to emergency recovery mode". Do not use
Code:
fastboot reboot recovery
as it might not work correctly!
I found disconnecting the device from USB to be more reliable, so do that for stability
If it gets stuck, repeat steps 1 and 4. No need to reflash, just be patient
Language will be Chinese, so change that by using the settings button (second from below on the right)
That's it, you have a working TWRP now Enjoy!
EDIT: DO NOT TRY FLASHING MAGISK AS IT WILL DAMAGE DM-VERITY AND YOU'LL HAVE TO BOOT RESCUE YOUR DEVICE! YOU CAN USE MY recovery script in the bloat remover thread to fix your device
In case you get stuck in a bootloop, repeat the installation guide, then use
Code:
adb push stock.zip /data/media/0
and reflash stock firmware as a last resort until a custom ROM is available.
All credit for this goes to youyim123 and his amazing work! I know he struggled releasing this because his work is often used or redirected without his consent or giving him credit, so I'm grateful he decided to release it.
Click to expand...
Click to collapse
any news update about stable TWRP for Z18. I have Z18, a very beautiful and strong device
md07 said:
any news update about stable TWRP for Z18. I have Z18, a very beautiful and strong device
Click to expand...
Click to collapse
It is stable. Just make sure to unplug your phone after flashing it as otherwise it will probably get stuck after a few seconds. If you need to have your device connected to your pc, do the following:
Start adb sideload in TWRP, connect your phone to your pc, stop sideload. That way you have a working connection with adb again
Hope this helps!
curtisy said:
It is stable. Just make sure to unplug your phone after flashing it as otherwise it will probably get stuck after a few seconds. If you need to have your device connected to your pc, do the following:
Start adb sideload in TWRP, connect your phone to your pc, stop sideload. That way you have a working connection with adb again
Hope this helps!
Click to expand...
Click to collapse
i read somewhere in Nubia forums (chinese language), some dev is going to release TWRP for Z18, but it need poll to decide.
So that, i dont know this version on XDA is official or unofficial ? And as you said, if it is stable, so can i flash Gaap package to get full Goolge and service for Z18? have you tried ?
Already try few weeks ago, not working...!
The only temperary solution is "Google Space", or just wait for the global version release
As one Dev which working on LOS fot this machine point out that Lineage is very hard to compile since there's no other Dev help him, the System is block by something call AVB2...pretty ironic as this twrp not even let us using Magisk at all!
md07 said:
i read somewhere in Nubia forums (chinese language), some dev is going to release TWRP for Z18, but it need poll to decide.
So that, i dont know this version on XDA is official or unofficial ? And as you said, if it is stable, so can i flash Gaap package to get full Goolge and service for Z18? have you tried ?
Click to expand...
Click to collapse
sky104hk said:
Already try few weeks ago, not working...!
The only temperary solution is "Google Space", or just wait for the global version release
As one Dev which working on LOS fot this machine point out that Lineage is very hard to compile since there's no other Dev help him, the System is block by something call AVB2...pretty ironic as this twrp not even let us using Magisk at all!
Click to expand...
Click to collapse
I tried Gplay space. But all app installed from there seem work slowly and not appear on home screen (must go Gplay space and run app)
md07 said:
i read somewhere in Nubia forums (chinese language), some dev is going to release TWRP for Z18, but it need poll to decide.
So that, i dont know this version on XDA is official or unofficial ? And as you said, if it is stable, so can i flash Gaap package to get full Goolge and service for Z18? have you tried ?
Click to expand...
Click to collapse
Please read the first post precisely and then the post in the nubia forum again. Youyim is the guy who made the poll and he made it public. I simply brought it to a wider audience and link to his official GitHub for the img.
You cannot flash Gapps with this because it errors. I said so a couple of times before and would appreciate a bit of effort reading before asking. You probably spent more time on writing this than you would've reading the first three post entries here, disregarding the fact that I'm trying to reply in detail. It's all in the first post, please read that before asking next time..
To sum up:
- It's the "official" TWRP from youyim, all credit goes to him
- You can not install Gapps with this, I haven't found a resolution for this but am working on an alternative. See my other thread or post #3 here
sky104hk said:
Already try few weeks ago, not working...!
The only temperary solution is "Google Space", or just wait for the global version release
As one Dev which working on LOS fot this machine point out that Lineage is very hard to compile since there's no other Dev help him, the System is block by something call AVB2...pretty ironic as this twrp not even let us using Magisk at all!
Click to expand...
Click to collapse
It's the same dev I'm the guy working on LineageOS as well and yes AVB2 (Basically think of it as Android's answer to secure boot on Computers) is a pain in the a** to deal with. Compiling itself is rather easy compared to the pain that comes after it, it's just killing lots of time and I unfortunately don't have that with a full time job. That's why I tried getting more people involved but (again) failed apparently.
TWRP doesn't have anything to do with Magisk either. Magisk is modifying the boot partition as far as I'm aware (don't hate me topjohnwu) and it relies on either no AVB/DM-Verity or a flag that doesn't work here either. TWRP in contrast just modifies/overrides the boot partition and is (mostly) used to flash many things including Magisk.
I think Z18 not have a global version, so we'll never see international firmware for this product. The only way I hope is some one or some dev support official method for install Google. And hope good news come soon.
Thanks all!
md07 said:
I think Z18 not have a global version, so we'll never see international firmware for this product. The only way I hope is some one or some dev support official method for install Google. And hope good news come soon.
Thanks all!
Click to expand...
Click to collapse
Isn't a global release coming in like 2 weeks or something? At least that's what I read last time I checked
I can tell you an official method. Root your phone and rewrite google services to system. Otherwise wait until developers can take a look at Rom building like I do now or even better, get involved. Being a one man show isn't helping the cause even if you have a couple spectators because it makes you feel more or less like a monkey in a cage
curtisy said:
Isn't a global release coming in like 2 weeks or something? At least that's what I read last time I checked
I can tell you an official method. Root your phone and rewrite google services to system. Otherwise wait until developers can take a look at Rom building like I do now or even better, get involved. Being a one man show isn't helping the cause even if you have a couple spectators because it makes you feel more or less like a monkey in a cage
Click to expand...
Click to collapse
Where did you read about global version Z18??? I checked only on Nubia website, in some global region (like India...) they are only going to release global Red Magic Mars.
I know method get Google and service by rooted and I read in Nubia forums they released tool to root current Version Z18, but I can not download
md07 said:
Where did you read about global version Z18??? I checked only on Nubia website, in some global region (like India...) they are only going to release global Red Magic Mars.
I know method get Google and service by rooted and I read in Nubia forums they released tool to root current Version Z18, but I can not download
Click to expand...
Click to collapse
https://www.gadgetsnow.com/mobile-phones/Nubia-Z18 for instance. India isn't global lol. They mostly just buy masses of phones and then resell. And yeah I can understand they won't release a global version anytime soon. The phone is great but looking at the source code, it's horrible. I even had to submit a patch so they get their build fixed!
As for the download, try the second one. Baidu is blocking anything non China by now afaik. It will also be included in the LineageOS ROM whenever I'll get that done..

Categories

Resources