[Q] Qualcomm Encryption - OnePlus X Q&A, Help & Troubleshooting

Hello
According to this post https://plus.google.com/+DeesTroy/posts/2duMgmYjpLW there are different encryption implementations for android that post is especially talking about the OnePlus One but since it has the same SOC as the OnePlus X. Also does someone know what implementation Oxygen OS is using?
Thanks for your help.

Related

[Q] How to find an Architectural similar mobile device for CM ports

Hi,
I have been planning to port cyanogenmod for Micromax A121 Elanza. As of date, there is no custom rom for this model. So, I decided to build my own cyanogenmod for this model via the guides given in How To Port CyanogenMod (wiki.cyanogenmod.org/w/Doc:_porting_intro) . In this page, it is given "architecturally similar to other devices that are already on the market and have existing CM ports. If you find an "ancestor" or "sibling" of your device, much of the work may already be done for you!".
My question is 'How to find an architectural similar model for the aforementioned mobile model?' What components (processor, screen size, pixels, RAM, Memory) matters for architectural similarity? Please help me to get a mobile model which is similar to A121 and having CM port.
Thanks in advance...
Most important is the device's chipset and vendor.
It seems that the A121 is based on a Snapdragon 200 msm8212 SoC. So it would be optimal if you could find another micromax device using the msm8212.
You could for example look at the Wikipedia page for Snapdragon processors.
Sent from my AOSPA One m8 using XDA Free mobile app
Hi Uroc327,
I am planning to port CM rom of Moto G to Micromax A121, as both have almost same chipset configuration and screen size, except the vendor (Motorola-Micromax). Is it possible to port Moto G's CM rom to Micromax A121?
It should be definitely possible. Just depends on the invested time
Basically as the Moto G has the same SoC you can reuse most of the HAL stuff (hardware/ directory). But you will still need to handle vendor and device specific stuff like the kernel, prebuilt binaries or some config files for example.
But seems doable to me
Edit: looks like I looked up a wrong chipset for your device.. According to the screenshot you took you have a Snapdragon 400 msm8226 chipset.
Sent from my AOSPA One m8 using XDA Free mobile app
Uroc327 said:
It should be definitely possible. Just depends on the invested time
Basically as the Moto G has the same SoC you can reuse most of the HAL stuff (hardware/ directory). But you will still need to handle vendor and device specific stuff like the kernel, prebuilt binaries or some config files for example.
But seems doable to me
Edit: looks like I looked up a wrong chipset for your device.. According to the screenshot you took you have a Snapdragon 400 msm8226 chipset.
Sent from my AOSPA One m8 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks for your immediate response, Uroc327.
Sorry, I have just swapped the configuration shots in the image. Actually, the one you previously mentioned is the correct (Snapdragon 200 chipset). Could you please elaborate on configuring kernel, prebuilt binaries for the targeted device(Micromax A121)? I have following components ready with me,
Stock ROM of Micromax A121
CyanogenMod 12 of Moto G
A system with Java,.net & Android SDK
Already I have ported these ROM(by just copying and replacing some files), but I am getting stuck at boot loop. Where I am doing wrong? What may be the root cause of boot loop?
Thanks in advance.
Looking at a CyanogenMod tree for the Moto E (which uses the Snapdragon 200) it seems like CyanogenMod sources contain lots of hardware handling code out of the box.
I doubt that the kernel for the moto g will work for a completely other device (other vendor and even other chipset). But I'm no expert in kernels so I can't provide real details here.
Actually Micromax has to provide the kernel source, if they've changed anything.
I'm also having some hard times figuring out, what I can build from source and what I need to copy from stock. Maybe there exists a tool somewhere to determine just that but I didn't find it yet (if it even exists).
Regarding your bootloop: do you know, id adb shows up? So how far does the system get before it reboots.
And what files did you replace?
Probably the ramdisk is somehow doing the wrong stuff. I could imagine that there may be some props, partitions or other device specific settings which were correct for the Moto G but are completely incorrect for your device.
Sent from my AOSPA One m8 using XDA Free mobile app
Can someone send me the link for stock ROM for micromax A12
---------- Post added at 07:06 AM ---------- Previous post was at 07:02 AM ----------
If u HV completed porting cyanogenmod for A121 ...plzz let me know..

Xperia M5 got 6.0!

