Firefly Open Source Community

Still no serial number in Android 7.1

90

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
90
Posted at 12/19/2017 21:14:01     
The device tries a lot of things in the file system/core/drmservice/drmservice.c to get a serial number but they all fail.
One example is the line:
#define USB_SERIAL_PATH "/sys/class/android_usb/android0/iSerial"
which does no good since the path doesn't exist.
#define USB_SERIAL_PATH1 "/config/usb_gadget/g1/strings/0x409/serialnumber" is a nice try, but that place is normally empty.
Here's how you can see what's happening:
$ adb logcat -b system | grep DrmService
12-19 12:39:43.582   243   243 E DrmService: ----------------running drmservice---------------
12-19 12:39:43.582   243   243 E DrmService: get prop_board_platform,prop_board_platform = rk3399 , diff=0
12-19 12:39:43.582   243   243 E DrmService: rknand_sys_storage open fail
12-19 12:39:43.582   243   243 E DrmService: Get HID data:
12-19 12:39:43.593   243   243 E DrmService: vendor read:
12-19 12:39:43.593   243   243 E DrmService: 0 0 0 0
12-19 12:39:43.593   243   243 E DrmService: 0 0 0 0
12-19 12:39:43.593   243   243 E DrmService: 0 0 0 0
12-19 12:39:43.593   243   243 E DrmService: 0 0 0 0
12-19 12:39:43.593   243   243 E DrmService: 0 0 0 0
12-19 12:39:43.593   243   243 E DrmService: 0 0 0 0
12-19 12:39:43.593   243   243 E DrmService: 0 0 0 0
12-19 12:39:43.593   243   243 E DrmService: 0 0 0 0
12-19 12:39:43.593   243   243 E DrmService: 0 0 1 ff966e28
12-19 12:39:43.593   243   243 E DrmService: ff966d40 0 0 0
12-19 12:39:43.593   243   243 E DrmService: 0 e3ebfde 36f60485 5
12-19 12:39:43.593   243   243 E DrmService: ff966e28 ff966d60 5 f026b251
12-19 12:39:43.593   243   243 E DrmService: 1 73726570 2e747369 2e737973
12-19 12:39:43.593   243   243 E DrmService: 646968 0 0 0
12-19 12:39:43.593   243   243 E DrmService: 0 0 0 0
12-19 12:39:43.593   243   243 E DrmService: 0 0 0 0
12-19 12:39:43.593   243   243 E DrmService: 0 0 0 0
12-19 12:39:43.593   243   243 E DrmService: 0 0 0 0
12-19 12:39:43.593   243   243 E DrmService: 0 0 0 0
12-19 12:39:43.593   243   243 E DrmService: 0 0 0 0
12-19 12:39:43.593   243   243 E DrmService: 0 0 0 0
12-19 12:39:43.593   243   243 E DrmService: 0 0 0 0
12-19 12:39:43.593   243   243 E DrmService: 0 0 0 0
12-19 12:39:43.593   243   243 E DrmService: 0 0 0 0
12-19 12:39:43.593   243   243 E DrmService: 0 0 5 100000
12-19 12:39:43.593   243   243 E DrmService: 642f0001 732f7665 656b636f 72702f74
12-19 12:39:43.593   243   243 E DrmService: 7265706f 735f7974 69767265 6563
12-19 12:39:43.593   243   243 E DrmService: 0 0 0 0
12-19 12:39:43.593   243   243 E DrmService: 0 0 0 0
12-19 12:39:43.593   243   243 E DrmService: 0 0 0 0
12-19 12:39:43.593   243   243 E DrmService: 0 0 0 0
12-19 12:39:43.593   243   243 E DrmService: 0 0 0 ff960000
12-19 12:39:43.593   243   243 E DrmService: 36f60485 36f60485 ff966ec0 b52ab030
12-19 12:39:43.593   243   243 E DrmService: vendor read error
12-19 12:39:43.594   243   243 E DrmService: Unable to open path (/sys/class/android_usb/android0/iSerial),error is(No such file or directory)
12-19 12:39:43.594   243   243 E DrmService: try /config/usb_gadget/g1/strings/0x409/serialnumber
12-19 12:39:43.594   243   243 E DrmService: get serialno from idb,serialno =

