A12 GSI working build - OnePlus Nord N10 5G Questions & Answers

Ok, so I have been experimenting and torturing this device for months now and I still love it. I have learned sooo much using this as my test bunny for all the cool custom ROMS and extra bells and whistles that it can possibly throw at it and in it. I owe it all to everyone that posts in this forum and XDA. I learned all this stuff from you,
and it has become a passion of mine now. I have experimented with other devices as well using knowledge and tools acquired here. And now here I am today.
This is my current set up:
Nord N10 5G T-mobile US Variant
I used MSM tools and some file manipulation to kill the T-mobile issue {evil grin} thanks to "some random username: and "Kronflux"
* =sorry fellas if I goofed up your nicks
I installed a stable working release of Android 12 running on a Pixel 5 GSI from ErfanGSI.Tools
I am rooted thru Magisk 23 using a *PE boot image and flashed patch thru Platform tools (the old school method)
I use Nova Prime Beta as a launcher
*does not pass safety net but can run and use most all mods work
It runs very smooth, however Chrome does *not work yet all other Google crap seems to be fine.
No 5g but LTE works. and there is a hardware error on bootup, but it doesn't flake out.
Battery life is terrific, and it doesn't get hot.
No camera app with this GSI but I have an app I prefer, and it performs perfect.
90hz refresh has to be forced in dev options.
No SD access from PC only access thru device
All the sudzie powers of Hell and Android 12 work perfectly.
Overall this build is great, and it's running Android 12!! A12 is not going to be awarded the chance to run officially on this device so it makes me happy to run it "our way"!
All software install and mods were performed using the newest Platform tools with ADB and fastboot. Also, I used the latest lineage recovery during the setup.
No TWRP, no sideloads. This is a GSI not a ROM.
Again, big thanks to you all for making these things available.
#XDA rocks!

Sorry I think I may have double posted this

Related

Good spec but lousy apps and Bluetooth.

