SlimLP for Thea - Moto G 2014 LTE Android Development

I will not maintain this rom from now on, since I cant test and there is close to zero interest in this rom for this device.
UNIFIED
Disclaimer
Code:
Your warranty is void. Unless you are from europe xD.
Backup, always!!! I am not responsible for bricked devices,
dead SD cards, you getting fired because the alarm app failed,
thermonuclear war, or anything else.
YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device,
I will laugh at you. Hard. A lot.
Go into custom recovery
Download the ROM
Put ROM on SDCARD
Go to install and select the rom zip.
Click install and wait.
Hit the Thanks! button (right bottom corner of this post)
Not working:
Tell me!
Thanks: LuK1337 for helping with build errors.
XDA:DevDB Information
SlimLP for Thea, ROM for the Moto G 2015
Contributors
gregor160300, gregor160300
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x
Based On: SlimLP
Version Information
Status: Testing
Created 2015-06-22
Last Updated 2015-06-22

Mine

Too

Hello, Just tried to flash SlimLP, The flash is OK but When I reboot the phone, it's stuck on the "Unlocked Bootlader" Screen.....
I did a semi-clean flash (just wype system, cache and dalvik before flashed the ROM)
It seems that the Boot.img does not work. I deleted the boot.img and replaced it with the one from CM Rom Zip and now it boots.
EDIT: Endless Bootanimation, Back on CM for now

No GAPPS needed?

I did some tests back home:
- The Zip provided is stucked on "Bootlader Unlocked" screen
- The zip modified with bootimg from CM is stucked on Bootanimation.
Does it run on your phone ?

sossio18 said:
No GAPPS needed?
Click to expand...
Click to collapse
They are not included, so if you want them you flash them

metalmoot said:
I did some tests back home:
- The Zip provided is stucked on "Bootlader Unlocked" screen
- The zip modified with bootimg from CM is stucked on Bootanimation.
Does it run on your phone ?
Click to expand...
Click to collapse
Forgot to mention was going to, but I dont have thea, I do have Titan so I base my roms on commits, they are not tested, but I can see what I can do about it.
Edit: I have a fix for now I think and I would be happy if you tested the fix. Since Thea and Titan use the same kernel, I will provide you with a working boot.img from SlimLP Titan you can then flash that over this SlimLP zip after doing a full clean install. https://drive.google.com/file/d/0By3hc0o4u0zSdGRCOW8wUXZjcHM/view?usp=sharing

Ok I just flashed your .img.
Now the phone boots but soft reboot when it lands on "Starting apps" screen. Thus the screen corners flicker and go red for a few seconds
Good Job by the way but it is not a working ROM yet

metalmoot said:
Ok I just flashed your .img.
Now the phone boots but soft reboot when it lands on "Starting apps" screen. Thus the screen corners flicker and go red for a few seconds
Good Job by the way but it is not a working ROM yet
Click to expand...
Click to collapse
So it now goes further, but still doesnt work, as for the screen I really dont know how to fix that without a test device.
Edit: Red pixels are there because this is a -eng build, usually only for testing, I am building a better zip now.

metalmoot said:
Ok I just flashed your .img.
Now the phone boots but soft reboot when it lands on "Starting apps" screen. Thus the screen corners flicker and go red for a few seconds
Good Job by the way but it is not a working ROM yet
Click to expand...
Click to collapse
New build is up, I would really appreciate it if you could test it, first without flashing custom boot.img and if that doesnt work with custom boot.img

gregor160300 said:
New build is up, I would really appreciate it if you could test it, first without flashing custom boot.img and if that doesnt work with custom boot.img
Click to expand...
Click to collapse
OK Just tested the new build, It boots and works great however I will not stay on SlimLP. I wanted to test because I had a really great Experience with SlimICS and SlimJB back on my Nexus. SLimLP seems good but beside Slimrecent it's no as tweaked as I wanted it to do.
Will continue to test your builds if you are in need
Thanks

metalmoot said:
OK Just tested the new build, It boots and works great however I will not stay on SlimLP. I wanted to test because I had a really great Experience with SlimICS and SlimJB back on my Nexus. SLimLP seems good but beside Slimrecent it's no as tweaked as I wanted it to do.
Will continue to test your builds if you are in need
Thanks
Click to expand...
Click to collapse
Well thanks for testing my builds, is my new build working without custom boot.img, or is the custom boot.img still needed?

gregor160300 said:
Well thanks for testing my builds, is my new build working without custom boot.img, or is the custom boot.img still needed?
Click to expand...
Click to collapse
it works with custom boot.img.
xt1077
---------- Post added at 12:08 PM ---------- Previous post was at 12:03 PM ----------
gregor160300 said:
Well thanks for testing my builds, is my new build working without custom boot.img, or is the custom boot.img still needed?
Click to expand...
Click to collapse
it seems break my ril...

bushibaa said:
it works with custom boot.img.
xt1077
---------- Post added at 12:08 PM ---------- Previous post was at 12:03 PM ----------
it seems break my ril...
Click to expand...
Click to collapse
If custom boot.img is from titan then it's pretty normal to break your RIL XD

LuK1337 said:
If custom boot.img is from titan then it's pretty normal to break your RIL XD
Click to expand...
Click to collapse
It's wired. i can't use cdma card (only carrieroperator service call works, no other call, no sms, no data connection, it shows signal normally) unless insert a wcdma card before. is it ril erro? How could it be normal when inserting a wcdma card...