Sadly Xperia m5 got marshmallow and we didn't!
Is there any way to use that to build a rom for redmi note 2?
Useless for us.
Only the soc is same
Other chipset like wifi/bt and modem/rf is different
The camera and other sensors is also different
I extract the config from stock kernel then compile the kernel with hermes config and xperia m5 kernel source on xperia dev
The kernel can boot on miui and cm12.1 but wifi/bt , radio and a lot of sensors is not working because of different chipset i think
Sorry for my bad english
I wish at least someone tries to port Xperia m5 5.0 or 5.1 rom!
Idk why no one tries
mehdi554 said:
I wish at least someone tries to port Xperia m5 5.0 or 5.1 rom!
Idk why no one tries
Click to expand...
Click to collapse
But that "someone" could be you!
I tried but could not unpack M5 Kernel.
mehdi554 said:
I wish at least someone tries to port Xperia m5 5.0 or 5.1 rom!
Idk why no one tries
Click to expand...
Click to collapse
We don't have drivers sources. What if someone will port that rom? Everything will not work for example bluetooth, Wi-Fi, camera and much more. Developers hasn't any reason for do that.
Kernels must be decompiled -they are not compressed archives that can be unpacked. If there is no source code, kiss the idea goodbye.
There are too many hardware differences in the M5 to be even remotely useful. There is a LeTV phone that is far closer to ours (if not almost identical) and maybe one of the HTC models with 6795 SoC such as X9?
As pointed out by @bjsiu0617 It is the LCD screen and other add-on hardware that cause the problem - having the same SoC helps with most of the wifi, BT, modem etc. that is all part of the System on Chip.
Maybe a decent technical thread could be started to identify potential donor phones? It would have to break down each candidate into its component parts i.e. what model LCD, mag sensor, light sensor, cameras etc.
The sad part is that most of the candidates do not have Marshmallow and also have bastardized version of Android like MIUI and eMIUI etc.
just enjoy your xiaomi and your lollipop...
i've just sold my xiaomi device..
lol
---------- Post added at 08:33 AM ---------- Previous post was at 08:32 AM ----------
just enjoy your xiaomi and your lollipop...
i've just sold my xiaomi device..
lol
I didn't mean marshmallow. I saw in a tutorial that mediatek devices with same soc can port roms (same android version). And we have working 5.0 and 5.1 kernels.
This is it
http://forum.xda-developers.com/k3-note/development/guide-porting-64bit-mtk-roms-cross-t3310605
I think in this way we use xiaomi drivers. I said that because Xperia rom looks better than cm12.1 or aosp. And I thought it would be nice to have a 5.0 or 5.1 Xperia rom.
I'm confused. You created thread about Marshmallow for xperia m5 and now you only want Lollipop rom for our device because this port would look better.
Yes at first it was about marshmallow but I said no one even tried to port the 5.0 rom. I tried but couldn't unpack the kernel as it was in that tutorial.

A few questions

Hello I am Jimmy and I am starting on ROM development for mobile and PC. I have a few doubts regarding that.
1> Android-x86 Oreo is the latest build on their website, But roms like Bliss, they ported Pie on PC. How to do that? I mean how to get Android-x86 pie?
2> How much average time does it take to compile the source of Android(both x86 and arm64)? [Specs for consideration: Intel Core i7-8750H 2.2 Ghz 6 cores, 16 GB RAM, Ubuntu 18.04 ]
3> What IDE/Development softwares should I use for modifying the original source code that is? Android Studio? Netbeans? Notepad++? Or what??
And a question not regarding development:
I have a device lying around my drawer. My bro used to use it until he bought a new one. Its LAVA Z60 which is based on MTK MT6737 chipset. I researched but found out that there are very few MTK devices with custom roms. Is LAVA Z60 one of em? And if so, where to get the Device Tree, Vendor, Kernel etc.. for the device? Also, note that MTK Droid tools does identify the device, but I cant create scatter file cuz there is just one item on the list with location and every other thing as 0.
Soo.. yeah thats all. Please help me if you can. Thanks in advance.
Help

Asking for a 'light' / advice to more experienced devs (making AOSP + device to buy)