I took a gamble buying a Chinese phone redmi-note 2 but sadly! it hasn't worked out for me.
All I wanted from it, was for it to do what it is supposed to do.
Bluetooth
Bluetooth doesn't connect to any of my devices, car, Hi-fi and not even my nexus 7!
Miui updater
Totally useless on my phone. This app crashes every time I select "choose update package"
I have looked for help on YouTube but the majority of videos seem to be Indian, using Indian versions of software where the updater app seems to work perfectly.
I managed to root my nexus 7 with ease but the redmi-note 2 is a nightmare.
I could really do with some of you android guru's to point me in the right direction! in finding a good beginners guide to finding all the apps and suitable rom for my phone, Or better still.! A way to get Bluetooth to work.
First of all check if your device has official rom or custom (if you bought it from China it probably has custom rom so flash official one).
Mine is working very good...
I second what ibeqa said - you're probably running a crapware-loaded ROM. Crashing updater is a good hint. You could also look into "about phone" section for the MIUI version, if it's something like 9.99.99 then it's crapware. "Legit" ROMs have version 7.xx.yy or 6.xx.yy. The crapware ROMs are IMHO the main reason why Xiaomi decided to lock the bootloader on RN3 and other newer phones. Because obviously, those ROMs give them bad reputation even though it's not their fault.
Bluetooth works fine for me, but sometimes it hangs up forcing me to restart it - not optimal but doesn't happen too often.
As for rooting, rooting the Nexus 7 (2012) was the same as RN2 for me - connect to PC in fastboot mode, flash recovery.img, reboot to recovery and flash a custom ROM. There are enough guides out there. For the RN2, fastboot can be accessed by starting the phone with the volume down key pressed.
Agree with the above. Please re-flash using official ROM via fastboot method and then try again. See http://en.miui.com/a-234.html
Android version 5.02 LRX22G
MIUI Version 66.77.33.00(LHMCNCH) Stable
Cpu octo core 2.2Ghz
Ram 2GB
I Have downloaded Update supersu 2.4 and miui HMNote2Global v7.2.2.0LHMMIDA_DA_d71ff21b81_5.0.zip are these correct please?
I installed CWM but have read that TWRP is the one I should be using! is that correct?
The trouble with the redmi 2 ,is there is too much conflicting information out there, making it very difficult for a newbie.
Is there any other things that I need to download?
This whole thing has really put me off the Xiaomi brand. I just expected bluetooth to work ! it is supposed to be standardised worldwide.
To you Guys it is probably fun to mess about with different roms, all I wanted was a working phone.
"MIUI Version 66.77.33.00" <- that's your problem right there. You reseller installed a crapware loaded ROM and has modified the version so that you never get an update (= he can spy on you forever), had you bought from another one, you would have gotten a working phone. I know mine did.
Putting blame on Xiaomi for this is misplaced, unless you want to blame them for being dev-friendly and leaving the bootloader unlocked. They reconsidered by now, though, their newer phones are locked.
In any case, yes TWRP is the way to go personally. CWM has cut important features like backup/restore (at least the version shipped with cyanogen roms I tried), so it's basically useless.
For the ROM, if you have downloaded it from the xiaomi page, then yes. You could also get the rom from xiaomi.eu if you want to use an European language.
If you just want official MIUI then you don't need to install custom recovery (use fastboot method instead as per official instructions). In fact the custom recovery will get removed next time you receive an OTA update.
Personally I use TWRP from this link http://en.miui.com/thread-224679-1-1.html because I wanted to install root. But only do this AFTER you install a clean ROM at the first place.
Crim Soukyuu said:
"MIUI Version 66.77.33.00" <- that's your problem right there. You reseller installed a crapware loaded ROM and has modified the version so that you never get an update (= he can spy on you forever), had you bought from another one, you would have gotten a working phone. I know mine did.
Putting blame on Xiaomi for this is misplaced, unless you want to blame them for being dev-friendly and leaving the bootloader unlocked. They reconsidered by now, though, their newer phones are locked.
In any case, yes TWRP is the way to go personally. CWM has cut important features like backup/restore (at least the version shipped with cyanogen roms I tried), so it's basically useless.
For the ROM, if you have downloaded it from the xiaomi page, then yes. You could also get the rom from xiaomi.eu if you want to use an European language.
Click to expand...
Click to collapse
I bought the phone from Gearbest.EU and expected it to be direct from Xiaomi, as I have never had a problem with this company before.
I have had another go at installing a new rom with the Mi suite and also with the miui flash tool and am not getting anywhere with it. I can't even root the damned thing as it boots into Mi when pressing vol up and start. This happened with CWM and TWRP.
I have said before,that I have little experience with android and perhaps I am going wrong somewhere! or the tutorial posters are using phones that have totally different roms to mine. ,It is very difficult when you have Indian,Chinese and global versions with many variations of each, the same seems to apply to CWM and TWRP.
Is there a way to install this via windows, ie formatting the phone and running an installer direct from pc?
I had a dabble with Linux mint and Artist in the past and found them quite user friendly, I can't believe that android is Linux based! I could have done a fresh install of windows, several times by now,the amount of time I have spent on this. Of course windows truly is global with only a couple of variations . Format disk, run and your away. Then hours installing software.
I am fast getting to the stage where I shall give it a bounce test, from a great height. :crying:

ROM development status

Hi there!
I am sorry if this thread has been spoken before, but as I've seen the N10 with significant price reductions (almost 50% here in Spain), I am considering it to switch to from a Xiaomi MiA1. I am very interested on ROM development for the N10, since I have been using Pixel Experience for the MiA1 for two years now.
Is there any news regarding ROM development for the N10? I suposse it will get stronger as months pass and it become avaliable worldwide...
Thans!!!
I would love to see a ROM for this phone as well. It's the only thing stopping me from buying one
i built LOS a few weeks ago but didn't flash it yet as i don't have much free time to fiddle around with my phone currently. I can say the build is successful and LOS recovery boots at least
EDIT: https://www.androidfilehost.com/?w=files&flid=322530
in adb shell run:
# setenforce off
to set SELinux permissive and then the recovery can mount /system.
I'm not recommending to try the LOS zip, don't know if it works ¯\_(ツ)_/¯ but it's based off 10.5.8 so ideally be on that firmware.
It clearly states "alpha" in the title so do it on your own risk and keep the MSMDownloadTool handy. A Backup of /persist and /modem partitions is always useful too
The linux kernel boot fine, can be tested with stock oxygenOS ,too . source here: https://github.com/akaessens/android_kernel_oneplus_sm6350
@andreas__ I tried flashing; wouldn't boot (would just return me to fastboot). The recovery did seem to work fine though. Had problems with the boot image and had to unbrick with MSM tool.
Just FYI - I do appreciate the effort to make the build though!

