yashsingh1/xdaforums huggingface dataset:
[Google Pixel XL Questions & Answers] droidian1441:
Hello all,

I just recently bought a Google Pixel XL with model number G-2PW2100-022-B. I've read online that this could be the Verizon version but could also be the unlocked version. Does anyone know for sure which model I have?

Next, I didn't know that inserting a Verizon SIM would lock down bootloaders and such. Is it possible to get the option to become available again, ever? Even with a non-verizon sim card? I also have T-Mobile service and sim card but inserting and activating it on the Pixel didn't open up the OEM unlock option.

I've wiped it numerous times (factory reset) and I cannot flash the factory images, so does anyone know if I have a chance of rooting this phone/unlocking it? Or should I just sell it and try again?

Thanks, Sam
[Moto G General] jajk:
I rebuild stock boot images for my own needs and have decided to share these for others who want to achieve a lean, mean Moto G stripped back to its basics.

Why? The perpetual struggle is get get later Android ROMs to perform on our memory starved Moto - battery life and app performance both suffer when trying to run these later ROMs without modification.

Currently, I am running LineageOS 14.1 so I will update as new weeklies/monthlies are released. These boot images are usable on most other ROMs based on Lineage 14.1.

Boot10.img is based on lineage-14.1-20180123-nightly-falcon-signed

Notes:

Backing up your existing boot image is not something I can do for you - the power is in your hands....

The boot image contains the stock kernel as released by LineageOS. This is not a custom kernel.

Using the custom boot image will prevent OTA upgrades

Every time a new boot image is flashed, root must be reapplied by whatever tools you use. Any root problems are all of your making, nothing to do with me.

No need to wipe caches after updating the boot image.

It is a requirement that you have completed one successful boot on the stock boot image before replacing it with a custom version

The boot image is flashable via TWRP (INSTALL-->IMAGE) or Fastboot. Don't ask for a flashable zip.

List of Mods:

Remove repeated lines from init files

Disable lines trying to run non-existent or legacy functions

Disable lines creating unused folders

Turn off logging and debugging services

Disable zram

VM tweaks:

write /proc/sys/vm/swappiness 0 #default 60

write /proc/sys/vm/oom_dump_tasks 0 #1 default

write /proc/sys/vm/stat_interval 5 #1 (sec) default

Add "GO" optimization (ro.config.low_ram=true) to default.prop

Set ro.debuggable=0 in default.prop (stops console service running unnecessarily on boot)

Disable some services - view init scripts to see line starting with ### that are disabled by me.

This is only the start of the process in shedding some weight out of the stock ROM.

I recommend editing /system/ build.prop and changing the line:

ro.build.type=userdebug

to

ro.build.type=user

this stops some extra services from running

Install a tool such as MyAndroidTools or SD Maid that can show running apps , disable receivers and freeze apps. It is imperative to take control over the myriad of hidden running services that you would otherwise be totally unaware of.

Replace apps that are memory hogs and ones that refuse to be silenced. Consider letting go of your addiction to Google Apps (the worst offenders)
[Moto G General] jajk:
This is what is achievable on a phone running without Gapps:
[Moto G General] jajk:
Redundant folders that can be deleted after installing the boot image:

/data/lineageos_updates

/data/local/dbvc

/data/local/atvc

/data/fota

/data/local/moodle

/data/tpapi

/data/bootchart

/data/misc/boottrace

/data/ota

/data/ota_package

Lean App substitutions:

Launcher: ADW Launcher 1.3.3.9 (later versions start bloating up)

Browser: Via Browser

Video and Audio Player: MXPlayer

Keyboard: Smart Keyboard

Calendar: ColorNote

Services started by the boot process:

Many services are started during the boot process by lines in the init files. To see what boot (init) services are loaded / running, type getprop in a terminal app.

The section of interest is as in the following example showing what is and isn't running when using the custom boot image. There are more if running a stock boot image.