Build 2 worked without the custom boot.img for me

metalmoot said:
Build 2 worked without the custom boot.img for me
Click to expand...
Click to collapse
Could you confirm if ril works for you and please tell me your modelnumber.

Related

CyanogenMod 11.0 for HTC One Mini - m4

CyanogenMod 11.0 is a free, community built distribution of Android 4.4 (KitKat) which greatly extends the capabilities of your phone.
These are nightly builds of CM11.0 for the HTC One Mini.
To hear about the latest updates and changes to CyanogenMod as a whole, please follow +CyanogenMod on Google+!
You can follow h8rift on Google+
You can follow u-ra on Google+​
Device Maintainers:
u-ra and h8rift
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Installation Instructions
You must unlock your bootloader or be S-OFF.
You must have a custom recovery installed that allows SELinux.
Download the HTC One Mini build http://download.cyanogenmod.org/?device=m4.
Locate 4.4 Gapps here.
Fully wipe your device from Recovery if you are not coming from CM11.0 already.
Reboot into recovery and install.
Huge thanks:
u-ra - Co-Maintainer and helped plug alot of holes I missed. Great to have him aboard .
intervigil, Flemmard - Great friends that helped with the HTC One Mini.
XDA:DevDB Information
CyanogenMod 11.0 for HTC One Mini - m4, ROM for the HTC One Mini
Contributors
h8rift, u-ra
Source Code: https://github.com/CyanogenMod
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.4.x
Version Information
Status: Beta
Created 2013-11-24
Last Updated 2014-11-13
Borrowing this post...
Wow I didn't think I'd see a cm11 rom anytime soon, can't wait to try this rom. What kernel is used?
---------- Post added at 04:02 AM ---------- Previous post was at 03:59 AM ----------
Just seen this is at+t will it work on wwe?
cyberdude020 said:
Wow I didn't think I'd see a cm11 rom anytime soon, can't wait to try this rom. What kernel is used?
---------- Post added at 04:02 AM ---------- Previous post was at 03:59 AM ----------
Just seen this is at+t will it work on wwe?
Click to expand...
Click to collapse
It should. i didn't put any specific AT&T APNs or anything in there.
yeeeah! thanks!
but I'm sorry, I need my phone during the week for the job - cant test it now.
just trying to install this, how do i mount data? when installing the .zip it fails but i'm unsure how to mount. also which type of wipe is required? A reset factory settings or more? (will it delete my external data? thanks
looping
successful install ....but is its looping on HTC screen
@h8rift thanks for giving us official cm
Sent from my HTC One using Tapatalk
That's possibly you haven't flashed boot.img in fastboot I'm guessing
tr1gg3r84 said:
That's possibly you haven't flashed boot.img in fastboot I'm guessing
Click to expand...
Click to collapse
Are we supposed to?. The instruction says install only (with TWRP)
eeter said:
Are we supposed to?. The instruction says install only (with TWRP)
Click to expand...
Click to collapse
Yeah but sense and cm boot.img are different so you will still need to flash boot.img in fastboot for cm
tr1gg3r84 said:
Yeah but sense and cm boot.img are different so you will still need to flash boot.img in fastboot for cm
Click to expand...
Click to collapse
So it should be like this?
You must unlock your bootloader.
You must have a custom recovery installed that allows SELinux (please see here for TWRP with SELinux support for 4.4 KitKat)
Download the HTC One Mini build here.
Locate 4.4 Gapps here.
1 Fully wipe your device from Recovery if you are not coming from CM11.0 already.
2 Reboot into recovery and install. (Unfortunately, you will need to mount /data manually and then go to /data/media/0 to locate the zip files until this recovery gets cleaned up.)
3 Unzip ROM and flash boot.img in fastboot
4 Reboot
eeter said:
Are we supposed to?. The instruction says install only (with TWRP)
Click to expand...
Click to collapse
Take out the boot.img from the zip file and place it in your fastboot folder and fastboot flash boot boot.img then reboot after installing
tr1gg3r84 said:
Take out the boot.img from the zip file and place it in your fastboot folder and fastboot flash boot boot.img then reboot after installing
Click to expand...
Click to collapse
still looping on htc screen
---------- Post added at 07:55 PM ---------- Previous post was at 07:52 PM ----------
when you load a file with "adb pushcm11xxx /data/media/0/...
what happened if I do not have the "0" folder??
How do i mount data? In TWRP or fastboot?
hey,
did someone actually succed in booting it ?
additional question, why flash the twrp recovery, i mean, fastboot boot recovery.img should be ok, no ?
and that would allow to keep OTA update working
As someone that has CM on multiple android devices (Samsung Galaxy Note II, Nexus 4, Nexus 7 & Samsung Galaxy Note 8.0) I would try reflashing, I find that usually the first flash doesn't go well with CM. I just got an HTC One Mini so excited to see this development. I was a little bummed that their was no CM for it ATM.
reubendevries said:
As someone that has CM on multiple android devices (Samsung Galaxy Note II, Nexus 4, Nexus 7 & Samsung Galaxy Note 8.0) I would try reflashing, I find that usually the first flash doesn't go well with CM. I just got an HTC One Mini so excited to see this development. I was a little bummed that their was no CM for it ATM.
Click to expand...
Click to collapse
I tried everything ...This ROM is not working
eeter said:
I tried everything ...This ROM is not working
Click to expand...
Click to collapse
I am willing to try it once they fix speakerphone and wifi. Camera I don't really care if it works or not. Unfortunately the HTC One Mini is currently my daily driver so I can't afford to lose the wifi or speakerphone.
reubendevries said:
I am willing to try it once they fix speakerphone and wifi. Camera I don't really care if it works or not. Unfortunately the HTC One Mini is currently my daily driver so I can't afford to lose the wifi or speakerphone.
Click to expand...
Click to collapse
same for me :crying:

