[TWRP][HOW-TO]Samsung Galaxy A31 SM-A315G - General Questions and Answers

Hello everyone! I have owned this phone for going on 9 months now and I have had it rooted ever since I bought my SM-A315G but have tried countless times to port TWRP or just compile it myself. The outcome is inevitably failure... So I am reaching out to the world for help and any help that is received would be a blessing

Also when setting up the BoardConfig.mk file, how do you get the amounts for the variables BOARD_SUPER_PARTITION_SIZE, BOARD_GOOGLE_DYNAMIC_PARTITIONS_SIZE, BOARD_SUPER_PARTITION_ERROR_LIMIT?!?! I am lost!!

Also when setting up the BoardConfig.mk file, how do you get the amounts for the variables BOARD_SUPER_PARTITION_SIZE, BOARD_GOOGLE_DYNAMIC_PARTITIONS_SIZE, BOARD_SUPER_PARTITION_ERROR_LIMIT?!?! I am lost!!
[/QUOTE]
those thing are optional .. this is what happen if you follow a compiling guide from one source ...
i recommend compiling TWRP without changing parameter just to make sure you have properly setup your working directory

nwhitfield86 said:
Hello everyone! I have owned this phone for going on 9 months now and I have had it rooted ever since I bought my SM-A315G but have tried countless times to port TWRP or just compile it myself. The outcome is inevitably failure... So I am reaching out to the world for help and any help that is received would be a blessing
Click to expand...
Click to collapse
Hey man, this is going to make me sound like a d**k and I know this is where you ask the questions, but how did you root the A315G? I'm not an expert but I got one sitting round and thought I might put it to use, starting by rooting it.

Thread would be nice. Root, twrp.. anything

Bon7 said:
Thread would be nice. Root, twrp.. anything
Click to expand...
Click to collapse
I am hard at work right at this moment on this A31 project. Hopefully soon...

compiling TWRP from source is basically 50% installing TWRP system depedencies 50% reading stack overflow troubleshooting guide
you need to familiarize your self with terminal command like mkdir,ls,apt-get ..etc

ineedroot69 said:
compiling TWRP from source is basically 50% installing TWRP system depedencies 50% reading stack overflow troubleshooting guide
you need to familiarize your self with terminal command like mkdir,ls,apt-get ..etc
Click to expand...
Click to collapse
I'm no stranger to the Linux command line, I ran Ubuntu for nearly 5 years, but I am a stranger to rooting and flashing mobile devices.

6sxtc6 said:
I'm no stranger to the Linux command line, I ran Ubuntu for nearly 5 years, but I am a stranger to rooting and flashing mobile devices.
Click to expand...
Click to collapse
if im not misktaken i think ubuntu has pre installed adb so you can just type " man adb " or " adb -help " for it to show all the possible commands also for rooting Magisk is way togo

6sxtc6 said:
Hey man, this is going to make me sound like a d**k and I know this is where you ask the questions, but how did you root the A315G? I'm not an expert but I got one sitting round and thought I might put it to use, starting by rooting it.
Click to expand...
Click to collapse
Root with magisk

I have rooted my A31 with Magisk. There are lot of guides, you can scull in XDA. As bank and other applications wants none rooted devices. Though it is possible to hide root I do not want that. For. Other uses I have lenovo tab 8 FHD root etc.

hello everyone there is still no twrp for A31???

Gollo99 said:
hello everyone there is still no twrp for A31???
Click to expand...
Click to collapse
I'm trying to do it, but there is no help of anyone

ZModder said:
I'm trying to do it, but there is no help of anyone
Click to expand...
Click to collapse
create a telegram group and expand the community and help each other

ZModder said:
I'm trying to do it, but there is no help of anyone
Click to expand...
Click to collapse
I'll make a telegram group and send the link to join

Gollo99 said:
I'll make a telegram group and send the link to join
Click to expand...
Click to collapse
Better make an Discord One, also XDA doesn't allow external links

ZModder said:
Better make an Discord One, also XDA doesn't allow external links
Click to expand...
Click to collapse
the twrp you did is working now? or what is missing to make it work?

Gollo99 said:
the twrp you did is working now? or what is missing to make it work?
Click to expand...
Click to collapse
Nope, {Mod edit}
I was thinking on making a Device Tree based on the A32x one

ZModder said:
Nope, {Mod edit}
I was thinking on making a Device Tree based on the A32x one
Click to expand...
Click to collapse
A32 already has twrp, only A31 is missing

Gollo99 said:
A32 already has twrp, only A31 is missing
Click to expand...
Click to collapse
Refresh: The most similar Device I found is A41, still searching

Related

[Q] I want to build CyanogenMod 10 for my Samsung Galaxy Chat B5330 myself. Help!