[init.svc.adbd]: [stopped]
[init.svc.adsprpcd]: [running]
[init.svc.akmd8963]: [running]
[init.svc.audiod]: [running]
[init.svc.audioserver]: [running]
[init.svc.batt_health]: [running]
[init.svc.bootanim]: [stopped]
[init.svc.daemonsu]: [stopped]
[init.svc.drm]: [running]
[init.svc.gatekeeperd]: [running]
[init.svc.healthd]: [running]
[init.svc.installd]: [running]
[init.svc.irsc_util]: [stopped]
[init.svc.keystore]: [running]
[init.svc.lmkd]: [running]
[init.svc.media]: [running]
[init.svc.mediacodec]: [running]
[init.svc.mediadrm]: [running]
[init.svc.mediaextractor]: [running]
[init.svc.mpdecision]: [running]
[init.svc.netd]: [running]
[init.svc.netmgrd]: [running]
[init.svc.perfprofd]: [stopped]
[init.svc.qcamerasvr]: [running]
[init.svc.qmuxd]: [running]
[init.svc.qseecomd]: [running]
[init.svc.ril-daemon]: [running]
[init.svc.ril-daemon1]: [running]
[init.svc.rild1-wrapper]: [stopped]
[init.svc.rmt_storage]: [running]
[init.svc.servicemanager]: [running]
[init.svc.surfaceflinger]: [running]
[init.svc.thermal-engine]: [running]
[init.svc.time_daemon]: [running]
[init.svc.ueventd]: [running]
[init.svc.vold]: [running]
[init.svc.wcnss-service]: [running]
[init.svc.zygote]: [running]

Disabling broadcast receivers (autostarts) needs a very considered approach and will vary depending on the mix of apps installed and used. Disable the wrong ones and the phone may not boot so have a fresh backup ready just in case.
[Moto G General] jajk:
Update to v11:

It is incredible and fantastic that our msm8226 kernel is still getting some love - hats off to the devs that keep it alive and kicking. This does mean that you have to be careful in digging up old "kernels" that have not been rebased on the latest LOS sources.

There are kernel changes between this and v10. Look at CMX changelogs to see what has been changed. This may cause incompatibilities with ROMs that are based on older LOS versions as was also the case in v10 which updated the way the mag sensor operated so using older custom kernels broke the compass if applied to later LOS based ROMs.

Changes in v11:

All of v10 mods plus:

Rebased on lineage-14.1-20180130-nightly-falcon-signed

remove USB C related entries in init.usb.sys

disable restorecon /postinstall in init.rc

remove /res folder

disable creation of /data/misc/update_engine in init.rc (folder can now be safely deleted)

disable creation of /cache/trace in init.qcom.rc (folder can now be safely deleted)

disable creation of /data/misc/trace in init.rc (folder can now be safely deleted)
[Moto G General] tiagofalves:
Hi,

Great job on doing this...I am interested on doing something similar on huawei p8 lite, but my changes on boot.img would be so the phone boots up whenever the usb charger is plugged in.

I have been on the look for some tools to unpaack and repack the boot.img but i always end with a broken boot image. Can you guide me trhough a litle bit through the process?

Thanks in advance
[Moto G General] jajk:
[MENTION=8961044]tiagofalves[/MENTION] For moto G boot images I use ASSAYYED_KITCHEN. It is one of the few that don't break the image. I would also give AndroidMasterChef by Iceman a go.

For MTK devices I use other tools.

It is very easy to break the image regardless of the tools used - where do I start???? Don't modify things you know nothing about, only modify things where you know what you are doing - too easy;)
[Android Q&A, Help & Troubleshooting] jamesm80uk:
Hi,

I'm pretty interested in learning a bit about android, but for the moment i have this tablet that i have royally screwed up during my learning curve :) It's a PORTO 10.1 chinese tablet.

It would freeze up at the boot logo, but after some searchin, a forum member on the internet kindly sent me some .img files that he used to fix the same brand/model of tablet. They are flashed with the Rockchip tool. It's a RK3066 based tablet.

Prior to receiving the files i was trying other ROM's because it was becoming clear that there wasn't a full dump available for this tablet. None of them worked, and the tablet ended up being completely dead as a result. Being completely stupid once more, i formatted the tablet in the Rockchip tool, before realizing and learning that the ROMS don't come with .img files for partitions like userdata or cache etc? So any chances of recovery even if i did find a partial ROM, may have gone. Yes, i am an idiot :) Well you have to read a lot and make mistakes to learn, right? I've certainly learnt how to backup all of my partitions now in Rockchip tool since then!