should i install franco kernel?

new to android,
got a few questions regarding franco kernel
1. should i install franco kernel? iam seeing that pretty much everyone is using it.will just installing it improve battery life? or do i also need to mess with clocks( which i rather not do)
2. using mahdi rom, will it work with it?
http://forum.xda-developers.com/oneplus-one/orig-development/kernel-franco-kernel-r1-t2800871
3. also i would need to download from the link that says: "for aosp roms" right?
4. in the link above it just says flash it, but in this guide http://forum.xda-developers.com/oneplus-one/general/guides-bacon-timmaaas-how-to-guides-t2839471 , in part 6, it says also wipe cache/dalvik, so should i wipe or not?
thanks in advance to all helpers =P
DjDafiDak said:
new to android,
got a few questions regarding franco kernel
1. should i install franco kernel? iam seeing that pretty much everyone is using it.will just installing it improve battery life? or do i also need to mess with clocks( which i rather not do)
2. using mahdi rom, will it work with it?
http://forum.xda-developers.com/oneplus-one/orig-development/kernel-franco-kernel-r1-t2800871
3. also i would need to download from the link that says: "for aosp roms" right?
4. in the link above it just says flash it, but in this guide http://forum.xda-developers.com/oneplus-one/general/guides-bacon-timmaaas-how-to-guides-t2839471 , in part 6, it says also wipe cache/dalvik, so should i wipe or not?
thanks in advance to all helpers =P
Click to expand...
Click to collapse
1. Depending on your device, and your app set up, it will make your device run smoother. But then there's ak kernel too. ak has more options and you have to tweak your own set up. Franco has his set up built into the kernel already to make it run optimized.
2. Yes
3. Yes
4. Yes
dude i just installed it and the screen was freaking out, like alot of random colors on parts of the screen and weird lines and sh!t, wtf, what do i do?
Update your ROM.
DjDafiDak said:
dude i just installed it and the screen was freaking out, like alot of random colors on parts of the screen and weird lines and sh!t, wtf, what do i do?
Click to expand...
Click to collapse
You downloaded the outdated Mahdi, download the latest from here
http://forum.xda-developers.com/one...m-2-7-oneplus-camera-4k-t2813107/post55644987
nicholaschum said:
You downloaded the outdated Mahdi, download the latest from here
http://forum.xda-developers.com/one...m-2-7-oneplus-camera-4k-t2813107/post55644987
Click to expand...
Click to collapse
do i have to reflash it entirely? or can i somehow update? i just dont want to go through the hassle of installing apps etc again, because i just did that.
but if i have no choice i will.
if you could please continue to reply quickly that would be great, as i only have about 8hrs till college starts tomorrow and i need my phone, thanks =P
DjDafiDak said:
do i have to reflash it entirely? or can i somehow update? i just dont want to go through the hassle of installing apps etc again, because i just did that.
but if i have no choice i will.
Click to expand...
Click to collapse
Just flash over your current set up. You won't lose data.
nicholaschum said:
Just flash over your current set up. You won't lose data.
Click to expand...
Click to collapse
exactly as those steps mentioned on mahdi's page?
Upgrading from an earlier version: (not recommended)
- Copy the ROM ZIP to your SDCard
- Boot into Recovery
- Flash the ROM zip from SDCard
- Reboot
DjDafiDak said:
exactly as those steps mentioned on mahdi's page?
Upgrading from an earlier version: (not recommended)
- Copy the ROM ZIP to your SDCard
- Boot into Recovery
- Flash the ROM zip from SDCard
- Reboot
Click to expand...
Click to collapse
Yep.
nicholaschum said:
Yep.
Click to expand...
Click to collapse
Thanks alot!!! it fixed it.
just to confirm, i still have franco kernel installed after flashing the mahdi update?, the two things aren't related right?
though i dont feel like the device is smoother, but not sure yet.
DjDafiDak said:
Thanks alot!!! it fixed it.
just to confirm, i still have franco kernel installed after flashing the mahdi update?, the two things aren't related right?
Click to expand...
Click to collapse
You need to flash the latest franco again. Mahdi flashes it's stock kernel.
---------- Post added at 04:18 PM ---------- Previous post was at 04:01 PM ----------
DjDafiDak said:
though i dont feel like the device is smoother, but not sure yet.
Click to expand...
Click to collapse
Kernels need to set in on your device. Give it a few hours. Also sometimes smoothness doesn't have to be felt, but how a piece of software runs is how efficient it is.
nicholaschum said:
You need to flash the latest franco again. Mahdi flashes it's stock kernel.
Click to expand...
Click to collapse
hmm now iam thinking its fixed just because its back to its original kernel again, you sure that if i flash franco now it will be good?
lets say it wont, will i be able to just flash mahdi 2.8 again, and fix it again?
DjDafiDak said:
hmm now iam thinking its fixed just because its back to its original kernel again, you sure that if i flash franco now it will be good?
lets say it wont, will i be able to just flash mahdi 2.8 again, and fix it again?
Click to expand...
Click to collapse
It's because of the old commits in the previous Mahdi releases. The kernel has the latest commits and the ROM was not updated for it. The one you downloaded was 09/03 version but the commit was weeks after 3rd of Sept, requiring a ROM update.Now that you have the latest, you won't experience any of these issues again.
alright, reflashing franco r21( also wiping cache/dalvik hopefully i need to do it again)
will edit in a sec.
edit: its good now =]
thanks ALOT for all your help!