Okay so I've bought a samsung galaxy chat B5330 device back in feb'2013. Don't ask me why cause I conciously bought it. So I realised after searching for 6 months that there is no interest of developers in this device. so I have taken up the initiative to 1) Build CM 10, 2) Port CWM, 3) Root the device myself. However I don't have much idea about building android. I've rooted and flashed Custom recovery n ROMs to my dad's phone before and I'm a geek so I learn things quickly about computers n phones. So I'm nor a complete newbie neither a Master developer. Therefore I need help of those devlopers who will be kind enough not to discourage me. Anyone can root a device which is more popular because it gets vulnarable too quickly so there is no point in telling me that "you should have bought a device which has developer support". I am interested to be a developer myself n that challenge is really so tempting to me. So here are my questions which I don't have exact idea about.
1) I have a computer of the config -> AMD fx 6100 hexacore buldozer 3.3 GHz/4 GB RAM/500 GB HDD/Windows7(32) & Ubnuntu 13.04(64). Can I do the job of building roms from the source with this config in the first place?
2) Does galaxy chat B5330 support 'fastboot'? if yes then How can I boot into fastboot mode? I've tried with adb 'reboot-bootloader' but the device just restarted normally. So I don't know How can I get into the fastboot mode?
3) CM developers are really kind enough that they have put alot effort into making the wiki. I've got precious informations about building android from source and all. But I have a confusion. There was mentioned fastboot is necessery for building CM. So if my phone does not have fastboot should it mean that I can't build CM for my device at all?
4) How much data do I have to download? Do I need to be connected to the internet always while editing local file? n If I use 'repo sync' to update the code always won't my editings get overwritten by stock code again?
so these are few basic questions I have for now. I know I might not get any response at all. But there's no harm in trying. thanks
Update1
ranchoabc said:
Okay so I've bought a samsung galaxy chat B5330 device back in feb'2013. Don't ask me why cause I conciously bought it. So I realised after searching for 6 months that there is no interest of developers in this device. so I have taken up the initiative to 1) Build CM 10, 2) Port CWM, 3) Root the device myself. However I don't have much idea about building android. I've rooted and flashed Custom recovery n ROMs to my dad's phone before and I'm a geek so I learn things quickly about computers n phones. So I'm nor a complete newbie neither a Master developer. Therefore I need help of those devlopers who will be kind enough not to discourage me. Anyone can root a device which is more popular because it gets vulnarable too quickly so there is no point in telling me that "you should have bought a device which has developer support". I am interested to be a developer myself n that challenge is really so tempting to me. So here are my questions which I don't have exact idea about.
1) I have a computer of the config -> AMD fx 6100 hexacore buldozer 3.3 GHz/4 GB RAM/500 GB HDD/Windows7(32) & Ubnuntu 13.04(64). Can I do the job of building roms from the source with this config in the first place?
2) Does galaxy chat B5330 support 'fastboot'? if yes then How can I boot into fastboot mode? I've tried with adb 'reboot-bootloader' but the device just restarted normally. So I don't know How can I get into the fastboot mode?
3) CM developers are really kind enough that they have put alot effort into making the wiki. I've got precious informations about building android from source and all. But I have a confusion. There was mentioned fastboot is necessery for building CM. So if my phone does not have fastboot should it mean that I can't build CM for my device at all?
4) How much data do I have to download? Do I need to be connected to the internet always while editing local file? n If I use 'repo sync' to update the code always won't my editings get overwritten by stock code again?
so these are few basic questions I have for now. I know I might not get any response at all. But there's no harm in trying. thanks
Click to expand...
Click to collapse
I have acquired the source code for my device from samsung. Now I just need to port the board configs to the CM10 source.
ranchoabc said:
I have acquired the source code for my device from samsung. Now I just need to port the board configs to the CM10 source.
Click to expand...
Click to collapse
nce going man
"Devs Not Interested...."
I don't know whether some people are still talking about this device.
I thought everybody started throwing it and getting his newer one.
Niral.DMello said:
How did you manage to do that? You wrote to them and they gave it? If thats the case you must have some special powers. I'm impressed.
Click to expand...
Click to collapse
If I were not wrong, you could get the source from ://opensource.s*msung.com (*can't post yet )
My Bad English....
excellent
: Bueno:: Bueno: wouldnt see anything wrong in my galaxy cm10 ch @ t gt-B5330 : Bueno:: Bueno:
I've got a working CWM. Looking forward to porting a newer version.
I've got my hands on a working cwm (somehow it did) for b5330. Now looking forward to porting CWM 6 from cm source. I just have too slow bandwidth for cm source syncing. So let's see how it goes.
ranchoabc said:
I've got my hands on a working cwm (somehow it did) for b5330. Now looking forward to porting CWM 6 from cm source. I just have too slow bandwidth for cm source syncing. So let's see how it goes.
Click to expand...
Click to collapse
I really hope you succeed and make it working! Good luck mate!
TheUnknownThing said:
I really hope you succeed and make it working! Good luck mate!
Click to expand...
Click to collapse
Can you give me some directions? I'm trying my best to learn it.
Sent from my GT-B5330 using xda app-developers app
ranchoabc said:
Can you give me some directions? I'm trying my best to learn it.
Sent from my GT-B5330 using xda app-developers app
Click to expand...
Click to collapse
The best way to start is to use another Rom as base (get permission first) then start tweaking it with scripts, apps and build.prop tweaks. Once you start to get familiar with the basics, start experimenting with different tweaks. Since you are going to create a Cyanogenmod 10 Rom from scratch, I give you best of luck and hope many people will use it!
FINALLY!
ported
I always support you sir!
Sent from my GT-B5330 using xda app-developers app
REALLY for GT B5330
patraanjan23 said:
ported
Click to expand...
Click to collapse
REALLY ??
when date to release this ROM ?
sorry my bad english language..
[email protected] said:
REALLY ??
when date to release this ROM ?
sorry my bad english language..
Click to expand...
Click to collapse
I'm currently working on it. It still does not support audio/bluetooth/wifi/phone/usb nothing. It just supports full touch n can run games. You can't use it for calls/internet! I just sideloaded few apk files via adb. So it ran them smoothly. N don't call me sir please. I hate formalities.. just chill
Sent from my GT-B5330 using XDA Premium 4 mobile app
patraanjan23 said:
I'm currently working on it. It still does not support audio/bluetooth/wifi/phone/usb nothing. It just supports full touch n can run games. You can't use it for calls/internet! I just sideloaded few apk files via adb. So it ran them smoothly. N don't call me sir please. I hate formalities.. just chill
Sent from my GT-B5330 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
how did you port cm to your device
i also have Samsung star pro and have made a manufacturer based stock rom
my device is samsung star pro
gamersam16 said:
how did you port cm to your device
i also have Samsung star pro and have made a manufacturer based stock rom
my device is samsung star pro
Click to expand...
Click to collapse
I am building from source. it's teadious job. but you sure can try
device tree
by source do you mean the android source(10gb +)
i am also trying the same thing but my source is now syncing
could you help me with making my device tree.
and what else do i need apart from the the device tree
gamersam16 said:
by source do you mean the android source(10gb +)
i am also trying the same thing but my source is now syncing
could you help me with making my device tree.
and what else do i need apart from the the device tree
Click to expand...
Click to collapse
Sure ask whatever you need. But I suggest you do thorough research n a lot of forum searching before you ask anything. I've been digging for 1 year collecting info n learning things.
Sent from my GT-B5330 using XDA Premium 4 mobile app
Cyanogenmod for B5330
HERE COMES CYANOZANE
GO for it n test it yourself!
help
patraanjan23 said:
HERE COMES CYANOZANE
GO for it n test it yourself!
Click to expand...
Click to collapse
could you guide me in this process as i have to build the device tree from scratch and am having difficulties in finding the correct info.
how did you start to look for info in the boot.img
help needed
if possible could you provide a basic guide minimum stuff to help
thanks
gamersam16 said:
could you guide me in this process as i have to build the device tree from scratch and am having difficulties in finding the correct info.
how did you start to look for info in the boot.img
help needed
if possible could you provide a basic guide minimum stuff to help
thanks
Click to expand...
Click to collapse
read this thotoughly.