Anyway the jist of it is, the tablet is 100%low level erased as far as i know. I've flashed the files that i was given from a guy on gsmforums, and the tablet turns on again, displays the manufacturer logo and then the android boot animation...but thats it. It gets stuck on the android logo animation.

The partitions i know have been flashed and should exist now are:

misc

boot

kernel

recovery

system

backup

The parameters of these partitions do match what they should be for this tablet. The one thing i did do before screwing the thing up was backup the parameter data. It's a shame i didn't backup anything else!

Obviously there are partitions i am missing, such as userdata, cache and maybe some more from what I've read. My main questions are these:

1. Will android hang like this at the logo if it cannot find/mount a userdata partition? or might i see a terminal/errors instead?

2. If i could get into Recovery (which i can't) does a factory reset just quick format the userdata partition, or would it obliterate it and recreate the partition over again and format it?

3. Are there any ways i may be able to recreate my missing partitions, assuming that it the reason why android is now stuck at the logo?

I did attempt to flash a copy of the cache and userdata partitions from another very similar tablet, but it didn't make any difference.

I know a little about what each partition is there for and what they do, i use a linux pc regularly although i am still working my way up from semi-newbie :)

Knowing how android should react to having no userdata/cache partitions might help me figure out what i need to do to fix this tablet? I am willing to read and learn if someone can tell me where to begin or give me some hints that might answer some of my questions.

Many thanks,

James.
[General Questions and Answers] Jayasaiprakash:
How to restrict access to safe mode .:confused:. Or remove the safe mode in android
[General Questions and Answers] AK_01:
Ya please anyone
[Honor 6X Questions & Answers] vignesh_may28:
Kindly provide me the honor splash screen zip file (The logo that appears when device is powered on ). BLN L22 Indian user here .

Thanks in advance
[Honor 6X Questions & Answers] RedSkull23:
Posted it already, here it is https://xdaforums.com/showpost.php?p=75307422&postcount=2
[Honor 6X Questions & Answers] vignesh_may28:
Thanks for the reply . Actually few days back I tried flashing a custom ROM and somehow the splash screen size got reduced .

* I tried the file that you provided earlier itself . Its just replacing boot animation (android ) . Boot splash screen remains same .
[Honor 6X Questions & Answers] RedSkull23:
You're right dude sorry, i got confused. Can't find it in root folders anyway, it could be included in oeminfo file... Try to give a look in this thread, part VII of the appendix https://xdaforums.com/honor-7/general/guide-beginners-how-to-root-update-fix-t3255452 maybe it could help.
[Honor 6X Questions & Answers] vignesh_may28:
I got this problem long back. Tried Flashing Elite v 7.1 again yesterday and now Boot splash screen came back to its original size. Thanks for your help.
[Honor 6X Questions & Answers] RedSkull23:
Nothing hard to do. Mark the thread as "solved" when you'll have some time to do that so :svetius:
[Honor 6X Questions & Answers] vignesh_may28:
Edit : Solved
[LeEco Le 1S Questions & Answers] ravit2839:
Aren't they oreo developers for this device:(?
[LeEco Le 1S Questions & Answers] Koushik.vns:
You can update your device with Oreo by custom recovery

Download LingaOS and install in your device
[LeEco Le 1S Questions & Answers] SuryashankarDas:
The Devs are working on it , but as of now none of the oreo ROMs have booted.
[Microsoft Lumia 950/950 XL] GentlePhone:
My other half uses a 950 and I use a 950xl, the 950 seems to have far less stability issues and a newer firmware revision...

would it be really stupid to flash rm-1104 firmware to rm-1085 device?

I don't think we've ever had to reboot the 950, at least if we have its so rare we don't remember but the xl is at least once a week I think now
[Microsoft Lumia 950/950 XL] dragon_76:
There's not a difference between the 950 and 950XL "firmware". It runs the same OS. I know this because I used a registry edit to make my Lumia 930 look like a 950 to get the latest Insider build and everything works as expected.