[NotBooting][Dev]TekROM - D850 - Stock 20f - Lollipop - Deodex/Root/Busybox

NEW THINGS ARE COMING. KEEP AN EYE OUT.​
Hello!
I have taken the system.img and boot.img from the flashable zip for 20f that @autoprime made and made a ROM base. It is prerooted, deodexed, has busybox, and has support for ArchiDroid Init.d (basically Init.d found in the ROM, not the kernel). It should be ready to flash as is, but a more experienced dev may want to look through my updater-script. It was created using ArchiKitchen (Busybox and ArchiDroid Init.d) and JoelDroid Batch Deodexer (Deodex system apps, priv-apps, and framework). Please flash with caution. I believe everything is kosher, but I haven't attempted to flash it myself. Just like with autoprime's flashable zip, please flash the modem before flashing this if you are upgrading from KitKat. Feel free to use this as your ROM base, just give me credit if you use it.
It's been pointed out to me that I didn't mention whether it was debloated or not. I ran the archi and romcleaner debloat scripts found in ArchiKitchen on it. I am not sure if this wiped the at&t specific apps or not. I also believe Carrier IQ is still enabled. I wasn't sure how to clean Carrier IQ out.
The Q&A thread is here. Not sure why it isn't accessible from the bar at the top like usual.
Instructions for flashing:
REMEMBER TO MAKE A BACKUP!
1a. If coming for KitKat or AOSP Lollipop ROM, wipe data/facory reset and wipe system.
1b. If already on stock Lollipop, dirty flash SHOULD be ok.
2. Wipe Cache and Dalvik Cache (optional).
3. If coming from KitKat, flash updated modem for 20f.
4. Flash ROM.
5. Rewipe Cache and Dalvik Cache (optional).
6. Reboot to system.
To fix issues with xposed, after flashing the xposed zip, download and flash the zip here to stop the Force closes. Alternatively you can freeze quick circle and the weather widget apps prior to flashing xposed.
Links: AndroidFileHost - Mega
Credit:
@autoprime - His flashable zip of .img files
@JustArchi - His kitchen
@joeldroid - His batch deodexer for lollipop
@Unjustified Dev - His root method for G3 stock lollipop
whoever dumped the .img files for the lollipop build
XDA:DevDB Information
TekROM, ROM for the AT&T LG G3
Contributors
TekGadgt, cmulk, that-squirrel
ROM OS Version: 5.0.x Lollipop
ROM Kernel: Linux 3.4.x
ROM Firmware Required: D85020f modem
Based On: Stock D85020f
Version Information
Status: Testing
Created 2015-03-16
Last Updated 2015-03-26
Reserved
Looking for anyone that has some dev experience and might want to work on this with me. Just PM me if interested.
Also, if anyone tests this before I get a chance to. Would you please report back here? and if it boots fine, please PM me screenshots to add to the database.
Reserved
Thank you for the work, excited to see lollipop development take off
Is it a debloated stock?
ski21 said:
Is it a debloated stock?
Click to expand...
Click to collapse
I ran the ArchiKitchen debloat scripts on it, but I'm not sure what all it killed off. I completely forgot to check that. Sorry. Will make a note on the OP.
sick a new stock rom, any extra added tweaks added to it?
omaralkha99 said:
sick a new stock rom, any extra added tweaks added to it?
Click to expand...
Click to collapse
Not really. I'm not a true dev per say. I just set this up as a base for other devs to use. got the basic stuff out of the way. As I mentioned in the OP. I haven't flashed this yet, so exercise caution when flashing. Everything should be fine, but it does include the boot.img, so if everything isn't proper, it may be bad. Either way, if you decide to flash, please make a backup before and keep the KitKat restore file readily available.
TekGadgt said:
Not really. I'm not a true dev per say. I just set this up as a base for other devs to use. got the basic stuff out of the way. As I mentioned in the OP. I haven't flashed this yet, so exercise caution when flashing. Everything should be fine, but it does include the boot.img, so if everything isn't proper, it may be bad. Either way, if you decide to flash, please make a backup before and keep the KitKat restore file readily available.
Click to expand...
Click to collapse
Well good work anywyas, though im not going to flash till some one tries it out first. I dont want to go through headaches if it doesnt flash correctly. Also Im glad we have a new developer, just keep learning and add great stuff to this rom if u figure out. Good luck
omaralkha99 said:
Well good work anywyas, though im not going to flash till some one tries it out first. I dont want to go through headaches if it doesnt flash correctly. Also Im glad we have a new developer, just keep learning and add great stuff to this rom if u figure out. Good luck
Click to expand...
Click to collapse
I've been around for a while now. Attempted several large projects, but usually ran out of time. As such, I generally only deodex and such for other devs to use, but if I can find the time, I will definitely try to expand this. I will also post a truly debloated version at some point. I might attempt to flash it soon. It only affects system and boot.img, so if the boot.img is set to extract to the proper block (I checked against my own D850 for the proper mount block), everything should go fine.
i will flash and see wish me good luck..Lol
keeps boring into twrp
Tried flashing this and kept on booting into to recovery.
vampyro said:
i will flash and see wish me good luck..Lol
Click to expand...
Click to collapse
i tried just dont boot... sent me back to twrp recovery
vampyro said:
i tried just dont boot... sent me back to twrp recovery
Click to expand...
Click to collapse
Same
elry567 said:
Same
Click to expand...
Click to collapse
vampyro said:
i tried just dont boot... sent me back to twrp recovery
Click to expand...
Click to collapse
wsherman1983 said:
Tried flashing this and kept on booting into to recovery.
Click to expand...
Click to collapse
I did warn that it was untested and that I would prefer if someone checked through my stuff first. I will look in to fixing the issues as soon as I can. Any way someone can get a Logcat?
Sounds like a boot image issue.
TekGadgt said:
I did warn that it was untested and that I would prefer if someone checked through my stuff first. I will look in to fixing the issues as soon as I can. Any way someone can get a Logcat?
Click to expand...
Click to collapse
TekGadgt. Thanks for doing this. I look forward to a working release.
This same issue happened when folks with a custom recovery tried to take the ota for Stock Lollipop. I wonder if the same fix for that will work here.
*** edit** Here is the link http://forum.xda-developers.com/lg-g3/development/fix-stuck-custom-recovery-trying-ota-t2907508
derekedw said:
Sounds like a boot image issue.
Click to expand...
Click to collapse
That's odd and somewhat unlikely, since I flashed the exact same one from autoprimes system.img and boot.img. Did everyone that flashed upload their modem as well? And did everyone wipe properly?
Dretti said:
This same issue happened when folks with a custom recovery tried to take the ota for Stock Lollipop. I wonder if the same fix for that will work here.
*** edit** Here is the link http://forum.xda-developers.com/lg-g3/development/fix-stuck-custom-recovery-trying-ota-t2907508
Click to expand...
Click to collapse
I gave this a shot and it did hang at the LG logo with blinking l.e.d. a little longer, but still returned to recovery