Copperhead OS for Sailfish

Can anybody build the CopperheadOS for our Pixel? Maybe with a small Donation?
https://copperhead.co/android/docs/building
If it is not allowed to ask such things here, please send me a PM.
Greetings
what does this include? and your in the wrong thread
robotnikz said:
Can anybody build the CopperheadOS for our Pixel? Maybe with a small Donation?
https://copperhead.co/android/docs/building
If it is not allowed to ask such things here, please send me a PM.
Greetings
Click to expand...
Click to collapse
But they have a download link for Pixel on their website: https://copperhead.co/android/downloads
Is it because they say: "available via purchase soon"?
uodii said:
But they have a download link for Pixel on their website:https://copperhead.co/android/downloads
Is it because they say: "available via purchase soon"?
Click to expand...
Click to collapse
You need a login to download it. I assume you only get a login after purchasing a license from them.
uodii said:
But they have a download link for Pixel on their website: https://copperhead.co/android/downloads
Is it because they say: "available via purchase soon"?
Click to expand...
Click to collapse
Yes you have to purchase it or build it yourself. But I am not able to build it myself
robotnikz said:
Yes you have to purchase it or build it yourself. But I am not able to build it myself
Click to expand...
Click to collapse
If they are selling security and the OS I dou t that they allow anyone to build their software. If you can build from their sources I dou t it includes any of their additional software and is pro ably just bare android
devilsadidas said:
If they are selling security and the OS I dou t that they allow anyone to build their software. If you can build from their sources I dou t it includes any of their additional software and is pro ably just bare android
Click to expand...
Click to collapse
No. It is allowed to build from their sources.
robotnikz said:
No. It is allowed to build from their sources.
Click to expand...
Click to collapse
I tried to build it two times. The first built with no errors but the files weren't in zip format and I couldn't figure how to flash them. My second failed because I still need to get by build environment set up again. I just re-installed Linux a few days. I just switched to Linux Mint permanently a few weeks ago from Windows so I've been dealing with the transition. I have the source downloaded so I'll be tinkering with that when I have time. Hopefully something good will happen in a few days on my end. Till then this thread needs to be moved to the Q&A section. I'm glad you threw the question out there and hopefully others will join the party.
Misterxtc said:
I tried to build it two times. The first built with no errors but the files weren't in zip format and I couldn't figure how to flash them. My second failed because I still need to get by build environment set up again. I just re-installed Linux a few days. I just switched to Linux Mint permanently a few weeks ago from Windows so I've been dealing with the transition. I have the source downloaded so I'll be tinkering with that when I have time. Hopefully something good will happen in a few days on my end. Till then this thread needs to be moved to the Q&A section. I'm glad you threw the question out there and hopefully others will join the party.
Click to expand...
Click to collapse
Thank you very much for your effort. I am also on Mint but I am not familiar with building ROMs. Maybe I'll have a look at it someday
robotnikz said:
Thank you very much for your effort. I am also on Mint but I am not familiar with building ROMs. Maybe I'll have a look at it someday
Click to expand...
Click to collapse
My guess is that they don't mind private builds. However, I would doubt they would be okay with a build being posted in a forum like this. Also, from reading their website it appears when you pay, you're getting the support of the devs directly as well as their updates pushed directly to your phone without having to do new builds like you will without a license. I could be slightly off but I think that was the gist of it.
robotnikz said:
Thank you very much for your effort. I am also on Mint but I am not familiar with building ROMs. Maybe I'll have a look at it someday
Click to expand...
Click to collapse
Same here. I used to build ROMs for Samsung and AOSP is pretty foreign to me but I am learning. It's quite a bit for me between real life, a new OS and AOSP. It's cool though, my 40+ year old brain was getting a bit stale.... Anyway I tried again today for a few hours and made some progress. I successfully compiled a generic build but when I try sailfish I get a user error and it tells me to change user. Seeing that the official build isn't available for purchase I think they blocked the build process some way. I can compile Pure Nexus no problem so it's not my set up, probably their directions. But on the other hand it could be on my end. Either way I'll still be looking into it.
Is there a way to compile this os with gapps already built in for personal use. After building and flashing it on my phone I found the lack of certain Google services very annoying. Flashing gapps after installing the os didn't work. Also if you're on T-Mobile no data connection unless you change settings in apn, I wonder if flashing stock vendor img would help with that.
robotnikz said:
Can anybody build the CopperheadOS for our Pixel? Maybe with a small Donation?
https://copperhead.co/android/docs/building
If it is not allowed to ask such things here, please send me a PM.
Greetings
Click to expand...
Click to collapse
did you did it, can you instruct this ?
robotnikz said:
Can anybody build the CopperheadOS for our Pixel? Maybe with a small Donation?
https://copperhead.co/android/docs/building
If it is not allowed to ask such things here, please send me a PM.
Greetings
Click to expand...
Click to collapse
Hello,
I have successfully found a way to build sailfish cos , if you are interested .
ksuhiyp said:
Hello,
I have successfully found a way to build sailfish cos , if you are interested .
Click to expand...
Click to collapse
Would be great. I'm very interested.
ksuhiyp said:
Hello,
I have successfully found a way to build sailfish cos , if you are interested .
Click to expand...
Click to collapse
I'm also very interested! Tell how you did it
Pixel 2 CopperheadOS
Anyone have tryied to compile from source copperhead for Pixel2 phone?
I am also very interested! Could you please share? May be for a donation....
ksuhiyp said:
Hello,
I have successfully found a way to build sailfish cos , if you are interested .
Click to expand...
Click to collapse

