yashsingh1/xdaforums huggingface dataset:
[Verizon LG G2] AndroJak:
I have lost about 30% or more of my battery life since I got this phone a year ago. When it was new, 4 to 4.5 sot was pretty common. Now 2.5 to 3. I know 4.4 had some negative impact on my battery.
[Mi 3 Android Development] audahadi:
[IMG="aospa banner image"]https://lh3.googleusercontent.com/-MdPBgyNpjqE/UxQS5O9TTJI/AAAAAAAAQtw/ME4RLwmQKrE/w958-h608-no/PIE+-+03032014+PNG.png[/IMG]

Paranoid Android is a custom rom focused on open devices.

We aim to not simply add to Android but extend it, utilizing the same design philosophies Google uses with AOSP (Android Open Source Project).

AOSPA General Changelog​

Quote:

#include
/*
* Your warranty is now not 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 Instruction

New Install

Be on a KitKat ROM before flashing

You must have a custom recovery installed that allows SELinux.

Download the Xiaomi Mi3 build .

Download the gapps

Disable True Dual Boot

Fully wipe is highly recommended.

Install AOSPA on System 1

Wipe Dalvik and Cache

Reboot

Updating

Download rom and install

Reboot

AOSPA Cancro Download Link

Useful Link

AOSPA Official Page

AOSPA Legacy Google+ Community

MIUI Forum Community

Credits

varun.chitre15, qiwu, linuxxxx, Shahan_mik3,MI3 Cancro Devs, AOSPA Devs, Cyanogenmod Devs, Omni Dev, Community
[Mi 3 Android Development] volcano619:
Nice one..

Sent from my MI 3W
[Mi 3 Android Development] sivabommakanti:
Waiting for it. Finally!! Thanks man.
[Mi 3 Android Development] audahadi:
Any problem with installing rom? Got pm someone mention it.
[Mi 3 Android Development] Shahan_mik3:
Chkout the miui thread for ur rom :)

http://en.miui.com/thread-42417-1-1.html
[Mi 3 Android Development] audahadi:
Not my rom..AOSPA..[emoji13]..Just mirror download link if you want too... Just for reminder..mostly I'm on xda..so won't check issue there much.
[Mi 3 Android Development] Shahan_mik3:
Yes the thread is yet to be modified did it in a hurry.. Will give credits after u updated the thread.

Also I will remove the download link as more ppl will visit the thread to download ur ROM :)

We will do our best to resolve it or they will be redirected here :)
[Mi 3 Android Development] jhearrtot:
can't install

hey OP,

thanks for the efforts for getting PA to our Mi3

Unfortunately, when i download the zip file and move it to my phone, i'm getting an error "This device has either stopped responding or has been disconnected"

It happens only on your zip, when transferring to the sd card. Any other file can be transferred without issues.

I also noticed that in the file's properties, it is set to block (as it apparently came from another source), and there's an unblock button available for you to click on.

Did that and the same thing happened.

However, changing the file ext from zip to .txt allows me to transfer the file easily to my phone. I changed it back to .zip, rebooted to recovery and flashed the rom but failed - I didn't get the error but it somehow refers to the file as corrupted or non-supported.

Any help will be greatly appreciated! We're talking about PA here - AOSPA so I'm very excited about it! :D
[Mi 3 Android Development] audahadi:
Sorry for corrupt zip. This is new build.

https://docs.google.com/file/d/0B3JXRJM_jo8LQ1BzLXdCb3JBM1k/edit?usp=docslist_api

*fix auto brightness

*add notification led
[Mi 3 Android Development] Shahan_mik3:
Also your ROM is in wrong section :)

It should be in android development but is in general.
[Mi 3 Android Development] audahadi:
Mod edit until I revamp my OP (this weekend-busy days). Will do proper with all guide and credits.
[Mi 3 Android Development] Shahan_mik3:
You can just copy paste from miui thread and edit credit part.

For now then properly edit it later :p
[Mi 3 Android Development] FcukBloat:
thanks for this, i had problems too with previous zip. will try asap.

what do you mean with auto brightness fixed? i mean, it doesn't even work in cm...?!

thanks!!
[Mi 3 Android Development] Shahan_mik3:
Also Dynamic statusbar is not available. can you please confirm if its available in the build???
[Mi 3 Android Development] audahadi:
Don't try cm yet...but my previous build can't enable auto brightness..

Missing config.

Dynamic status bar and new recent not available in unofficial build. Need to wait for PA release source and got merge in aospa-legacy source.
[Mi 3 Android Development] Shahan_mik3:
It is available for legacy devices dude....I tried it on my galaxy s2 2/9 build
[Mi 3 Android Development] i04055:
yup it is work with legacy device, but mi3 is not yet a PA legacy device....
[Mi 3 Android Development] Shahan_mik3:
I know...he told the sources are not merged for legacy device that's why I told.
[Mi 3 Android Development] audahadi:
Unofficial mean device that not officially supported by PA members. PA build internally for rom released. Not directly from their source. When features is stable, they will release source.
[Mi 3 Android Development] Hadi al-Haiqal:
Will try it by tomorrow and see.. Does it need to dirty flash to basement aosp stable build?..
[Mi 3 Android Development] audahadi:
Nope..clean flash
[Mi 3 Android Development] FcukBloat:
excuse me [MENTION=4898058]audahadi[/MENTION] but I'm lost now here..i thought this rom shared cm's base, which has all sensors working afaik. so why proximity sensor is not working now? did you re-write base from scratch maybe? or did you start using aosp "leak" as base someway? thanks ;)
[Mi 3 Android Development] audahadi:
Yes..share cm base. If you read a few pages back you will get a glimpses what sensor is missing.. Total we have 28 sensor..with previous build only 18 exist. Not re- write..but improve. Try & error. As I'm using this rom in daily basis..need to rid out bugs as many I can to lower my blood pressure. [emoji1]
[Mi 3 Android Development] Hadi al-Haiqal:
Alright.. Now testing your ROM.. But why is sot not the same as awake?.. Hurm..
[Mi 3 Android Development] audahadi:
Awake stats also take from cpu not in sleep mode. SOT only from...hrmmm...well SOT.
[Mi 3 Android Development] Hadi al-Haiqal:
Using apps to find it out.. Even no deep sleep..
[Mi 3 Android Development] Hadi al-Haiqal:
OK.. Now I have it.. Will try it for at least one day.. And give feedback.. Just now I open lucky patch and sudden soft reboot occur.. Apps fc once.. Also exposed..
[Mi 3 Android Development] feed3:
If you took the sensors from somewhere, i think it won't do good. I've tried playing that few days ago, taking from miui and compiled hammerhead blobs, symptoms almost the same; screen blank and reboot during calling. One easy way to test is trying to open cpu-z, it will reboot as it triggered the sensors when opening that app.

Yeah, it can make your blood pressure higher. :p My phone is the only phone i had and today is the second day trying to nailed it down in framework directory. Everytime i'm thinking i'm getting closer, BAM! it gave me reboot, after few long hours trying to replicate it some-more. Haha! Now at the fifth framework file.

If only there's a faster way to trigger that self reboot, it will be easier to test rather than wait phone to sleep, cover proximity, put in pocket etc.
[Mi 3 Android Development] feed3:
Able to get 27 sensors without breaking the dialer and proximity sensor working. Let me test till tomorrow the self reboot (my top priority now) and see what side effect of this dirty hack.

Started getting lost on what i have changed too, so many things, kernel repacked, libs replaced, vendor blobs replaced. Will dump my whole current installation and share with the OP soon.

View attachment 2955525

View attachment 2955526
[Mi 3 Android Development] wai10691:
Thanks for the effort devs
[Mi 3 Android Development] DroidBot:
Please provide feedback of 29-9 build. I want to flash it, but want some feedback, is it a daily driver??
[Mi 3 Android Development] feed3:
I'm giving up on that self reboot thingy. No self reboot in deep sleep mode, but once putting it into my pocket, it will reboot. Too many things to mod with so little time i can spend on it.

View attachment 2956339

Attached is the dump of my current system. Things i have touched;

https://www.dropbox.com/s/qd51rqrcmvsupb7/system.zip?dl=0

/vendor/lib -> libsensor_reg.so, libsensor_test.so, libsensor_user_cal.so, libsensor1.so and few additional files that didn't exist

/vendor/lib/hw -> sensors.msm8974.so, power.qcom.so

/system/bin -> sensorextd, sensors.qcom, sensorservice, thermal-engine, thermald and some files/folders that doesn't exist

/system/lib -> hw folder, libpower.so, libpowermanager.so, libsensorservice.so

/system/etc -> too many to list, some are firmware, permissions folders, thermald-8974.conf, thermal-engine-8974.conf, thermal-engine-perf.conf

/system/framework -> input.jar, android.policy.jar, framework2.jar, framework-res.apk, few in services.jar (i'm suspecting the culprit in services.jar -> com/android/server/power )

EGL files (including the bin files for egl and adreno) also changed, might be placebo but i felt snappier and smoother.

Files is not very cleaned. Some files (especially in lib, bin and vendor is unneeded files actually).

Will come and try help whatever i can again when have free time. For now, i don't have much time and this phone is my only phone.
[Mi 3 Android Development] hapticc:
You tried hard buddy but we need source before.....thanx anyways
[Mi 3 Android Development] feed3:
Can anyone have a look at framework.jar file? Specifically the os folder, then find the powermanager* files (including stub and proxy), not sure the exact path from source.

Latest miui nightly bricked my phone, so while waiting the downloads and flashing in fastboot, i looked at the files. It seems interesting in there for our self reboot issue.

Right now, I'm completely stuck with miui. Everything is gone from my storage. :banghead:
[Mi 3 Android Development] praveen7682:
pa beta 3 released..can we see a new build...I know we have issues but just curious...
[Mi 3 Android Development] audahadi:
Later...lots of test..my phone gone crazy... [emoji12] Maybe tomorrow @ day after tomorrow.

Note : Not much changes in PA source.
[Mi 3 Android Development] dnle71:
I am also waiting for the update. Can't wait to try this on my Mi4
[Mi 3 Android Development] dnle71:
Sorry, i'm just new here, why is it that TDB is not recommended?
[Mi 3 Android Development] error01671:
I got "com.android.systemui has stopped" in 09/16 build, any idea? I've been flash this rom for many times, it still shows this message.
[Mi 3 Android Development] audahadi:
To avoid issue

Clean install?

PS : New build is up
[Mi 3 Android Development] hwanhee:
nice one ... i want try this any bugs issue? in this version
[Mi 3 Android Development] cosmicsatish:
[MENTION=4898058]audahadi[/MENTION] does this build has dynamic status bar option??
[Mi 3 Android Development] rsimas:
I have always reboots in deep sleep
[Mi 3 Android Development] ferreinf:
Look at op

Nop

Yah same here, and also some weird touch issues..

But it's getting there no proximity issues

Enviado do meu MI 3W
[Mi 3 Android Development] dnle71:
Phone layout changed, the way to fix it is to delete ro.sf.lcd_density line in build.prop
[Mi 3 Android Development] audahadi:
Like it small...[emoji12] Just change to what ever suit best before flashing.. Default 480...
[Mi 3 Android Development] error01671:
Of course!!
[Mi 3 Android Development] audahadi:
Logcat? @ try installing only rom without any other zip. Don't have that at my end.
[Mi 3 Android Development] krispuniq:
You mean to say the new build is not having any random reboot yet?

I'm getting tempted to try it...
[Mi 3 Android Development] audahadi:
Still have but not as often as before.
[Mi 3 Android Development] Hadi al-Haiqal:
Just clean install.. Wipe data, cache, format system 1 and wipe dalvik cache.. Working fine only..
[Mi 3 Android Development] dnle71:
Please change it back to its default.
[Mi 3 Android Development] wai10691:
You can simple change it to the value in build.prop you desire by using root explorer.

I believe the OP have the right to set his desire value of dpi to the ROM.
[Mi 3 Android Development] dnle71:
Ofc, that's why im asking politely.
[Mi 3 Android Development] error01671:
Now I returned to MIUI and flash again, it works fine.
[Mi 3 Android Development] Ivyn87:
With this new build I don't have one reboot after first day on my Mi4... but the battery drain it's so big...

I freeze with titanium the NFC process, but it still there and active :(

Here the battery stat, as you can see in 12h no one reboot :D
[Mi 3 Android Development] audahadi:
Use betterbatterystats to see which one the culprit. Usually in partial wakelock.
[Mi 3 Android Development] praveen7682:
I flashed this ROM yesterday night and the ROM is really good...noted fc,camera,telephony,music everything works just fine...initially I had weird touch issues but after couple of reboot I did it was ok...I haven't seen any random reboot but need to wait and since I haven't put my mobile in my pocket or covered the proximity sensor...I will post I had any reboot issue...
[Mi 3 Android Development] praveen7682:
This is my antutu score from beta 3...this ROM has just improved from build by build...I havent tried gaming yet...but I am confident that it should be awesome...keep up the good work...
[Mi 3 Android Development] borx28:
I can not find the rom in the link web downloads. Do I indicate where you can, please? Thank you!
[Mi 3 Android Development] praveen7682:
This is my battery graph with no random reboots...the lines that you see is becoz I had that touch issues so I rebooted...otherwise even after I kept my phone in my pocket both shirt as well as trousers no reboot...l will try and test more....
[Mi 3 Android Development] krispuniq:
Switch off wifi.. And then check for random reboots mate!!

Even the earlier version was quite stable when using wifi, but will trigger reboots otherwise..
[Mi 3 Android Development] bozarjoska:
When wifi on, no reboots?
[Mi 3 Android Development] praveen7682:
Yes it did that..I played NFS game without WiFi and no reboots...I never use WiFi for most of the day wen in office...but anyways I will test it today..we have seen reboots for people even 2 days...
[Mi 3 Android Development] feed3:
Still got reboots especially when phone goes to deep sleep in pocket.. I'm starting to have a doubts that the culprit is really in the framework.. Hope i can prove myself wrong by tomorrow..
[Mi 3 Android Development] praveen7682:
Yes it has reboots I accept it...but not as frequently...previously keeping in pocket and taking out the screen freeze and phone will auto reboot...but now that's not the case...I had just 2 reboots in 2 days which is great for me at least...is there a possibility to replace aosp framework with this ROM...I am not sure about this so pls ignore if my is dumb....
[Mi 3 Android Development] hapticc:
Nope not possible as framework is responsible for lots of features. With AOSP framework device will give frequent force close and many features wont work
[Mi 3 Android Development] praveen7682:
AOSPA Beta 4 is out..so we can see a new build soon....????
[Mi 3 Android Development] raj.parekh07:
So with captivate keep alive

We don't get reboot right?
[Mi 3 Android Development] stratosk21:
That seems to be the fix for now.
[Mi 3 Android Development] Ivyn87:
Dynamic status bar work this time?!

Thanks so much to [MENTION=4898058]audahadi[/MENTION]
[Mi 3 Android Development] sivabommakanti:
Audahadi replied that we wont get some AOSPA trademark features like Android L style card recents & DSBs untill sources are released ^& merged with AOSPA sources.
[Mi 3 Android Development] hapticc:
Sources incoming very soon do not worry as Chinese Community is also going to actively create ROM I will bring all info once sources are released in next couple of weeks
[Mi 3 Android Development] FcukBloat:
how you know sources will be released in the next couple of weeks? just curious
[Mi 3 Android Development] hapticc:
Xiaomi Mi3 and Mi4 Kernel Source coming in next few weeks This is the source of info my friend :)
[Mi 3 Android Development] FcukBloat:
thanks, but it seems to me that article is based on pretty old info/videos from youtube (dated 27th of august..) so it doesn't really mean anything new from what we already knew I guess.. isn't it? after all hugo barra said "few weeks" months ago already....
[Mi 3 Android Development] sergiob8:
What does Hugo understand for "a few weeks"? Those comments were from a month ago (4 weeks) and we are still waiting. My guess... december at least
[Mi 3 Android Development] ronysingh:
Keep It up

Atleast u r Trying..!!
[Mi 3 Android Development] feed3:
31 Dec, 11.55pm for sure..
[Mi 3 Android Development] audahadi:
Note : I'm using AICP for daily use now.. Still will build and test for PA.. Tinted status bar sooo nice... :D ...can't resist.
[Mi 3 Android Development] ferreinf:
Which one? Have u build it from source, issues rr reboots? Maybe u can share it :)

Enviado do meu MI 3W
[Mi 3 Android Development] praveen7682:
Which aicp build are you using?I had issues with latest build with dialler,camera,gallery when I tested...
[Mi 3 Android Development] audahadi:
Own built. Still have reboot occasionally. What issue with those? Only serious bug encounter with theme. Not looking into that yet. I remove kernel tweaker and add performance control from omni. Will upload later.
[Mi 3 Android Development] praveen7682:
Thanks Bro..can you please look into to beta 4 when you get time...
[Mi 3 Android Development] Ivyn87:
Beta4 it's already online.. you can find here http://xdaforums.com/mi-4/developme...d-4-6-beta1-13-09-t2879023/page2#post55956059 always from audahadi
[Mi 3 Android Development] audahadi:
Already did...just don't announce..[emoji12]

Edit : AICP link

Don't mind the untrusted zip..just flash..
[Mi 3 Android Development] DroidBot:
Hey thanks for the link.

Please give feedback about this rom.

random reboots still present?

sorry for Off topic.
[Mi 3 Android Development] praveen7682:
There are random reboots but very minimal...
[Mi 3 Android Development] reneftw:
The answer is written like 5 posts before yours. Seriously dude, why don't you read a little before posting?
[Mi 3 Android Development] dnle71:
Again, please do change to dpi back. :crying:
[Mi 3 Android Development] FcukBloat:
just change it to what ever you prefer in build.prop!!!
[Mi 3 Android Development] ronysingh:
Unfortunately the process phone.android.com Has stopped

Really want this beautiful rom working on my device..!!

I Clean Flashed p.a beta 4..!!

Tried flashing couple of times but still getting this error..!!
[Mi 3 Android Development] cosmicsatish:
Installed it right now and no such error message.
[Mi 3 Android Development] audahadi:
both aospa and aicp updated.

Changelog for device

* who like to run can count their step now

* not sure about reboot..:p

AOSPA

AICP

Note : AOSPA untested, please report any issue.
[Mi 3 Android Development] praveen7682:
No such error for me...absolutely rock solid ROM..never had issues with aospa...
[Mi 3 Android Development] Hadi al-Haiqal:
No boot.img i flash PA Beta 2 first..

---------- Post added at 10:01 AM ---------- Previous post was at 09:51 AM ----------

Hurm.. androidfilehost.com.. Any mirror?.. Wifi block that website.. Need googledrive.. Or someone to mirror it..
[Mi 3 Android Development] audahadi:
That from quikboot app..added in last 2 build from OPO. You can find that option in development. My suspect because of ril process. So report with latest build really appreciate. So far still no reboot on AICP. Before lot of reboot when having calls.
[Mi 3 Android Development] Hadi al-Haiqal:
Audahadi, I found out that AiCP awake not the same as screen on time.. Do I need to use greenify?.. Cause PA ROM has same awake and SOT..
[Mi 3 Android Development] praveen7682:
For AOSPA latest build can I flash it over the existing build or need to do a clean install...
[Mi 3 Android Development] gau20:
Blank Imei

Problem with the latest aospa build

Imei Number is Blank
[Mi 3 Android Development] feed3:
I got baseband unknown in latest build. Something changed in kernel?

And no deep sleep even in airplane mode (because baseband unknown, cant get signal). So, no deep sleep = no reboot (SoD).
[Mi 3 Android Development] audahadi:
No change in kernel..just in vendor blob.. Got signal here. Will check later when got home. Outstation. Try aicp if got same problem.
[Mi 3 Android Development] Ivyn87:
The same here
[Mi 3 Android Development] feed3:
I took the vendor blobs from previous build and now it is ok.. No more unknown baseband. Can confirm it is the vendor blobs causing it in my case.

View attachment 2973022

EDIT: Seems like sensors also broken for me in recent build. Going back to previous build for now..
[Mi 3 Android Development] feed3:
Wait, i think I'm wrong. Sorry.

Latest build + previous kernel: working baseband.

View attachment 2973115

But with broken sensors. And still rebooting in my pocket.

View attachment 2973116

Latest build clean flash: no baseband and broken sensors.

Latest build + previous vendor folder: no baseband + broken sensors.
[Mi 3 Android Development] krispuniq:
Looks like you are using AICP latest build for almost a day.. any reboots? I tried the CM11 posted on moonlight roms and i could not stand it for more than half a day with the reboots !!

If AICP is even marginally better in reboots, i will try it out now
[Mi 3 Android Development] audahadi:
Become clearer now..notice now where the derp.

Still...but less....not very frequent. Give a go and test tinted status bar (@ dynamic status bar)..if reboot can take you away. Still not bugfree but it sufficient for my daily use.
[Mi 3 Android Development] Hadi al-Haiqal:
Ouh.. So by using tinted statusbar module in xposed prevent random reboot?.. Or the latest build has that function?..
[Mi 3 Android Development] audahadi:
Only on AICP..build in the rom. Great work from yanuarhenry (omnirom)..merge by LC.
[Mi 3 Android Development] wishe:
Sim card doesn't read

From my experience, the latest build doesn't read my sim card. @@
[Mi 3 Android Development] praveen7682:
[MENTION=4898058]audahadi[/MENTION] bro I just flashed aicp and I would say it's awesome..especially the tinted status bar..no fc and everything working fine except for theme engine..after I choose a theme the system reboots and there com.process stopped but the theme is applied successfully.. No fc after that..
[Mi 3 Android Development] feed3:
[MENTION=4898058]audahadi[/MENTION] as per my previous post on the sensors thingy, can you use the attached file to fix the sensors? To be put in /system/etc... The 3 vendor blobs as well. Then we get 27 sensors. My repo is a big mess after so many testing,no time to clean up and so so so lazy now, cant make pull request, sorry.

View attachment 2974133

View attachment 2974130
[Mi 3 Android Development] audahadi:
Already 27 sensors up and running now on aicp.. Wrongly merge between branch. Maybe tomorrow will upload fix'ed build.
[Mi 3 Android Development] vishal1404:
Aicp ROM is insane man.....so many features packed in that ROM.....!!!!
[Mi 3 Android Development] praveen7682:
Do you mean no reboots?That would be awesome...I am already running the latest AICP build and no reboots since yesterday night...just one issue is with Theme manager..otherwise this is awesome...
[Mi 3 Android Development] ZenR2:
last few post seems so tempting :P

seriously no reboots

one reboot a day can also be digested,if it gets limited to just one :P

hows the battery life and overall performance,should i wait for tomorrows build,or should i download the build available right now :P