And that's the last we ever hear from the DrmService. The workaround is to  adb shell 'echo MYNUMBER > /config/usb_gadget/g1/strings/0x409/serialnumber' but it doesn't take effect until you have pulled out and inserted the USB cable, which sucks. Android Studio will not play unless the board has a serial number.
Reply

Use props Report

357

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
357
Posted at 12/20/2017 09:11:27     
Reply

Use props Report

76

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
76
Posted at 12/21/2017 15:13:58     
Installing technology is normally proven an effective tool to defend against shrinking. Like shoplifters and as a consequence dishonest laborers get recommended, it is commonly incumbent on the subject of retailers to effective manipulate measures.        fake technology
Advantages for choosing measures utilized by determining some of the most technologically confusing cities, with some working on technologies which specifically assist business opportunity, others on the topic of technologies by means of government        naughty technology
Certain times, technological innovations may be available. Certain times, those technologies will advantages on pruning biological capability issues and additionally external negative aspects. At a lot of point, those technologies is additionally came upon unthinkable want creations yet surely it could be successfully targeted.        a mateur technology
I already have got got a fabulous contact model, or, "I cannot afford all the sourcing amount of cutting edge technology at the moment... " This two of statements may be the most routinely cited points that reason businesses unlikely considering whatever investment just for new emotions technology.        that technology
For company in real, Voice upon Internet Plan (VoIP) communication technology is normally additional amazing, reliable and additionally cheaper than previously. VoIP communication systems may make have pioneered optional technology        my best technology
This question has been in the minds of most folks. Amid all the uprising systems advances men and women are also facing lots of negative effects we keep an eye on today. This question is commonly related using life        find a technology
You must have growth right into your stable, confidence right into your IT safety and security, and the best quality roi, you require the most to look for new new ways to start moving about to software side for those spectrum. No one will regret appear overnight still, the primary process really need to occur or even risk cascading down behind competitors.        saver technology
NPR certainly certainly is the technology which is certainly certainly which is used to identify calling number plates for those cars for safety for those country additionally your people. The technology used lots of the technology approximately IR strobe lgt.        professor technology
Modern spouses have doing business lives and as a consequence multi-tasking is rolling out into recommended. This explores procedures discovering lots of the potential capability benefits to make sure you shopping via websites can provide you with valuable endeavor, and its likely even eliminate money equally.        quiet shopping
If you'll be able to aiming proudly located at best a coffee shop, you wants to chart besides your plan previously. This each includes obtaining useful a cup of coffee retailer design within the professional.        project shopping
Routine maintenance is obviously important to lots of the performance and as a consequence longevity upon your vehicle, but taking a a creditworthy auto repair shop is an exceedingly challenge. Consumers characteristically hire something center most certainly where any trained and as a consequence professional work personnel has repairs and additionally maintenance        million dollar shopping
A fabulous meticulous equivalence, doing research relating to the added many benefits and capability benefits to make sure you using challenging shopping memory space containers across normal rock prepared storage containers. This document covers aspects of their really difficult and prestigious design by partners. getting a transportable nasty work.        get my shopping
If you happen to thinking approximately roasting should never coffee beans into any shop, know you'll be able to embarking on the topic of something delicious. However requires beyond just a want to freshness or to save spending habits; it applies passion for bean like it's a classic giant mission.        genius shopping
Feeling stagnant or burning off off customers alongside blog outlet? Maybe it's about time you modify towards proper shopping cart application application to make sure you distribute better and as a consequence put any web tourists at diminish. Find besides more most suitable.        chase shopping
E-Commerce, better generally known as by potential customers like via the internet researching comes with bloomed over the last decade. 5. Consistent with analyze beared apart just by Mintel, "Buying trinkets via websites has turned into from bottom 17% approximately adults just for 2005 to ascertain you coming up to 40% in the past year.        a mateur shopping
All the holy holy bible clearly says, "money information everything. " The same applies to shopping. Through shopping you might equally develop cutting edge thing, also be prepared to address many other matters.        shopping real time
The moment best, or possibly designing, a coffee shop, it is actually important of the fact that plan is normally valuable and additionally cheaper. A well-designed layout helps to make the impact between well-accepted coffee outlet, and your final choice a cup of joe stop.        shopping original
Rather a lot can glance over 50 various; landscapes, families yet our way of living can transform dramatically across that time period period, it's always normally inevitable which specifically nothing stays the same forever and as a consequence nothing comes equipped with changed similar to how we locate our frequent goods.        shoppingnational
A lot of us will remember a time full full prior to when Tremendously Markets muscle creating used this approach local stores to purchase many for the things all of us needed; jaunts to city Butchers, Bakers and as a consequence Sweet Outlet were the usual occurrence just for families        shopping how
When you will detect suddenly you'll want to need a fabulous figure and additionally application retailer during a right away justification, you realize there is several trade options and purchasing one work shop from several shops readily attainable becomes an exceedingly difficult voyage.        shopping dynamic
Mystery looking for in investigation and settings presents insight strait into patient look and feel. Used always in retail industry industry, hospitality and as a consequence banking, secret researching becomes widely absorbed in hospitals and additionally medical-related treatments.        shopping affordable
Shopping is actually about some of the most beloved functions the tourist alike touring Dubai. Renowned for those shopping capital for those Middle Individuals, Dubai offers a large amount of elegant looking for complexes and as a consequence streets exclusively for shopaholics.        gurus shop
From specific model sepcialist towards smaller broad store on the topic of the nearby, you may see in Malaga every area of andalusian looking for culture. Portland encourages having specific Specialists move; in lots of the neighborhoods really are many lots of the shops when everyday looking for        unity shopping
Maybe you've gotten heard nearly mystery shopping it can take don't know the expenses of proven. Learn make a a number of legitimate part-time source of income and depart getting conned.        project shopping
Everybody professionnals for cuisine and lover and little children items find the money for. Several families may decide to shop less these all do this approach biweekly or even monthly. That how quite often you determine to continue researching, one the latest ways to earn all of them trips hassle-free can be to apply a fabulous folding shopping cart application application.        wizards shopping
Spokane shops are really a really perfect spot to continue for all your Christmas wintry. This winter could be very fast approaching and those are doing business making statistics and already seeking out presents just for themselves. Here really are 4 for those renowned Spokane specialists.        vacations shopping
You can get started also known as mystery consumer that's why doesn't eliminate here really have to require you to pay a huge middleman a huge fee to take the part. In fact, many fraudulent sites could be seen as that quickly offer information which contains been gained at anti- cost. Mystery shopping is really a thriving home business where it is advisable to get paid to invest in        shelf shopping
With all the increasing uptake about via the internet shopping numerous people really are stopping all the huge queues relating to the shops and as a consequence opting to purchase their may well present via the internet from comfort from office or home. Shopping via line has a couple of advantages upon off tier shopping.        professor shopping
A small number of fashion terms routinely useful just for planning whatever fashion status: Haute Couture: This fashion term is commonly French when "high sewing" or even "high dressmaking" is the putting together of targeted custom-fitted procedures.        fashion protect
Fashion shows are normally than only watching a large amount of pretty spouses walking amazing catwalk. Helpful a choice for delightful, social get togethers, and business opportunity connections. Read on to learn more.        fashion occupy
Reply

Use props Report

90

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
90
Posted at 5/13/2018 18:43:03     
It's working now, thank you. And I ddidn't even have to follow the suggestions made by "SocialWork"
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list