[DEV] Work in progress LineageOS 16.0 for Nubia Z18 NX606J

Hey,
over the last few weeks I've used my Christmas vacation to start working on the Z18 again. However since work is coming up again soon, I won't have that much time (and nerves) for working on this properly until the end of summer probably.
That's why I want to share my codebase with you, so maybe someone can pick up where I left off (and really, it's nothing big I did. I merely set up the device tree and made it compile more or less. It doesn't boot because of avb and I'm not aware of any way around that)
The device tree can be found here. It's still using a prebuilt kernel but I'll work on fixing the kernel source to a compileable state next.
If anyone wants to get involved, help or pick this up, feel free to do so. The community and I are always happy for help.
Explanations of what the next steps would be can be found below.
Again, do not install this unless you want to softbrick! It's not useable at all and will currently fail at boot verification!!
So what's next?
Fixing avb2.0: This isn't an easy task. How I understand, it either needs the official keys or I failed at signing the build with test keys from LineageOS. Either way this is the first step and top priority so the device boots again at least
EDIT: It seems that https://github.com/rockchip-linux/tools/tree/master/linux/Linux_SecurityAVB might be of some use (given that youyim123, the guy who also did the TWRP for Z18 starred this project). However I don't speak Chinese and putting my device in the hands of Google Translate is risky.. so anyone willing to translate, I'm open for DMs or anything
EDIT2: avb is working, so we can move on to breaking our system now (yay)
Hi, Its a long time i am waiting for a suitable rom to be installed in my Nubia Z18. Can you tell me when this rom can get out? Your effort is highly appreciated.
Zahidul Hasan said:
Hi, Its a long time i am waiting for a suitable rom to be installed in my Nubia Z18. Can you tell me when this rom can get out? Your effort is highly appreciated.
Click to expand...
Click to collapse
Sorry but I can't give you any ETA on this. I'm working on it in my little free time and I'm not even sure what I'm really doing with this. The source is all on the GitHub repo I linked in the OP though, so if you're hesitant and want to get a working ROM, just get involved. It's really not that hard, all it requires is time, patience and lots of googling for weird error messages and further features you want to implement.
You can mostly follow the guide here https://wiki.lineageos.org/devices/bacon/build just replace the bacon command with nx606j-eng and you're good to go and build this yourself. Maybe you can figure out avb since I can't do it by myself, so any help is appreciated.
Dear Sir, Thank you so much for your reply. Last day i tried to push a TWRP from here TWRP installed, but failed to install any gaapps. although process said success.
curtisy said:
Sorry but I can't give you any ETA on this. I'm working on it in my little free time and I'm not even sure what I'm really doing with this. The source is all on the GitHub repo I linked in the OP though, so if you're hesitant and want to get a working ROM, just get involved. It's really not that hard, all it requires is time, patience and lots of googling for weird error messages and further features you want to implement.
You can mostly follow the guide here https://wiki.lineageos.org/devices/bacon/build just replace the bacon command with nx606j-eng and you're good to go and build this yourself. Maybe you can figure out avb since I can't do it by myself, so any help is appreciated.
Click to expand...
Click to collapse
Zahidul Hasan said:
Dear Sir, Thank you so much for your reply. Last day i tried to push a TWRP from here TWRP installed, but failed to install any gaapps. although process said success.
Click to expand...
Click to collapse
Yeah, that thread, if most of the development threads on the Z18 so far, was made by me. I also mentioned in post #3 that flashing Gapps doesn't seem to be working and I was trying to ask the GApps team for help. I never got an answer though, so I stopped looking into this and instead focused my effort on providing a working Lineage build for everyone. The result of that is this thread here
Hey curtisy, are u building lineage OS forZ18 right now?
im chinese and can help to test this rom if need tester, I've a Z18 on hand rite now and still finding a solution to solve the "GAPP" problem
try to flash GAPP package but no luck!
hope the Lineage can release soon for testing~tks!
sky104hk said:
Hey curtisy, are u building lineage OS forZ18 right now?
im chinese and can help to test this rom if need tester, I've a Z18 on hand rite now and still finding a solution to solve the "GAPP" problem
try to flash GAPP package but no luck!
hope the Lineage can release soon for testing~tks!
Click to expand...
Click to collapse
I'm not building it right now. As I said, the project is pretty much on standby for anyone to take it where I left it but I'm still working on it sometimes and try to get it to work. The big issue is that the Z18 uses avb2 which I'm not sure how to bypass and which is also why the Lineage I built will not boot correctly. I don't want to seem rude saying this over and over again, but rather than testing, it would help if I had some more people to get involved. Just download the source and follow the instructions I mentioned in post#4. Progress will be much faster if there was a team behind this and not only one guy who doesn't know what he's doing most of the time. Also getting support in the Lineage IRC is tedious because I can't be online 24/7, so having some more people nag about avb2 there would also be of huge help.
And when there finally is something to test, not only will you be satisfied by your own achievement, but you can also be the initial tester since you built the ROM yourself.
PS: The Gapps issue is probably because of avb2 as well, however I'm not too sure about that
curtisy said:
I'm not building it right now. As I said, the project is pretty much on standby for anyone to take it where I left it but I'm still working on it sometimes and try to get it to work. The big issue is that the Z18 uses avb2 which I'm not sure how to bypass and which is also why the Lineage I built will not boot correctly. I don't want to seem rude saying this over and over again, but rather than testing, it would help if I had some more people to get involved. Just download the source and follow the instructions I mentioned in post#4. Progress will be much faster if there was a team behind this and not only one guy who doesn't know what he's doing most of the time. Also getting support in the Lineage IRC is tedious because I can't be online 24/7, so having some more people nag about avb2 there would also be of huge help.
And when there finally is something to test, not only will you be satisfied by your own achievement, but you can also be the initial tester since you built the ROM yourself.
PS: The Gapps issue is probably because of avb2 as well, however I'm not too sure about that
Click to expand...
Click to collapse
OK I understand your situation, probably not as many ppl own this phone at all...there are many ppl doing developement in Oneplus 6 which I actually own that phone, the Z18 is actually my fd, therefore I cannot keep the phone long...just wonder if there have more ppl involve to this...the "avb2" I'll check to see if anyone on the net doing this, haha! the only solution is more developer involve to this phone!
sky104hk said:
OK I understand your situation, probably not as many ppl own this phone at all...there are many ppl doing developement in Oneplus 6 which I actually own that phone, the Z18 is actually my fd, therefore I cannot keep the phone long...just wonder if there have more ppl involve to this...the "avb2" I'll check to see if anyone on the net doing this, haha! the only solution is more developer involve to this phone!
Click to expand...
Click to collapse
As a quick update for everyone here as well because the discussion has somewhat shifted to the TWRP thread I worked around avb now. I also have a system.img but it's not working as of yet. If you want to get stuck in a boot loop, feel free to ask here and I'll attach the files in the OP for you to try and modify. Without building from source, there's probably not that much you can do though.
Hint: try booting phh-treble GSI first.
j1505243 said:
Hint: try booting phh-treble GSI first.
Click to expand...
Click to collapse
Thanks! Going to try that later but out of curiosity, isn't the reason this phone doesn't have google services out of the box that it wasn't certified by google? If so it's not treble compatible either right? Or am I missing something?
curtisy said:
Thanks! Going to try that later but out of curiosity, isn't the reason this phone doesn't have google services out of the box that it wasn't certified by google? If so it's not treble compatible either right? Or am I missing something?
Click to expand...
Click to collapse
An uncertified device can be freely Treble compatible, so it's really worth to try. Remember to join the Telegram chat of phh-treble if you happen to need some quicker response.
j1505243 said:
An uncertified device can be freely Treble compatible, so it's really worth to try. Remember to join the Telegram chat of phh-treble if you happen to need some quicker response.
Click to expand...
Click to collapse
Awesome. Thank you for the heads up! Might be worth to invest some time in this again then.
j1505243 said:
Hint: try booting phh-treble GSI first.
Click to expand...
Click to collapse
Alright, I tried and I don't think it's working. I get stuck in a bootloop again which repeats every few seconds.
Since I got Lineage compiled, wouldn't it be a better idea to just get that working and be done with it?
Any help is much appreciated!
Hello curtisy, I wish you good luck with your work on the Nubia Z18. I'd love to help you, but unfortunately I have no skills at android developing. Anyway... in case you will get LineageOS to run, I'd be very happy to post an instruction for the installation on my website chinahandys.net. Liebe Grüße, Joscha
curtisy said:
Alright, I tried and I don't think it's working. I get stuck in a bootloop again which repeats every few seconds.
Since I got Lineage compiled, wouldn't it be a better idea to just get that working and be done with it?
Any help is much appreciated!
Click to expand...
Click to collapse
Booting non-GSI will only be tougher :/ Capture deep level logs and inspect that. If you need help, join a phh-treble chat somewhere.
j1505243 said:
Booting non-GSI will only be tougher :/ Capture deep level logs and inspect that. If you need help, join a phh-treble chat somewhere.
Click to expand...
Click to collapse
Yeah that's actually the same point I stopped at with Lineage. Got it to boot to the Nubia logo, captured logs and I can see some weird errors. But getting replies on IRC is a pain, especially if I can only be online for 2hrs a day. That's why I had hoped someone would pick this up but to no avail. Guess I'll have to look into it again and experiment.
Thanks for your help so far! If there's any more tips you want to share, I'm always open for them
furiousjay said:
Hello curtisy, I wish you good luck with your work on the Nubia Z18. I'd love to help you, but unfortunately I have no skills at android developing. Anyway... in case you will get LineageOS to run, I'd be very happy to post an instruction for the installation on my website chinahandys.net. Liebe Grüße, Joscha
Click to expand...
Click to collapse
Hey, sure thing I actually know the site well and got the idea of getting a Z18 from your site. In case you know anyone that might be able to help with logs or anything, I'm always open for suggestions and help.
As a general rule of thumb, so far the process isn't exactly easy because it requires proprietary software. The issue is with boot verification, so to get around that, I rooted my phone with some Chinese Windows application (still trying to reverse that to get the actual keys..) then I could start flashing. The process is tedious though as every failure means reflashing the original rom as well as running the root tool again. I'll try to make it simpler and cross platform once the rom actually works. But it's still a long way to that point.
curtisy said:
Hey, sure thing I actually know the site well and got the idea of getting a Z18 from your site. In case you know anyone that might be able to help with logs or anything, I'm always open for suggestions and help.
As a general rule of thumb, so far the process isn't exactly easy because it requires proprietary software. The issue is with boot verification, so to get around that, I rooted my phone with some Chinese Windows application (still trying to reverse that to get the actual keys..) then I could start flashing. The process is tedious though as every failure means reflashing the original rom as well as running the root tool again. I'll try to make it simpler and cross platform once the rom actually works. But it's still a long way to that point.
Click to expand...
Click to collapse
Unfortunately I personally don't know somebody who has the skills to support you. I have included a call for support for your project in our review.