Question Anyone willing to try a GSI?

I wonder if we can get a GSI working! Anyone wanna try?
I'd love that. But I'm not seeing much love for many Moto phones. Mostly because those that get Moto are happy with what they get. And most devs don't bother with budget Moto.
Even with my limited time, I was considering to see if I could learn how to build port for a ROM. But without a recovery I thought it be best to flash stock, root and try to costumize it. Replace the apps I don't want with alternative. I already use Samsungs Internet in as Chrome replacement. Tho I do have a full set of browsers depending on what I'm gonna do.
That said, I did look into a TWRP.
Okay, so, our Moto G Play (2021) has same chip as the G10, E7 Plus and Lenovo K12 although with 1GB less RAM and half the storage. E7 Plus has no TWRP or ROMs yet, nor the G10, naturally, since it just released. The K12 however, supposedly have a working unofficial TWRP. But since I've only come across it on a handful of sites I have not experience with.
IS unofficialtwrp(dot)com legit? Cause there's a guide there for the Lenovo K12 that has the files for it. I mean, I have multiple devices that run with "unofficial" TWRP, but since I got them here, I always though it was some local dev that made it and share it. Never thought there was a website that was grouping them all. If it was here, I'd had no doubts. But here, the K12 hasn't even pop up.
I have consider trying it out. But flashing has because such a hassle with some phones not in the mood for trail and error 10 times. Between verity, stabs, vbmeta and where what flashes. My previous device was a V40 that not one single method worked for fully setting up the phone without breaking something. Had to mix and match like 3 guides. I don't know, maybe my device had issues. I'm grateful for 9008 + QFIL and its partition manager.
Thinking of first trying to replace my V40 battery. (Bloated so bad 3 sides are already separated of the back cover) And if all goes well star using the G Play as guinie pig.
I could try, if you could send the link
Omizuke said:
I'd love that. But I'm not seeing much love for many Moto phones. Mostly because those that get Moto are happy with what they get. And most devs don't bother with budget Moto.
Even with my limited time, I was considering to see if I could learn how to build port for a ROM. But without a recovery I thought it be best to flash stock, root and try to costumize it. Replace the apps I don't want with alternative. I already use Samsungs Internet in as Chrome replacement. Tho I do have a full set of browsers depending on what I'm gonna do.
That said, I did look into a TWRP.
Okay, so, our Moto G Play (2021) has same chip as the G10, E7 Plus and Lenovo K12 although with 1GB less RAM and half the storage. E7 Plus has no TWRP or ROMs yet, nor the G10, naturally, since it just released. The K12 however, supposedly have a working unofficial TWRP. But since I've only come across it on a handful of sites I have not experience with.
IS unofficialtwrp(dot)com legit? Cause there's a guide there for the Lenovo K12 that has the files for it. I mean, I have multiple devices that run with "unofficial" TWRP, but since I got them here, I always though it was some local dev that made it and share it. Never thought there was a website that was grouping them all. If it was here, I'd had no doubts. But here, the K12 hasn't even pop up.
I have consider trying it out. But flashing has because such a hassle with some phones not in the mood for trail and error 10 times. Between verity, stabs, vbmeta and where what flashes. My previous device was a V40 that not one single method worked for fully setting up the phone without breaking something. Had to mix and match like 3 guides. I don't know, maybe my device had issues. I'm grateful for 9008 + QFIL and its partition manager.
Thinking of first trying to replace my V40 battery. (Bloated so bad 3 sides are already separated of the back cover) And if all goes well star using the G Play as guinie pig.
Click to expand...
Click to collapse
I tried it booting wise and tried to backup booting itself worked perfectly but I wasn't able to properly test backup and restore because I didn't have enough storage...
I've been trying. I did see a thread about repacking due to storage space necessary for unlocking rw on the system partition. Whcih GSI were you able to boot?
stoag said:
I've been trying. I did see a thread about repacking due to storage space necessary for unlocking rw on the system partition. Whcih GSI were you able to boot?
Click to expand...
Click to collapse
Late and not OP, but I was able to get phhusson's ROM booted with gapps. The secure version does not work, I guess because it uses vndklite and I have not taken steps to unlock r/w.
Update: I got the secure version working! I Needed to flash vbmeta.img
I followed these instructions... https://forum.xda-developers.com/t/guide-phh-gsi-flash-aosp-12.4328891/