Hi, I'm in need of some advice about Android development/device to purchase,
Since the devs here are far more experienced than me I would ask some advice,
I started recently 'making' my own AOSP but I needed slow down after discovering I need to have the binaries(kind of: the drivers of the hardware?). So I spent my last 2 days searching about it and devices I could use
I came to the following understanding, I need the AOSP + kernel(as long as I have the kernel I don't need worry about the binaries from the vendor ? since the kernel takes care of it)
I'm thinking between a Moto C Plus or Xiaomi Redmi 6A, since I discovered there are currently ROM's and both have their TWRP. On the case of Xiaomi even the kernel is available. I also noticed the Xperia are good for development, but my problem is the budget I have available
Any piece of advice is welcome, thanks :good:
Try this
biscottoesse said:
Hi, I'm in need of some advice about Android development/device to purchase,
Since the devs here are far more experienced than me I would ask some advice,
I started recently 'making' my own AOSP but I needed slow down after discovering I need to have the binaries(kind of: the drivers of the hardware?). So I spent my last 2 days searching about it and devices I could use
I came to the following understanding, I need the AOSP + kernel(as long as I have the kernel I don't need worry about the binaries from the vendor ? since the kernel takes care of it)
I'm thinking between a Moto C Plus or Xiaomi Redmi 6A, since I discovered there are currently ROM's and both have their TWRP. On the case of Xiaomi even the kernel is available. I also noticed the Xperia are good for development, but my problem is the budget I have available
Any piece of advice is welcome, thanks :good:
Click to expand...
Click to collapse
Hi there,
The best phone that I recommend is the Moto phones as they are easier to port custom versions of android. However, since the Moto C Plus has a MediaTek Processor, I suggest you look for other versions of the Moto Series phones that has a Snapdragon Processors. For example like the Moto E 2nd Gen LTE version, though it has a 1gb ram, I've seen many developers developing their own custom ROM.
I played around with MediaTek Processors the one thing I really don't love about them is that they are not robust like other processors. I had a Lenovo S820 with a MediaTek processor, the one thing I find annoying is that the MediaTek Processors use SPFLASH Tool.
But hey it's your choice like, just make sure the phone that you choose is able to port your custom ROM easily and won't brick the device.
Thank You
KIBS2173
!!!!!!!!!!!! I AM NOT RESPONSIBLE IF YOUR DEVICE GOT BRICKED OR DAMAGED !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
KIBS2173 said:
Hi there,
The best phone that I recommend is the Moto phones as they are easier to port custom versions of android. However, since the Moto C Plus has a MediaTek Processor, I suggest you look for other versions of the Moto Series phones that has a Snapdragon Processors. For example like the Moto E 2nd Gen LTE version, though it has a 1gb ram, I've seen many developers developing their own custom ROM.
I played around with MediaTek Processors the one thing I really don't love about them is that they are not robust like other processors. I had a Lenovo S820 with a MediaTek processor, the one thing I find annoying is that the MediaTek Processors use SPFLASH Tool.
But hey it's your choice like, just make sure the phone that you choose is able to port your custom ROM easily and won't brick the device.
Thank You
KIBS2173
!!!!!!!!!!!! I AM NOT RESPONSIBLE IF YOUR DEVICE GOT BRICKED OR DAMAGED !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Click to expand...
Click to collapse
thanks for your share :good:

Question When will the Custom Roms be available for Nord 2?

Hello, So, I used to own a OnePlus 5t and I made the jump to Nord 2 because my 5t was not working.
Honestly, the stock rom is a complete disappointment. I can't use half of the apps without giving them permissions to location, contacts, phone, etc.
I mean why does camera need my location? The sad part is it won't work without it which is complete BS. Same goes for gestures and other features. like Why do these apps needs contact and phone access? I disabled most of the apps from adb and I am using Gcam for camera.
Sorry for the rant. Anyways, does anyone have any idea by when can we expect to have a custom rom for this phone?
There is some problem with kernel and oneplus just don't care about it. I think thats main problem right now. You can try GSI but there are some bugs.
USB make device panic on OnePlus Nord 2 5G OSS kernel · Issue #2 · OnePlusOSS/android_kernel_oneplus_mt6893
Hello, I noticied that USB were making kernel panic with the current source code released by OnePlus, it would be really usefull if that's fixed soon. Also, I request for MediaTek kernel modules an...
github.com
Until Oneplus don't release the full firmware it'll be difficult.
I've contacted the support though, and they say it will be published "soon"
Is this because its harder to make a custom rom for a mediatek soc? (or because mediatek wont release the firmware?)
8vasa8 said:
There is some problem with kernel and oneplus just don't care about it. I think thats main problem right now. You can try GSI but there are some bugs.
USB make device panic on OnePlus Nord 2 5G OSS kernel · Issue #2 · OnePlusOSS/android_kernel_oneplus_mt6893
Hello, I noticied that USB were making kernel panic with the current source code released by OnePlus, it would be really usefull if that's fixed soon. Also, I request for MediaTek kernel modules an...
github.com
Click to expand...
Click to collapse
Elixir Rom is there for OnePlus Nord 2

Categories

Resources