Trying to build LineageOS 15

So i am trying to build oreo for the tab 2 and i get this error
ninja: error: 'libsrv_init', needed by '/home/mighty/Los/out/target/product/espresso3g/obj/EXECUTABLES/pvrsrvinit_intermediates/pvrsrvinit.o', missing and no known rule to make it
i used this - https://github.com/TheWiggles/proprietary_vendor_samsung_espresso3g as the vendor
Any help?
Shoot wrong place can mods delete this extremely sorry
Mithil17 said:
Shoot wrong place can mods delete this extremely sorry
Click to expand...
Click to collapse
I asked mods to move this to GT2 General
Mithil17 said:
So i am trying to build oreo for the tab 2 and i get this error
ninja: error: 'libsrv_init', needed by '/home/mighty/Los/out/target/product/espresso3g/obj/EXECUTABLES/pvrsrvinit_intermediates/pvrsrvinit.o', missing and no known rule to make it
i used this - https://github.com/TheWiggles/proprietary_vendor_samsung_espresso3g as the vendor
Any help?
Click to expand...
Click to collapse
Any Tips For Solving No rule to make target?
Does anyone have any tips/techniques for resolving "No rule to make target" errors? I got the error: make: *** No rule to make target 'libsrv_init', needed by...
forum.xda-developers.com
These information probably will help you ↑
jjgvv said:
Any Tips For Solving No rule to make target?
Does anyone have any tips/techniques for resolving "No rule to make target" errors? I got the error: make: *** No rule to make target 'libsrv_init', needed by...
forum.xda-developers.com
These information probably will help you ↑
Click to expand...
Click to collapse
Already tried it, I'm building for Oreo and it didn't work. Tired of asking when Oreo so I decided to do it myself
Mithil17 said:
Already tried it, I'm building for Oreo and it didn't work. Tired of asking when Oreo so I decided to do it myself
Click to expand...
Click to collapse
you can see if this helps https://forum.xda-developers.com/t/android-oreo-8-0-lineage-15-0-dev-discussion.3697809/
graphics chip is same so may solve graphic problem that exsist
What is this?
GitHub - LineageOS/android_device_samsung_espresso-common
Contribute to LineageOS/android_device_samsung_espresso-common development by creating an account on GitHub.
github.com
jjgvv said:
What is this?
GitHub - LineageOS/android_device_samsung_espresso-common
Contribute to LineageOS/android_device_samsung_espresso-common development by creating an account on GitHub.
github.com
Click to expand...
Click to collapse
Not required espresso3g depends on espressowifi repo idk this might be for old versions
jjgvv said:
you can see if this helps https://forum.xda-developers.com/t/android-oreo-8-0-lineage-15-0-dev-discussion.3697809/
graphics chip is same so may solve graphic problem that exsist
Click to expand...
Click to collapse
I dunno error in getting is of pvrsrv
Mithil17 said:
I dunno error in getting is of pvrsrv
Click to expand...
Click to collapse
?
jjgvv said:
?
Click to expand...
Click to collapse
Nothing I will try mostly it won't work
Nothing seems to work can some of the devs help me? @Android-Andi @smart-t78
Sorry for ping
Mithil17 said:
Nothing seems to work can some of the devs help me? @Android-Andi @smart-t78
Sorry for ping
Click to expand...
Click to collapse
@Android-Andi is not seen in xda for a few months. @smart-t78 is not seen for a whole year.
Devs said farwell to Tab 2 a few months ago.
jjgvv said:
@Android-Andi is not seen in xda for a few months. @smart-t78 is not seen for a whole year.
Devs said farwell to Tab 2 a few months ago.
Click to expand...
Click to collapse
Andi made /e/ rom few months ago check the /e/ forums, other devs I don't think are there.
They told make Oreo yourself and I'm doing that atleast some help would be great
Mithil17 said:
Andi made /e/ rom few months ago check the /e/ forums, other devs I don't think are there.
They told make Oreo yourself and I'm doing that atleast some help would be great
Click to expand...
Click to collapse
You are making oreo or Pie? You said oreo but LineageOS 16 at the title is based on Pie.
jjgvv said:
You are making oreo or Pie? You said oreo but LineageOS 16 at the title is based on Pie.
Click to expand...
Click to collapse
Oh Frick I messed up title it is LineageOS 15 ie Oreo
in case oreo not work try pie, pie not work try q, and I dont think yr Device capable of building Android 11.
jjgvv said:
in case oreo not work try pie, pie not work try q, and I dont think yr Device capable of building Android 11.
Click to expand...
Click to collapse
Your device as in my pc or the tab! I can build nougat xD, but this isn't a problem of my pc...
Also the sources are huge to download
Mithil17 said:
Your device as in my pc or the tab! I can build nougat xD, but this isn't a problem of my pc...
Also the sources are huge to download
Click to expand...
Click to collapse
PC
jjgvv said:
PC
Click to expand...
Click to collapse
The error is of hardware/ti not my pc