Question New in this World - Some Questions

Hey guys, I just bought my RN10 and am waiting for it to arrive. My plan is to turn it into a DeGoogled phone (Custom ROM + MicroG) to use as a daily driver.
As someone who has no experience doing such a thing, but who has been familiarizing oneself with the topic and keeping up with this thread for a bit; I have a few questions that I was hoping I could get some help with:
1.
Is the 168 Hour waiting time a guarantee, or are there some of you who didn't have to wait that long?
-----
I plan to root the device, to pass SafetyNet, get Aurora Services, get Bromite Webview, maybe install oandbackupx, etc...
2.
What is your experience with Aurora services and Bromite Webview?
Do these (+ magisk and microG) need reinstalling after updates?
What is your preferred backup solution? I plan to back up to an SD card.
-----
I will try out some ROMs at first to see what works best for me, before I settle on one. But I am not sure if I can just use my backups from say CrDroid in DotOS for example.
These are the ROMs I am leaning towards (in order of preference): DotOS, CrDroid, and LOS:
3.
What should I be aware regarding backups when trying these ROMs? Can I use backups in different ROMs? Does it apply to oandbackupx or just TWRP ones of data partition?
Would you say they are stable enough for daily driving? (I am aware there are some minor bugs like video recording - not a problem for me)
-----
I am aware that TWRP is in alpha for the RN10 bc of the A/B partitioning system, and that it will be a long time for a stable version to come out.
Once I set on a ROM, I will wait until a stable version is released before I do updates.
4.
What should I be aware of when using TWRP? (specially this alpha version)
-----
I use Ubuntu in my system, and I wonder what is the best approach to Unlock the Bootloader and install custom ROMs there.
5.
Is anyone in this thread also using Linux? What is your experience?
What do you guys think of XiaomiTool V2? Is it reliable?
Or would you guys recommend doing these procedures via fastboot and adb? (android-tools-fastboot & android-tools-adb)
1.
there is no way around 1 week waiting. if you are unlucky you might have to wait another week. this might happen when you didn't use the phone enough in this week period, or if you reset the mi account.
also, from this unlock faq: https://c.mi.com/thread-2262302-1-0.html
If you're facing "User Portrait Scores Too Low Or Black", please create or use a new Mi Account to unlock.
Click to expand...
Click to collapse
what that means can only be speculated. in worst case this means, if you cover your camera so it is black, or if you have low light conditions in your drawer where to phone lies, or at the moment you press the unlock button, you can't unlock your phone.
or if the front camera can't recognize a face with its AI, so the portrait score is too low, it also might not unlock your phone. or if internet is blocked so it can't send the data home.
imho, this is a privacy nightmare, but there are no details anyware and everybody just seems to accept this insanity.
2.
I don't use aurora services, but webview browser work very well and magisk+microG does work if you get it installed once (this can be tricky because you have to find the right versions and variations that work together). if you choose a ROM that allows signature spoofing it isn't so much trouble, otherwise it gets more tricky. The rest works pretty easy with latest Magisk and MinMicroG (other microG variants I had trouble with).
You always have to reflash: 1) custom 3rd party recovery (like twrp), 2) Kernel, 3) magisk if you flash another ROM. this is always the same on every custom ROM.
3.
nandroid backup and restore is messy with TWRP currently. best way is to do backup with oandbackupX as root and/or a nandroid /data backup without encryption pin. backing up system is useless. in case of restoration install fresh ROM, start it up once for setting up encryption of /data, then restore /data partition.
you can't move /data partition between ROMs, you have to backup your apps with oandbackupX or the like.
nandroid backups on ext. SDCard currently don't work. better make space on your internal memory.
4.
TWRP is currently buggy or features not working correctly. don't expect anything that worked before in non virtual A/B environments to work perfectly fine here. upgrading was always tricky due to A and B slot changes, but thats not all a problem of TWRP but of the ROMs too.
Just read the older posts in the threads of CrDroid and LineageOS and TWRP and you will learn a lot what works and what doesn't work.
5.
Just install a virtual PC with windows 10 and use everything related to Xiaomi software in there. (most things are windows only). you can bridge your usb connected phone to the virtual PC.
There is no need for XiaomiTool V2 if you are on custom ROMs. just use fastboot/adb commands as needed.
1.
I plan to cover the front camera and not register the fingerprint scanner until I get a custom ROM on it. So I will discover if that is the case or not and let you guys know here.
2.
What is the best way to install microg? magisk module or flashing it via TWRP? I am under the impression one can go both ways about it.
having to flash the kernel is news to me. is there any post in this sub that I can read more about it?
3.
Okay, I will stick with oanbackupX for the time being then, and read about nandroid.
And could you further clarify what you mean by SD cards not working? Is it only for backups or at all? Does that apply to oandbackupX?
4. thanks I will read those posts. hopefully a stable is out soon though.
5.
I have a notebook that I am not sure is capable enough of running a Win VM. So i would really prefer to do these things on my Ubuntu install if I can. Plus it would be a peace of mind knowing i have all it needs and I am not dependent on having Windows machines near me should I have an emergency with the phone.
Is there any issue with XiamiTool V2? Would it not work to do the things i am trying to do?
Thanks in advace for your reply, they are very clarifying in getting me started on this!
best of luck with unlocking. hope you won't need another week. remember both cameras are eligible for face recognition and brightness measurement.
the way of installing microG may be different for each variation, ROM and phone (remember virtual A/B devices, read-only system, etc.). best way is to read the official installation manual that the microG variant provides. on virtual A/B devices you flash almost everything in Magisk with magisk-modules so you get a systemless patched system. the only thing you flash in recovery, beside kernels and other recoveries maybe, is actually magisk.
about kernels, just read the threads about the two released kernels so far.
well, you might be lucky if you try running the xiaomi software using wine, but it might not work. blame Xiaomi for not releasing all the wanted tools for all OS's.
for unlocking keep in mind that you don't change your setup, keep the same virtual PC, tool, data, etc. in place and don't change anything, they collect also PC data (os, hardware, ip - keep IP the same on PC and phone while unlocking!) for the unlocking process (also a privacy nightmare).. if you want to mitigate that you have to build much more around it than just a virtual pc, though.
I didn't use Xiaomi Tool so I can't really answer that. I think the software is outdated and it's main purpose is to remove some but not all bloatware on non rooted stock rom devices. you can do everything without that tool.
keep in mind that these are unofficial tools and there are many of them, and there are many fake ones uploaded to sharehosters which might be infected with malware. it's hard to find the right sources (but check the official sticky posts in this forum for links) and if you get all these tools by googling around chances are high you get some modified versions with malware.
I'd recommend doing things manually and learning step-by-step how to do things.
Oh damn, I will definitely cover the back camera after I test it then. Thanks for the heads up.
regarding flashing the kernels, I understand it now. I thought I had to reflash the stock kernel every time. silly me
keep IP the same on PC and phone while unlocking!
Click to expand...
Click to collapse
Do you mean keep the phone connected to the same wifi as the PC during the waiting period? bc otherwise I don't think that is possible at all, given that one must turn off wifi and use carrier data to add the Mi account to device.
I am not sure I understand what you mean :\
And the main purpose of the tool is to unlock bootloaders, install custom ROMs, etc. But you are right, latest version is one year old and I would like to avoid it if I can. Also there are 'official' links to download it from the Github page or the tool website.
I'd recommend doing things manually and learning step-by-step how to do things.
Click to expand...
Click to collapse
I agree with you, I will likely do the bootloader unlock procedure on Windows and then install TWRP via fastboot/adb on my Ubuntu laptop, and move on from there. I believe it is possible to do that much on linux right?
regarding the IP, I have the suspicion that they (xiaomi) rate the IPs that you use and for some they might block the unlocking attempt. VPN, TOR and other proxies might be suspicious to them and they might block them (this is not necessarily true for all VPNs, TOR nodes, regions, etc., though). There should be no problem with your default ISPs IP address however, but you'll let your pants down using them.
First unlocking on your phone has to be with mobile data, but you could also use VPN,Tor,etc. there, thats why I'm saying it. Some people I've talked to went as far as buying burner sims just for the unlocking process because they are afraid of what china does with their data.
there should be no problem at all if you use normal mobile data for phone Mi account and your default ISP ip on the computer with the unlock tool. They just spy monitor your phone for that week (until you delete the crap) and if the score is good you are good to unlock the phone. nobody besides them knows exactly what they do but you get a clue when you read their Terms of Service. if your ip address varies geographically very much in this week it might also look suspicious, or if the ip-range is used for many different unlocks. all that obviously plays a role in the score at the end.
ok, I didn't use any other tool for unlocking the bootloader than the original and official xiaomi unlock tool. all the rest can be done without additional tools.
the only things you might need is actually MiFlash (to reset/reflash factory ROMs), MIFlash unlock for unlocking the bootloader, and the latest fastboot+adb versions for all the rest.
fastboot+adb requires the correct phone drivers to work on windows, it might be the same on linux. if they are also available for linux it should be ok. for fastboot try the official general android drivers provided by google, they might also be available for linux (or are already implemented)
I was planning on getting a burner for this. but given the covid restrictions in where I am at, it is gonna be a hassle.
I think Xiaomi does most of that because of the people who buy their phones from China, unlock them, put a custom rom and resell them. I think I should be in the clear though, I wanna get a custom rom working asap, so I wont try using tor and vpn and risk it.
I really don't plan on reflashing the stock rom ever again, unless I absolutely need to. I think i read that there are some cases where one must reflash the stock rom in between custom rom installs(?), but I hope that it is not the case for me. I only plan to try dotos and crdroid, maybe los.
and I would think there is a way to get the drivers for Linux, given that xiomitool v2 does get drivers from somewhere and its available on Linux. I gotta do some digging here though

