• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Let's Get CM Onto Avant!

Not saying you're wrong - but the different specs are screen resolution - camera - possible different RIL (I think so) - Grand has FM while Avant doesn't - etc
Would it be possible to pick and choose the device sources? I mean getting camera files from one device and ril from another etc.? Would that work?
 
Would it be possible to pick and choose the device sources? I mean getting camera files from one device and ril from another etc.? Would that work?
Well we have source of this device... *cough cough* (yeah, we could pull from there. I was just pointing out. The screen is the most important difference)
 
This is a little off topic but I figured I could trust you 2 on this thread. Can one of you send me your SecSettings.apk located in /system/priv-app? I messed around with some of the pngs in it and now I can't open the settings on my phone. I tried to put everything back but it didn't work and I was too stupid to make a backup before hand.... Anyways I don't know if all of them are the same or not but I would really like to save doing a factory reset if possible. Thanks.
 
Seems to be display driver
Source:
http://m.blog.csdn.net/blog/robinyeung/12450607

Kinda what I thought
Yo bro, i got this error when building and idk what to do.

make: *** No rule to make target '/home/epicboy/cm/out/target/product/afyonltetmo/obj/SHARED_LIBRARIES/libqdutils_intermediates/export_includes', needed by '/home/epicboy/cm/out/target/product/afyonltetmo/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/import_includes'. Stop.

any ideas?
 
This is a little off topic but I figured I could trust you 2 on this thread. Can one of you send me your SecSettings.apk located in /system/priv-app? I messed around with some of the pngs in it and now I can't open the settings on my phone. I tried to put everything back but it didn't work and I was too stupid to make a backup before hand.... Anyways I don't know if all of them are the same or not but I would really like to save doing a factory reset if possible. Thanks.
I don't have the device. Sorry mate
 
Well with the boot.img with the grand 2 kernel right now booted me to download mode. Imma modify the boot.img most likely tomorrow after work because its 11:30pm and I gotta be up early t work as soon as I do it I'll post a dmesg.
Am I allowed to ask what exactly you did to get to this point? :) did you build the grand 2 rom from source? And what did you change in boot.img?
 
the device and vendor trees still need some fix-ups for the avant files. im on those at the moment. cause the grand 2 and avant have some small slight file differences.
Great stuff, thanks. I think I'll edit the OP and the name of the thread. Alright to link to your github pages? (we need to commit changes to the readme.md ;P)
 
what should i change this and this to?
# Boot animation
TARGET_SCREEN_HEIGHT := 1280
TARGET_SCREEN_WIDTH := 720

# Screen density
PRODUCT_AAPT_CONFIG := normal hdpi xhdpi
PRODUCT_AAPT_PREF_CONFIG := xhdpi
I believe the height is 768 and width 540.
 
what should i change this and this to?
# Boot animation
TARGET_SCREEN_HEIGHT := 1280
TARGET_SCREEN_WIDTH := 720

# Screen density
PRODUCT_AAPT_CONFIG := normal hdpi xhdpi
PRODUCT_AAPT_PREF_CONFIG := xhdpi

Should be this
TARGET_SCREEN_HEIGHT := 960
TARGET_SCREEN_WIDTH := 540

PRODUCT_AAPT_PREF_CONFIG := hdpi
 
Last edited:
Should be this
TARGET_SCREEN_HEIGHT := 960
TARGET_SCREEN_WIDTH := 540

PRODUCT_AAPT_PREF_CONFIG := hdpi
Are you trying to build for cm11 or cm12?

for a device you should have /device/samsung/codename/
and also /device/samsung/codename-common

you'll also need the kernel
/kernel/samsung/codename/

then the proprietary vendor
vendor/samsung

It looks like you guys can root and install twrp?

can you guys build a test kernel for kitkat and flash that through twrp?

what are the repos you guys are using for the device, device-common, propietary verndor, and kernel?
 
Are you trying to build for cm11 or cm12?

for a device you should have /device/samsung/codename/
and also /device/samsung/codename-common

you'll also need the kernel
/kernel/samsung/codename/

then the proprietary vendor
vendor/samsung

It looks like you guys can root and install twrp?

can you guys build a test kernel for kitkat and flash that through twrp?

what are the repos you guys are using for the device, device-common, propietary verndor, and kernel?
We're (you're, cause I'm a nobody) saved!

They can indeed root and TWRP is a thing.

Everything you see thus far is in the OP.

And guys - you have a PROPER developer here. I am a n00b who got nothing. Let me know if I can change the OP (I'll still be around, but now I'm about as useless as a bucket of spoiled milk), or whatnot. :)
 
We're (you're, cause I'm a nobody) saved!

They can indeed root and TWRP is a thing.

Everything you see thus far is in the OP.

And guys - you have a PROPER developer here. I am a n00b who got nothing. Let me know if I can change the OP (I'll still be around, but now I'm about as useless as a bucket of spoiled milk), or whatnot. :)
Nah, this is your baby. I'll try and help the best I can.
 
Nah, this is your baby. I'll try and help the best I can.
But... But I've not yet given birth to a child before!!!!! (no really, I am such a newb... I'm always trying to learn though)... Anyways, are these files I need to grab you from the source?
 
But... But I've not yet given birth to a child before!!!!! (no really, I am such a newb... I'm always trying to learn though)... Anyways, are these files I need to grab you from the source?
Are all your files for kitkat? Is that what you guys have been working on?
 
Back
Top Bottom