Question Xiaomi 13 GSI

Hi! Has anyone tried to flash a GSI rom on Xiaomi 13? If yes how does it work?
Thanks in advance
Currently there is no GSI working on this model AFAIK. Wait for device specific ports instead.
---
EDIT: This is not true. See the replies below.
rikumi said:
Currently there is no GSI working on this model AFAIK. Wait for device specific ports instead.
Click to expand...
Click to collapse
Thank you for answer, I hope they'll arrive soon
what is important is the architecture not the model
Generic System Image (GSI) list
Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.
github.com
NOSS8 said:
what is important is the architecture not the model
Generic System Image (GSI) list
Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.
github.com
Click to expand...
Click to collapse
Have you tried any of these? Does it works on Xiaomi 13? Thank you in advance
Nope, I don't install gsi rom on my devices.
Snapdragon 8 Gen 1/2 ARM64(V9) - X86.
GSI on Xiaomi 12 Pro
after testing several Treble GSis, I finally found CherishOS. Most of them are not booting, or other issues (no mobile data, only calling, settings are crashing,....). Save your time and choose CherishOS. How I flashed it: 1. clean flash...
forum.xda-developers.com
They may have others with less bugs or updates.
NOSS8 said:
Nope, the does not install gsi rom on my devices.
Snapdragon 8 Gen 1/2 ARM64(V9) - X86.
GSI on Xiaomi 12 Pro
after testing several Treble GSis, I finally found CherishOS. Most of them are not booting, or other issues (no mobile data, only calling, settings are crashing,....). Save your time and choose CherishOS. How I flashed it: 1. clean flash...
forum.xda-developers.com
They may have others with less bugs or updates.
Click to expand...
Click to collapse
It seems that there are a lot of problems unfortunately yet... however thank you very much!
saluzzo997 said:
It seems that there are a lot of problems unfortunately yet... however thank you very much!
Click to expand...
Click to collapse
As written above, do research on devices with the same soc, One plus, Samsung etc.
There are surely some with little or no bug.
NOSS8 said:
As written above, do research on devices with the same soc, One plus, Samsung etc.
There are surely some with little or no bug.
Click to expand...
Click to collapse
Thank you!
I am using Project elixir for almost 2 weeks now. So far so good.
I suggest you dont flash it but instead usi it via DSU. Autobrightness is not working, fingerprint too. There are gcam ports wich are also compatible with our device. Battery life is better than miui. Even adding a card to google wallet works fine, until a reboot.
Lhunar said:
I am using Project elixir for almost 2 weeks now. So far so good.
I suggest you dont flash it but instead usi it via DSU. Autobrightness is not working, fingerprint too. There are gcam ports wich are also compatible with our device. Battery life is better than miui. Even adding a card to google wallet works fine, until a reboot.
Click to expand...
Click to collapse
Sorry but what do you mean with "use it via DSU"? What does DSU mean? Is there a tutorial for it? Thank you in advance!
saluzzo997 said:
Sorry but what do you mean with "use it via DSU"? What does DSU mean? Is there a tutorial for it? Thank you in advance!
Click to expand...
Click to collapse
You shouldve just used google to understand better. But basically its a subsystem method wich was implemented to allow a/b partition devices to be able to run gsis' for testing purposes, without the need of flashing and deleting the original os. Think of it as dualboot for android. The only thing is that if you're using it via dev settings, you dont have the choice of selecting what to boot, but your device will directly download google's official gsi (wich is not very functional and its ugly).
Thats why you just need to download the DSU Sideloader app from PlayStore. The app will do everything with a gsi of your choice if you follow the instructions.
The only thing wich is mandatory is that the BL of your device must be unlocked in order to use dsu.
There are videos on YT showing this. If you want to try the gsi I mentioned, download it from their website.
Lhunar said:
You shouldve just used google to understand better. But basically its a subsystem method wich was implemented to allow a/b partition devices to be able to run gsis' for testing purposes, without the need of flashing and deleting the original os. Think of it as dualboot for android. The only thing is that if you're using it via dev settings, you dont have the choice of selecting what to boot, but your device will directly download google's official gsi (wich is not very functional and its ugly).
Thats why you just need to download the DSU Sideloader app from PlayStore. The app will do everything with a gsi of your choice if you follow the instructions.
The only thing wich is mandatory is that the BL of your device must be unlocked in order to use dsu.
There are videos on YT showing this. If you want to try the gsi I mentioned, download it from their website.
Click to expand...
Click to collapse
Thank you very much for your explanation and sorry to have asked to you what DSU was, I just wanted to be sure that we were talking about the same thing, I'll give it a try!
saluzzo997 said:
Thank you very much for your explanation and sorry to have asked to you what DSU was, I just wanted to be sure that we were talking about the same thing, I'll give it a try!
Click to expand...
Click to collapse
No problem, I dont mind explaining, but there are pretty detailed articles, wich may enlighten you better than I can do it. Anyways, if/when you try it you'll really understand how much MIUI is ruining the experience of that pretty device. I was thinking about selling it 3 days after i got it, only because of that deprecated UI with stupid restrictions. I'm really glad i searched and tried stuff. Good luck!
Lhunar said:
No problem, I dont mind explaining, but there are pretty detailed articles, wich may enlighten you better than I can do it. Anyways, if/when you try it you'll really understand how much MIUI is ruining the experience of that pretty device. I was thinking about selling it 3 days after i got it, only because of that deprecated UI with stupid restrictions. I'm really glad i searched and tried stuff. Good luck!
Click to expand...
Click to collapse
Thank you very much, I hate MIUI too and I was doing the same thing selling this awesome phone because of that, thank you again!
Lhunar said:
No problem, I dont mind explaining, but there are pretty detailed articles, wich may enlighten you better than I can do it. Anyways, if/when you try it you'll really understand how much MIUI is ruining the experience of that pretty device. I was thinking about selling it 3 days after i got it, only because of that deprecated UI with stupid restrictions. I'm really glad i searched and tried stuff. Good luck!
Click to expand...
Click to collapse
Hi, sorry if I bother you, I've just tried with project elixir GSI using DSU sideloader, but I don't know why when I restart by clicking on notification it doesn't even boot on my GSI... I've installed the sideloader as root installation... I don't know why it's not working...
saluzzo997 said:
Hi, sorry if I bother you, I've just tried with project elixir GSI using DSU sideloader, but I don't know why when I restart by clicking on notification it doesn't even boot on my GSI... I've installed the sideloader as root installation... I don't know why it's not working...
Click to expand...
Click to collapse
Well I'm not using root. I gave permissions via adb and i have no problems. What rom chinese or global ? or maybe you're using something custom like xiaomi eu?
Lhunar said:
Well I'm not using root. I gave permissions via adb and i have no problems. What rom chinese or global ? or maybe you're using something custom like xiaomi eu?
Click to expand...
Click to collapse
Yeah, I'm on EU
saluzzo997 said:
Yeah, I'm on EU
Click to expand...
Click to collapse
Thats your problem. When I tried this on eu it wasnt working.
Lhunar said:
Thats your problem. When I tried this on eu it wasnt working.
Click to expand...
Click to collapse
Oh...what a bad luck... thank you very much for your help

Categories

Resources