You are either experience placebo effect or your 950XL is having hardware problems. I have the latest Insider build on my 950XL and I don't have any issues.
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
DebloatedX V2 (MOD/SCRIPT)​

Warning: If you have V1 of my script already installed, it is necessary to flash stock ROM via Odin first and then flash this via TWRP.

Features:

Debloated 100%

S8 launcher

New S8 incallUI

S8 weather widget

E-mail bug fixed

Traditional icons (no S8)

FlashNotification to make front-facing camera LED to function as a notification LED!

Bugs:

The Home screen will always have 2 scrollable screens, can't delete one of them to make it just one

Home screen settings > home screen layout > "home screen only" crash.. force to close

Download V2​

DebloatX V2​

Screenshots:

(Attached below)
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
-reserved2-
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
-final reservation-
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] d_g_m_2000:
nice job OP... downloading and gonna testing the weekend...
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] d_g_m_2000:
hello, do i need to be root before step 2?
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
No, you root on step 3
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] d_g_m_2000:
Report No. 1

first of all... thank you for a great job. your

rom-mod-script

turn the device from a piece of sh*t to a usable smartphone these days...

camera, bluetooth, wifi, mtp, all work like a charm but i find some strange things with the software so far:

- i had a loop with the "samsung weather location" in the config menu (in the first boot, when we introduce our google account) it don't let me agree whit the terms. i had to disagree to enter to home screen.

- when i change the value on "app screen grid" (4x4 5x5 6x6) it does change it but don't show the icons... i need to reboot device to see the changes.

- i can't delete the second home screen. it don't show the garbage icon when i long-hold the side screen.

- "home screen settings > home screen layout > home screen only" crash.. force to close.

i know this are software bugs. but i'm just reporting it.

again... thanks for you work and for keeping this device alive.
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Thank you for reporting this so I can add this to the OP :)
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Deleted member 7964250:
Use the files of the XTreme rom truth, but it does not matter :)

I have a question, is it installed on the stock of the j2 prime or does a complete cleaning including system?
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
The script factory resets your phone, deteles bloatware, and then installs S8 icons and launcher. It is still stock settings, it just replaces a few things.
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Yes, it seems that location is set to "Device only". Weather location tries to change it to change it to "high accuracy" but it crashes the app. You need to change to "High accuracy" manually and then try to set up weather via the widget.

This is a known "bug" among ports of the S8 home app drawer ports. To avoid rebooting the device to see the effects, just keep swiping right and it should update itself

Unfortunately, I can't fix this at the moment, sorry :/

Yeah, it's an inherited problem thanks to the S8 drawer I put on this device :/

I found that the S8 icons break Samsung e-mail. On my V2 version I will remove S8 icons because Samsung e-mail is important to me :(

Until I get them to work together, I will not add them back
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] d_g_m_2000:
thanks for your work OP

thanks for the comments OP.

I don't wanna be rude or misunderstood but i edit your script and delete all the s8 part... i prefer the 100% the debloated rom + nova launcher (it looks more like stock android).

thanks for all your help and hope you can develop some custom rom in the near future.

i see you already had the knowledge and still waiting for the version 2 of this thead.

Cheers.
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
No problem :)

I'm glad you can edit to your liking, the ultimate goal to any developer is that the work shared here is useful to everyone no matter what :)
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ali110110:
Please Screenshots for V2

Please Screenshots for V2
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Done, I uploaded screenshots of V2 :)
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] d_g_m_2000:
Hello OP.

i have a question so maybe you can help me.