[RECOVERY] Unnoficial TWRP recovery 3.2.1-0 for Galaxy S6 Edge model 404SC only.

TEAM WIN RECOVERY PROJECT (TWRP) version 3.2.1-0
What is TWRP?
Is a fully touch-based custom recovery, which allow you to flash some zip files, backup some partitions and restore the device.
This recovery is specific to Galaxy S6 Edge, model 404SC(SM-G925Z/Japan model, carrier Softbank). But i tested and worked on the Galaxy S6 Edge SCV31/carrier Au KDDI too. I didn't tested in any "Docomo" variant. In case you want to try, send me an message and i will provide the modified "stock kernel", to be able to boot on system.
I recommend to not try to flash this in any internacional model.
Compiled with the latest omni sources 8.1.
https://github.com/omnirom/android_bootable_recovery/
Warning:- I will take no responsability for anything bad, that can happen after flash this recovery!
Flashing this recovery, will trip the KNOX and void the Warranty. If you are ok with that, proceed downloading the recovery, flash with the Odin and enjoy.
In case you want to keep the warranty, this is not for you!
Starting from Lollipop, flashing any custom binary, will end up in stuck at boot. This is due to dm_verity. To be able to boot on system, after flash the TWRP recovery, is necessary to flash an modified kernel.
You can flash my custom permissive kernel for 404SC, from this link:- https://www.androidfilehost.com/?fid=818070582850510939
Kernel source code:- https://github.com/frankbrazillian/android_kernel_samsung_404SC
This kernel is very close as stock, only making this kernel permissive... Compiled with Linaro toolchain gcc 7.
Or if you want to keep the "stock kernel", you can find the link to the model 404SC and SCV31 stock kernel, on the second post.
You will find the link to "stock recovery" too, in case you want to revert.
How to flash the Recovery?
I recommend to flash with Odin3 v3.12~
Link to download Odin:-
https://drive.google.com/file/d/1etF4YP6nJYq-CQEzZJqDv7YS39rQSsbT/view?usp=drivesdk
Note:- After flash the TWRP recovery with Odin, is necessary to put the device in recovery mode(pressing the combo POWER + HOME + VOLUME UP), and swipe to allow modifications when prompted, to make this recovery permanent. If you won't swipe to allow modifications or leave the device restart to system before enter on recovery mode on first boot, the TWRP recovery will be replaced automatically for the "Stock recovery", and you will need to flash the TWRP recovery again.
In case you still have doubts, post an message and i will try to help you.
How to root your device?
Download the latest SuperSu from this link:- (https://s3-us-west-2.amazonaws.com/supersu/download/zip/SuperSU-v2.82-201705271822.zip), or the latest Magisk from this thread :- (https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445) and flash with the TWRP recovery. Since both root tools are systemless, if you wipe the data/factory reset, you will lost the root access. After flash the SuperSU with TWRP recovery, you will see an red message on top of the screen on boot, saying the Kernel is not SEANDROID ENFORCING. Don't worry, this is normal, since the SuperSU will edit the Kernel to be able to get root access.
Feel free to test and let me know if this recovery worked for you...
And please press the "Thanks" button, if this helped you in anyway...
Regards....
Frank.
Contributors:- @Frankbrazillian
Credits:- @Dees_Troy for the Tutorial how to and for share the Source code.
@jcadduono for the Zerolte device tree.
@adipurn for test on SCV31 (Kddi) and confirm is working.
@crzyone01 for test on SC04G (Docomo), and confirm is working.
Version :- 3.2.1-0
Device tree :-
https://github.com/frankbrazillian/android_device_samsung_404SC
Kernel :-
https://github.com/frankbrazillian/android_kernel_samsung_404SC
Omnirom source:-
https://github.com/omnirom/android_bootable_recovery/
Link to download the TWRP recovery:-
https://www.androidfilehost.com/?fid=818070582850510940
md5:- 0d2ab48a6c84d7e8ff2e85d51adee1c9
...............................................................................................................................
UPDATED TO TWRP version 3.2.2-0.
Fixed the Mtp not able to mount when on TWRP.
https://androidfilehost.com/?fid=11050483647474833296
.......................................................................................................................................
UPDATE 2018/07/08
I have add an guide to fix some problems after flash any custom binary or root the device on Nougat.
Check this post to see how to fix...
https://forum.xda-developers.com/showpost.php?p=76994790&postcount=30
......................................................................................................................................
Obs:- In the screenshots, the header color is mustard, but on the device is the real color "blue".
Since this doesn't interfere in anything, i just leave in this way....
Some screenshot's about the Kernel permissive and root.
In case you want to revert back to stock or want to keep the Stock kernel.
After flash the Twrp recovery, is necessary to flash this Stock kernel or the Custom permissive one. Both are already modified to be able to boot on system. If you flash only the Twrp recovery on Stock rom, you will be stuck at boot. This is due to dm-verity.
Link to download the Stock kernel for 404SC
https://drive.google.com/file/d/1ZAcX_Hm4Ln7-ZtEte-TIE4_xEvSQHVXS/view?usp=drivesdk
Link to download the Stock recovery for 404SC
https://drive.google.com/file/d/1_b6Dk95bxIvhjEyM9xuGB1RJER7eHWpJ/view?usp=drivesdk
......................................................................................................................................
Obs:- For the SCV31 model, i didn't compiled yet the Custom permissive kernel, so is necessary to flash this Stock kernel, after flash the Twrp recovery or the device won't boot, due to dm-verity. This stock kernel is modified to be able to boot on system.
Link for download the Stock kernel for SCV31
https://drive.google.com/file/d/1Od4mY9mdC2hQMEM9txDicXfaiPYuqjdH/view?usp=drivesdk
Link for download the Stock recovery for SCV31
https://drive.google.com/file/d/13BlClQdF3lARk2SfJ9hd6ux5Z1VTYENn/view?usp=drivesdk
A Firmware switch Stock & Costum that was Magic. XD
YouLose66 said:
A Firmware switch Stock & Costum that was Magic. XD
Click to expand...
Click to collapse
Yes... I will release an stock and custom edition... You can create an backup with TWRP and switch between both.
YouLose66 said:
A Firmware switch Stock & Costum that was Magic. XD
Click to expand...
Click to collapse
Basically exploiting the buffer between reboots while in DL mode. Smart. Hopefully when they fix it they simply throw an autoreboot after file complete, rather than some obnoxious knoxx hoops to jump through. I'm going to test this on my s6 right now. Actually I bet they end up making a softknoxx that gets flagged after any download, and throws a verify function.
So... Anyone who flashed this recovery on 404SC or SCV31 on Nougat, can give me some feedback?
Any issue? Worked for you?
@adipurn ..... Custom permissive kernel for SCV31 NN, with the deepsleep fixed, already done.
I will send you to test, ok?
Compiled with Gcc linaro 7.
Still need some fixes....
---------- Post added at 06:31 PM ---------- Previous post was at 06:03 PM ----------
[/COLOR]
Frankbrazillian said:
@adipurn ..... Custom permissive kernel for SCV31 NN, with the deepsleep fixed, already done.
I will send you to test, ok?
Compiled with Gcc linaro 7.
Still need some fixes....
Click to expand...
Click to collapse
And now i have no delay incoming messages such as WA etc. and it looks like this fixed it for me.
Phone goes into deep sleep normal and now the battery drain is back to normal.
Thank a lot for your work [emoji4]
Sent from my [device_name] using XDA-Developers Legacy app
adipurn said:
---------- Post added at 06:31 PM ---------- Previous post was at 06:03 PM ----------
[/COLOR]And now i have no delay incoming messages such as WA etc. and it looks like this fixed it for me.
Phone goes into deep sleep normal and now the battery drain is back to normal.
Thank a lot for your work [emoji4]
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
My pleasure!
I will be fixing the other issues and send to you test again. Thank's for helping me with the tests!
it works on my scv31, but there are some issues.
1. settings might not display the latest changes
2. can not reboot after flash a custom rom.
3. MTP is not work
450026937 said:
it works on my scv31, but there are some issues.
1. settings might not display the latest changes
2. can not reboot after flash a custom rom.
3. MTP is not work
Click to expand...
Click to collapse
Hi....
What do you mean, settings might not display the latest changes?
About the reboot problem, this can be a problem with the rom itself and not the TWRP. Can you give me the link of the rom you flashed? I need to reproduce the problem.
About the MTP, i'll try to fix it....
Maybe i will build an recovery specific for this model, just in case.
Thank's for your feedback anyway....
Regards....
Frankbrazillian said:
Hi....
What do you mean, settings might not display the latest changes?
About the reboot problem, this can be a problem with the rom itself and not the TWRP. Can you give me the link of the rom you flashed? I need to reproduce the problem.
About the MTP, i'll try to fix it....
Maybe i will build an recovery specific for this model, just in case.
Thank's for your feedback anyway....
Regards....
Click to expand...
Click to collapse
1. setting problem
i changed some settings and had some other operation, when i back to setting screen, i found all(some) setting are reset.
i can't remember the details, maybe just ignore this feedback.
2.reboot problem
i queued rom and kernel task, after all completed, the reboot is frozen in progress.
here is the rom i flashed.
https://forum.xda-developers.com/ga...om-aurora-g920-5-f-s-k-l-t-s8-port-3-t3640762
450026937 said:
1. setting problem
i changed some settings and had some other operation, when i back to setting screen, i found all(some) setting are reset.
i can't remember the details, maybe just ignore this feedback.
2.reboot problem
i queued rom and kernel task, after all completed, the reboot is frozen in progress.
here is the rom i flashed.
https://forum.xda-developers.com/ga...om-aurora-g920-5-f-s-k-l-t-s8-port-3-t3640762
Click to expand...
Click to collapse
I was talking with adipurn who are helping me with tests of the custom kernel and he said, they can flash custom rom with TWRP without any bootloop, but the TWRP are not working with aroma. I need to figured it out, what is necessary to get aroma working on TWRP.
The link of the rom you post, i believe is not for your model... It's for internacional model or some chinese variant. Thats why you got problems...
Untill i fix the compatibility with aroma, try to flash some custom firmware specific for your model SCV31.
As soon as i can fix the mentioned issues, i'll update the thread with the links for download.
Thank's again for your feedback.
Regards......
Frank.
Frankbrazillian said:
I was talking with adipurn who are helping me with tests of the custom kernel and he said, they can flash custom rom with TWRP without any bootloop, but the TWRP are not working with aroma. I need to figured it out, what is necessary to get aroma working on TWRP.
The link of the rom you post, i believe is not for your model... It's for internacional model or some chinese variant. Thats why you got problems...
Untill i fix the compatibility with aroma, try to flash some custom firmware specific for your model SCV31.
As soon as i can fix the mentioned issues, i'll update the thread with the links for download.
Thank's again for your feedback.
Regards......
Frank.
Click to expand...
Click to collapse
Actually the aurora rom work for most model if you flash the right kernel, and i am using it now. ( i reboot device by force )
I can't post outside links, cause i'm new here.
The rom and kernel is downloaded from other post by aurora team( not in xda ),and scv31 is in the support list.
450026937 said:
Actually the aurora rom work for most model if you flash the right kernel, and i am using it now. ( i reboot device by force )
I can't post outside links, cause i'm new here.
The rom and kernel is downloaded from other post by aurora team( not in xda ),and scv31 is in the support list.
Click to expand...
Click to collapse
Don't worry... I think i already know how to get the Aroma installer working with the TWRP recovery.
I will fix the mtp too.
Regards....
I'm going to give this a shot on an old Docomo SC-04G I have lying around. Any tips or suggestions for the process? I see you mentioned about the source code but I'm not sure what I would need to change before re-compiling it. I do not have any experience with making a kernel passive.
crzyone01 said:
I'm going to give this a shot on an old Docomo SC-04G I have lying around. Any tips or suggestions for the process? I see you mentioned about the source code but I'm not sure what I would need to change before re-compiling it. I do not have any experience with making a kernel passive.
Click to expand...
Click to collapse
Hi crzyone... Are you on Nougat already? Did you know how to extract the boot.img and recovery.img from stock rom? If you are, please send me this 2 images to i edit to you be able to boot, after flash the TWRP....
Regards....
Yes, that device is on 7.0 already. 7.0/SC04G0MU1CQF1. No, I don't know how to extract the stock boot.img or recovery.img. Trying to find some instructions on the forums right now.
crzyone01 said:
Yes, that device is on 7.0 already. 7.0/SC04G0MU1CQF1. No, I don't know how to extract the stock boot.img or recovery.img. Trying to find some instructions on the forums right now.
Click to expand...
Click to collapse
That's ok! I will download the rom and extract the images.
After, i'll send to you ok?
Regards....
crzyone01 said:
Yes, that device is on 7.0 already. 7.0/SC04G0MU1CQF1. No, I don't know how to extract the stock boot.img or recovery.img. Trying to find some instructions on the forums right now.
Click to expand...
Click to collapse
Ok... Here is the link to download the stock kernel and stock recovery in case the Twrp won't work on your model... This is specific for the SC-04G model on Nougat.
Kernel:-
https://drive.google.com/file/d/1gEh32YnXxJk5qWgT4WPVtX3vjRGMxivQ/view?usp=drivesdk
Recovery:-
https://drive.google.com/file/d/1X0hRIUgZBKk4PuRLtPrETqFRG3cyFNaq/view?usp=drivesdk
First flash the TWRP recovery with Odin and after flashed, the phone will boot. Don't let the device restart to System.... Put the phone in recovery mode, (Power button + home + volume up). Swipe to allow changes to system. After put the phone in download mode and flash the "modified" stock kernel to be able to boot.
Reboot the device and you are ready to go...
Let me know if worked for you....
I will be uploading an new Twrp version, as soon as i fix the issues..
Press the thanks button if helped and enjoy....

[ROM][9][OFFICIAL] LineageOS 16.0 for Razer Phone

Code:
[COLOR="Blue"]#include <std_disclaimer.h>[/COLOR]
[COLOR="Blue"]/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/[/COLOR]
Detailed installation instructions:
Install LineageOS on cheryl
Download link:
LineageOS Downloads
Recommended Google Apps package:
MindTheGapps (mirror) (choose ARM64 as Platform and 9.0 as Android)
Official root addon and weather provider
LineageOS Extras
Changelog:
Changes for cheryl
Bug reports:
How to submit a bug report
LineageOS GitLab
Known bugs:
- Can't switch FPS (defaults to 120)
- Can't switch screen resolution (defaults to 2560x1440)
Donate to support development:
Donate via PayPal to javelinanddart
Donate via PayPal to mikeioannina
Special thanks to @Exelios for donating a device to @mikeioannina!
XDA:DevDB Information
LineageOS 16.0 for Razer Phone (cheryl), ROM for the Razer Phone
Contributors
javelinanddart, mikeioannina
Source Code: https://github.com/LineageOS
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
ROM Firmware Required: Recommended 8.1 - MR2 OPM1.171019.011-RZR-180803.6033
Based On: LineageOS
Version Information
Status: Nightly
Created 2019-06-12
Last Updated 2019-08-19
Thanks for giving credits for having spent 800 Euro to donate a device to mikeioannina
Will this get security updates?
Ok, stupid question
I have had several Android phones and have rooted some of them.
Can someone clarify the installation instructions if coming from a completely stock phone.
Step 1. is about as clear as mud. Latest img, are we talking about a TWRP img???
Do you know if the audio bug during calls will be fixed and do you think you will be able to control the fps via the settings menu or something at some point?
You've no idea how happy I was to see this @javelinanddart !
I've posted the ROM on the subreddit https://www.reddit.com/r/razerphone...able/?utm_medium=android_app&utm_source=share and will post on insider also so as many people as possible will see it.
SeriousFlash said:
Will this get security updates?
Click to expand...
Click to collapse
I plan to update this fairly regularly.
mcapozzi said:
I have had several Android phones and have rooted some of them.
Can someone clarify the installation instructions if coming from a completely stock phone.
Step 1. is about as clear as mud. Latest img, are we talking about a TWRP img???
Click to expand...
Click to collapse
Did you check the download folder? There are img files in the download folder.
eoghan2t7 said:
Do you know if the audio bug during calls will be fixed and do you think you will be able to control the fps via the settings menu or something at some point?
Click to expand...
Click to collapse
We want to have both of those fixed soon, but we're focusing on earpiece right now since that is more important.
120fps mode is default and works fine?
zuzamen22 said:
120fps mode is default and works fine?
Click to expand...
Click to collapse
As far as I can tell, yes.
I assume boot.img and system zip can be flashed from TWRP?
javelinanddart said:
I plan to update this fairly regularly.
Did you check the download folder? There are img files in the download folder.
We want to have both of those fixed soon, but we're focusing on earpiece right now since that is more important.
Click to expand...
Click to collapse
No worries mate thank for getting back to me I'll hold of for now until the earpiece issue is fixed the default at 120fps doesn't bother me that much. Also great work so far you might be the very person that keeps this phone alive since razer have stopped working on it from what I have seen.
eoghan2t7 said:
No worries mate thank for getting back to me I'll hold of for now until the earpiece issue is fixed the default at 120fps doesn't bother me that much. Also great work so far you might be the very person that keeps this phone alive since razer have stopped working on it from what I have seen.
Click to expand...
Click to collapse
Credit where credit's due: mikeioannina did a large majority of the work. I just happened to make the thread since I have been working with him.
Flashed boot.img, reboot recovery, factory reset, install zip fails with Error 255 (latest TWRP booted from fastboot, not installed).
Any ideas?
Peace
Earpiece bug is fixed, that means there are no major bugs left.
chris5s said:
Flashed boot.img, reboot recovery, factory reset, install zip fails with Error 255 (latest TWRP booted from fastboot, not installed).
Any ideas?
Peace
Click to expand...
Click to collapse
Did you flash TWRP? Or did you flash the img in the folder?
javelinanddart said:
Did you flash TWRP? Or did you flash the img in the folder?
Click to expand...
Click to collapse
I booted TWRP from fastboot (without flashing it) and flashed the boot.img from the folder.
chris5s said:
I booted TWRP from fastboot (without flashing it) and flashed the boot.img from the folder.
Click to expand...
Click to collapse
I wasn't aware fastboot boot worked on cheryl. In any case, did my instructions say to boot TWRP? Flash the lineage boot.img in that folder with fastboot and then reboot to recovery from fastboot. Then you'll be in Lineage Recovery where you can sideload the ROM.
Yes, fastboot boot works, obviously, or I wouldn't be able to do it. Let's see then...
mikeioannina said:
Earpiece bug is fixed, that means there are no major bugs left.
Click to expand...
Click to collapse
Speaking of, there's a new build with that fixed up now. Enjoy!
No sdcard detected?

Categories

Resources