My phone didn't receive the Android 11 update.

According to the people on reddit it is because I have debloated my phone. I also tried to install the Pixel Experience Plus custom rom at one point but it didn't work, I did reinstall the stock recovery an relocked the bootloader after that.
I did factory reset it and even flashed it with an ozip file still no update.
also found an ofp file for the Android 11 update but relme flash tool wouldn't work with it.
Is there any other way to manually update it or force it to update?
Thanks in advance.
Do you really want it?
I think it's a bloatware dud.
The "security" is not needed and comes at a stiff price as you will see if you load it.
Scoped storage sucks.
Rule #1, if your OS is running fast, stable and fulfilling its mission... let it be.
You do make a good point.
But if it is possible and I don't like it I can always reverse to Android 10.
At this point I just want to try it out and try the Pixel Experience rom.
If it isn't, well both my phone and I will survive.
thephone.geek said:
You do make a good point.
But if it is possible and I don't like it I can always reverse to Android 10.
At this point I just want to try it out and try the Pixel Experience rom.
If it isn't, well both my phone and I will survive.
Click to expand...
Click to collapse
You can go back... as long as it doesn't update the boot loader version too.
As a Samsung user I'm all too aware of that trick.
I would investigate what advantages R has over Q that would benefit you. Scoped storage isn't fully implemented on Q apparently and seems to run as well maybe better than Pie. In Q it's scoped storage in all it's blazing cpu cycle sucking glory.
Is there anyway to do it using adb?
I got Realme 7 Pro from Amazon Warehouse with somehow broken security - figerprint scanner didn't work and the phone didn't want update itself thru OTA, even with relocked bootloader and when connected via VPN to Germany, Italy etc. It actually updated to Android 11 C23 using OTA when I changed phone's region to Singapore using the service code. Then I was still able to go back to Android 10 using OZIP file (like described in this guide), or it was also possible to flash individual img files from fastboot using adb as described here. But OTA updates and fingerprint scanner were still broken until I sent the phone to Realme service and they reflashed it completely within warranty - after that fingerprint sensor works properly and I got OTA update to Android 11 C26 right after connecting to Germany over VPN.

Categories

Resources