I edit your script and added some lines to delete in system and priv-app (samsung contacts, email, fbinstaller, etc.) but i end up somehow erasing the dialer app (my guess is that is connected to samsungcontacts app). Trying to find de apk of the dialer i found this thread ( https://xdaforums.com/android/apps-games/mod-google-pixel-contact-dialer-t3479715 ) and it works great to me... so my questions is:

If i want to add to your script the google dialer&contact apk, i just need to copy the respective files in the "priv-app" folder? substituting the "samsungInCallUI" folder?

thanks in advance for your comments.

-edit-

Also, i saw you have 2 files in the META-INF folder: 1.-updater-script and 2.-WORKING... wich one is the one? or it need the two file to debloat device?

thanks for your comments.
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
I'm almost sure you don't have to replace "SamsungInCallUI" as I think that's specific with the Samsung dialer, or so I would think.

I would go ahead and delete that folder

Yes, all you would need to do is copy the GoogleContacts and GoogleDialer folders in the priv-app folder

And as for the updater-script, you can ignore the one that says "WORKING"

When I was testing the script, I couldn't get the format /data function to work properly and it kept making some apps crash

The "WORKING" script was the first version of the script I got to work on this device. After that, I kept editing the script until I got it to work

So, "updater-script" formats /data correctly and "WORKING" just factory resets without formatting /data
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] d_g_m_2000:
:in Matthew McConaughey voice: alright alright alright:

thanks for the comments... i will try and delete "working" file.

by the way, do you think i'll f*ck up the device if i add the line "system/priv-app/SmartManager_v4" (device maintenance) to your debloat script?

sorry for all the questions.. its just that i like purging bloatware.

again...thanks for your comments.
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Well, I really can't tell for sure. I mean all that it really does is eliminate temporary files and close background apps. You can certainly try, but again, I always recommend a backup first ;)
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] :
Do I have to flash v1 first then v2 or i can flash v2 directely?
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
You can flash V2 directly.

V1 and V2 are almost the same thing, the only difference is:

V1: Has S8 icons and Bike Mode (but Samsung email is broken)

V2: Does not have S8 icons, only S8 launcher (Samsung email is fixed)
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ali110110:
you can flash v2 directely
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] apbucaneg:
this is great! will try it out soon :)

hey, can i make a suggestion? i don't know if it's possible, but it'd be great if it is. is it possible to make storage adoptable?
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
It's easy to do it with the app Root Essentials
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Cinox:
After so many attempts, I finally managed to install it, thank you very much :)

I'm from Brazil and I'm using Google Translator, so I'm sorry if my English is bad :(
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Surprise comming soon...
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] khawar.ali.diyal:
Any hints whats the surprise
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
People that have joined the J2 Prime Whatsapp and Telegram groups already know ;)
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] InSheGoes:
infinite BootLoop (stuck on samsung logo) after successfully flashing DebloatedX_j2prime_v2 , SU and verity PLEASE HELP! do i need to flash stock my firmware back AGAIN?
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
If you have infinite bootloop, yes. Next time, try to format DATA might fix your problem
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] khawar.ali.diyal:
Link for whatsaap group please
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ayoubadri:
New to the J2 series..

hi there im new to the j2 series i recently discovered that the sm-g532f is the ( galaxy j2 prime aka galaxy grand prime plus) it was so confusing at first :eek: .. i was searching in the wrong sections ..

im in the right section ?
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Yes, it's easier to just refer to it as the J2 Prime lol
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ayoubadri:
lol finally

okey now lets see.. i want to know if i can use only the s8 icons from your zip and will it work without the launcher?

and have you tried to use aroma to choose what to remove rather than deleting all and reinstalling it again?
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Haha well, yes the S8 icons would work without the s8 launcher, you just need to extract the csc folder and add it to the root of your folder.

And as for the Aroma installer, I was thinking of making one for THIS mod in particular, but I figured you can just use the one on my full ROM here: https://xdaforums.com/galaxy-j2/development/rom-xtreme-ultimate-beta-v3-xtreme-team-t3763904

It gives you the option to dirty flash (mods only), you can select to skip everything and just get to the debloated script and select what you want to delete. However, I sort of don't recommend deleting stuff without doing a factory reset after debloating since apps still leave leftovers on the /data partition.
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ayoubadri:
OKey thank you :D

i guess i only have to use the appresource folder?

well thank you again if you need anyhelp with the aroma i can help (littel rusty but i can get back to it :$) i use to make them back when i had the S3 (Glory days lool)

By The way the J2 threads are emty AF .. compared to the others..